[BSP] add -nostartfiles in efm32 bsp
This commit is contained in:
parent
62e8b843c8
commit
41a9d2faca
|
@ -60,7 +60,7 @@ if PLATFORM == 'gcc':
|
||||||
DEVICE = ' -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections'
|
DEVICE = ' -mcpu=cortex-m3 -mthumb -ffunction-sections -fdata-sections'
|
||||||
CFLAGS = DEVICE
|
CFLAGS = DEVICE
|
||||||
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
|
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':
|
if EFM32_BOARD == 'EFM32_G8XX_STK' or EFM32_BOARD == 'EFM32_GXXX_DK':
|
||||||
LFLAGS += ' efm32g_rom.ld'
|
LFLAGS += ' efm32g_rom.ld'
|
||||||
elif EFM32_BOARD == 'EFM32GG_DK3750':
|
elif EFM32_BOARD == 'EFM32GG_DK3750':
|
||||||
|
|
Loading…
Reference in New Issue