N32G457
开发板工程
RT-Thread版本4.0.2
利用rt-thread studio使能at组件的server后,不加入其他代码,直接编译,报错。
make -j8 all
linking...
./rt-thread/components/net/at/src/at_server.o: In func
tion `at_server_init':
D:RT-ThreadStudioworkspaceMULTIDebug/../rt-thread/components/net/at/src/at_server.c:638: undefined reference to `__rtatcmdtab_start'
D:RT-ThreadStudioworkspaceMULTIDebug/../rt-thread/components/net/at/src/at_server.c:638: undefined reference to `__rtatcmdtab_end'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:61: rtthread.elf] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.
可能编译环境是某些地方没设置对。
AT组件配置如下:
出错部分的代码如下: