[Bsp][nuvoton_nuc472]fix gcc build with gcc
This commit is contained in:
parent
5251ab737f
commit
2febf68317
|
@ -58,6 +58,7 @@ env:
|
||||||
- RTT_BSP='mini2440' RTT_TOOL_CHAIN='sourcery-arm'
|
- RTT_BSP='mini2440' RTT_TOOL_CHAIN='sourcery-arm'
|
||||||
# - RTT_BSP='mini4020' # no scons
|
# - RTT_BSP='mini4020' # no scons
|
||||||
# - RTT_BSP='nios_ii' # no scons
|
# - RTT_BSP='nios_ii' # no scons
|
||||||
|
- RTT_BSP='nuvoton_nuc472' RTT_TOOL_CHAIN='sourcery-arm'
|
||||||
# - RTT_BSP='pic32ethernet' # no scons
|
# - RTT_BSP='pic32ethernet' # no scons
|
||||||
- RTT_BSP='qemu-vexpress-a9' RTT_TOOL_CHAIN='sourcery-arm'
|
- RTT_BSP='qemu-vexpress-a9' RTT_TOOL_CHAIN='sourcery-arm'
|
||||||
- RTT_BSP='sam7x' RTT_TOOL_CHAIN='sourcery-arm'
|
- RTT_BSP='sam7x' RTT_TOOL_CHAIN='sourcery-arm'
|
||||||
|
|
|
@ -41,7 +41,7 @@ if PLATFORM == 'gcc':
|
||||||
DEVICE = ' -mcpu=cortex-m4 -mthumb -ffunction-sections -fdata-sections'
|
DEVICE = ' -mcpu=cortex-m4 -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 + ' -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 = ''
|
CPATH = ''
|
||||||
LPATH = ''
|
LPATH = ''
|
||||||
|
|
Loading…
Reference in New Issue