From 2febf68317789676ec44c316e56cfacd8e20a5c6 Mon Sep 17 00:00:00 2001 From: zyh Date: Sun, 2 Sep 2018 11:53:14 +0800 Subject: [Bsp][nuvoton_nuc472]fix gcc build with gcc --- bsp/nuvoton_nuc472/rtconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bsp') diff --git a/bsp/nuvoton_nuc472/rtconfig.py b/bsp/nuvoton_nuc472/rtconfig.py index f37ab79b7a..7fb23e306a 100644 --- a/bsp/nuvoton_nuc472/rtconfig.py +++ b/bsp/nuvoton_nuc472/rtconfig.py @@ -41,7 +41,7 @@ if PLATFORM == 'gcc': DEVICE = ' -mcpu=cortex-m4 -mthumb -ffunction-sections -fdata-sections' CFLAGS = DEVICE AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' - LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread-nuc472.map -T ldscripts/mem.ld -T ldscripts/libs.ld -T ldscripts/sections.ld ' + LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread-nuc472.map -T ldscripts/sections.ld ' CPATH = '' LPATH = '' -- cgit v1.3.1