summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-11-01 21:01:53 +0800
committerBernard Xiong <[email protected]>2017-11-01 21:01:53 +0800
commit62e8b843c82622a3027a28bc7baff919a26a0288 (patch)
tree6eb500f9f89e70b86cd4f697842305c6d2fa5678 /bsp
parent8f8827fab7ca92bb926a9976a0abf09bea0de13a (diff)
[BSP] add -nostartfiles in lpc2148 bsp
Diffstat (limited to 'bsp')
-rw-r--r--bsp/lpc2148/rtconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/lpc2148/rtconfig.py b/bsp/lpc2148/rtconfig.py
index 8951ea9111..2c44325803 100644
--- a/bsp/lpc2148/rtconfig.py
+++ b/bsp/lpc2148/rtconfig.py
@@ -39,9 +39,9 @@ if PLATFORM == 'gcc':
OBJCPY = PREFIX + 'objcopy'
DEVICE = ' -mcpu=arm7tdmi-s'
- CFLAGS = DEVICE + ' -DRT_USING_MINILIBC'
+ CFLAGS = DEVICE
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
- LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-lpc214x.map,-cref,-u,_start -T lpc2148_rom.ld'
+ LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-lpc214x.map,-cref,-u,_start -T lpc2148_rom.ld -nostartfiles'
CPATH = ''
LPATH = ''