Skip to content

Commit d314156

Browse files
Archcadyadbridge
authored andcommitted
Add RTL8195AM support for mbed client with IAR Move ticker related code to SRAM due to time drift sensitive
1 parent a5b6216 commit d314156

File tree

5 files changed

+193
-90
lines changed

5 files changed

+193
-90
lines changed

targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_GCC_ARM/rtl8195a.ld

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,16 @@ SECTIONS
7070
*rtl8195a_crypto.o (.text* .rodata*)
7171
*mbedtls*.o (.text* .rodata*)
7272
*libc.a: (.text* .rodata*)
73-
*Ticker.o (.text*)
74-
*Timeout.o (.text*)
75-
*TimerEvent.o (.text*)
76-
*mbed_ticker_api.o (.text*)
77-
*mbed_critical.o (.text*)
78-
79-
*us_ticker.o (.text*)
80-
*lib_peripheral_mbed_gcc.a: (.text*)
81-
73+
*Ticker.o (.text*)
74+
*Timeout.o (.text*)
75+
/* *rtx_timer.o (.text*)*/
76+
*TimerEvent.o (.text*)
77+
*mbed_ticker_api.o (.text*)
78+
*mbed_critical.o (.text*)
79+
*us_ticker.o (.text*)
80+
81+
*lib_peripheral_mbed_gcc.a: (.text*)
82+
8283
} > SRAM1
8384

8485
.text.sram2 :
@@ -203,7 +204,7 @@ SECTIONS
203204
__end__ = .;
204205
end = __end__;
205206
*(.heap*)
206-
. = ORIGIN(SRAM1) + LENGTH(SRAM1) - StackSize;
207+
. = ORIGIN(SRAM1) + LENGTH(SRAM1) - StackSize;
207208
__HeapLimit = .;
208209
} > SRAM1
209210

@@ -214,7 +215,7 @@ SECTIONS
214215
{
215216
__StackLimit = .;
216217
*(.stack)
217-
. += StackSize - (. - __StackLimit);
218+
. += StackSize - (. - __StackLimit);
218219
} > SRAM1
219220

220221
/* Set stack top to end of RAM, and stack limit move down by

0 commit comments

Comments
 (0)