diff options
| -rw-r--r-- | bsp/lpc2148/rtconfig.py | 4 |
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 = '' |
