summaryrefslogtreecommitdiff
path: root/bsp/apollo2/rtconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/apollo2/rtconfig.py')
-rw-r--r--bsp/apollo2/rtconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/apollo2/rtconfig.py b/bsp/apollo2/rtconfig.py
index 5e40e7201e..579c93b17b 100644
--- a/bsp/apollo2/rtconfig.py
+++ b/bsp/apollo2/rtconfig.py
@@ -43,7 +43,7 @@ if PLATFORM == 'gcc':
DEVICE = ' -mcpu=cortex-m4 -mthumb -ffunction-sections -fdata-sections'
CFLAGS = DEVICE
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
- LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-nrf52832.map,-cref,-u,Reset_Handler -T nrf52_xxaa.ld'
+ LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-apollo2.map,-cref,-u,Reset_Handler -T'
CPATH = ''
LPATH = ''
@@ -67,7 +67,7 @@ elif PLATFORM == 'armcc':
DEVICE = ' --device DARMSTM'
CFLAGS = DEVICE + ' --apcs=interwork'
AFLAGS = DEVICE
- LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-nrf52832.map --scatter rtthread-nrf52832.sct'
+ LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-apollo2.map --scatter rtthread-apollo2.sct'
CFLAGS += ' --c99'
CFLAGS += ' -I' + EXEC_PATH + '/ARM/RV31/INC'