summaryrefslogtreecommitdiff
path: root/bsp/apollo2/rtconfig.py
diff options
context:
space:
mode:
authorzyh <[email protected]>2018-09-02 11:21:03 +0800
committerzyh <[email protected]>2018-09-02 11:21:03 +0800
commit2bd06ea44805ab5c6f66c3255ae5472e1eb977ab (patch)
treea0fa2e21d45699a89bf903271f39d3c708296c63 /bsp/apollo2/rtconfig.py
parent5251ab737f77318ee8e8290d8a6c1789bad1d6ff (diff)
[Bsp][Apollo2]fix build error with gcc
Diffstat (limited to 'bsp/apollo2/rtconfig.py')
-rw-r--r--bsp/apollo2/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/apollo2/rtconfig.py b/bsp/apollo2/rtconfig.py
index 90adde5435..506ee78eca 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-apollo2.map,-cref,-u,Reset_Handler -T'
+ LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-apollo2.map,-cref,-u,am_reset_isr -T rtthread_link.ld'
CPATH = ''
LPATH = ''