页次: 1
@ntmusic
scons编译竟然没有通过
<command-line>:0:0: note: this is the location of the previous definition
AS build\libcpu\start_gcc.o
CC build\libcpu\trap.o
In file included from F:\360MoveData\Users\Administrator\Desktop\F1C100S\rt-thread-master\rt-thread-master\include/rtthread.h:25:0,
from libcpu\trap.c:25:
./rtconfig.h:117:0: warning: "RT_USING_LIBC" redefined
#define RT_USING_LIBC
^
<command-line>:0:0: note: this is the location of the previous definition
LINK rtthread.elf
build\libcpu\trap.o: In function `rt_hw_trap_udef':
trap.c:(.text.rt_hw_trap_udef+0x44): undefined reference to `list_thread'
build\libcpu\trap.o: In function `rt_hw_trap_pabt':
trap.c:(.text.rt_hw_trap_pabt+0x48): undefined reference to `list_thread'
build\libcpu\trap.o: In function `rt_hw_trap_dabt':
trap.c:(.text.rt_hw_trap_dabt+0x48): undefined reference to `list_thread'
collect2.exe: error: ld returned 1 exit status
scons: *** [rtthread.elf] Error 1
scons: building terminated because of errors.
这篇文章,最适合STM选手,上路的
页次: 1