diff options
| author | Bernard Xiong <[email protected]> | 2017-11-01 21:04:11 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-11-01 21:04:11 +0800 |
| commit | 41a9d2faca0d6e7f315f6ec25ef75c662c1fc0ab (patch) | |
| tree | 5e379c7260c924319f7ee96185dbdc917e7715d0 /bsp | |
| parent | 62e8b843c82622a3027a28bc7baff919a26a0288 (diff) | |
[BSP] add -nostartfiles in efm32 bsp
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/efm32/rtconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/efm32/rtconfig.py b/bsp/efm32/rtconfig.py index d5e1eabc15..b412851de4 100644 --- a/bsp/efm32/rtconfig.py +++ b/bsp/efm32/rtconfig.py @@ -60,7 +60,7 @@ if PLATFORM == 'gcc': DEVICE = ' -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections' CFLAGS = DEVICE AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' - LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-efm32.map,-cref,-u,__cs3_reset -T' + LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-efm32.map,-cref,-u,__cs3_reset -nostartfiles -T' if EFM32_BOARD == 'EFM32_G8XX_STK' or EFM32_BOARD == 'EFM32_GXXX_DK': LFLAGS += ' efm32g_rom.ld' elif EFM32_BOARD == 'EFM32GG_DK3750': |
