diff options
| author | Bernard Xiong <[email protected]> | 2018-09-02 16:51:43 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-09-02 16:51:43 +0800 |
| commit | 388fc1d80b38f86fcbeda5c5d79e2ff4e8bb656e (patch) | |
| tree | 62fa189472c117edb4ab18990167737a65f05a93 /bsp | |
| parent | 3632693141980ae55732d6f68ccb6fbd013b61c7 (diff) | |
| parent | eab458d0ba7cfb54c3b3c420abbe86c0145e7350 (diff) | |
Merge pull request #1763 from uestczyh222/nuvoton_nuc472
[Bsp][nuvoton_nuc472]fix gcc build with gcc
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/nuvoton_nuc472/rtconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 = '' |
