Skip to content

Commit 388fc1d

Browse files
authored
Merge pull request #1763 from uestczyh222/nuvoton_nuc472
[Bsp][nuvoton_nuc472]fix gcc build with gcc
2 parents 3632693 + eab458d commit 388fc1d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ env:
5858
- RTT_BSP='mini2440' RTT_TOOL_CHAIN='sourcery-arm'
5959
# - RTT_BSP='mini4020' # no scons
6060
# - RTT_BSP='nios_ii' # no scons
61+
- RTT_BSP='nuvoton_nuc472' RTT_TOOL_CHAIN='sourcery-arm'
6162
- RTT_BSP='nuvoton_m05x' RTT_TOOL_CHAIN='sourcery-arm'
6263
# - RTT_BSP='pic32ethernet' # no scons
6364
- RTT_BSP='qemu-vexpress-a9' RTT_TOOL_CHAIN='sourcery-arm'

bsp/nuvoton_nuc472/rtconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
DEVICE = ' -mcpu=cortex-m4 -mthumb -ffunction-sections -fdata-sections'
4242
CFLAGS = DEVICE
4343
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
44-
LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread-nuc472.map -T ldscripts/mem.ld -T ldscripts/libs.ld -T ldscripts/sections.ld '
44+
LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread-nuc472.map -T ldscripts/sections.ld '
4545

4646
CPATH = ''
4747
LPATH = ''

0 commit comments

Comments
 (0)