summaryrefslogtreecommitdiff
path: root/bsp/apollo2/rtconfig.py
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-12-04 19:18:45 +0800
committerGitHub <[email protected]>2017-12-04 19:18:45 +0800
commit5efea8ddb6bb3ed06f693f076d3dd9bf1c1ac3fc (patch)
tree07f3a25bc80c41c07b08a81e074b670c45cc28f3 /bsp/apollo2/rtconfig.py
parentc17ddf1430ee9c7d6cd91bebda5fa887b38bc391 (diff)
parent2706bccbddafb6bbb019d301faebb9aa881af9f1 (diff)
Merge pull request #1074 from Haleyl/master
[BSP]Add more drivers and fix some problem
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'