这篇博客记录在RT-Thread学习中遇到的问题。
Q1:#error The lwIP tcpip thread stack size(RT_LWIP_TCPTHREAD_STACKSIZE) must more than 1408
A1:RT-Thread Components->Networks->light weight TCP/IP stack->the stack size of IwIP thread 修改为2048以上的值
Q2:scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "C:\Users\ise\Desktop\Labs-RTThread_407_new\bsp\20.Semaphore_syn\SConstruct", line 32, in <module>
A2:官方warning,这个错warning暂时无法避免
Q3:Kconfig:3:warning: environment variable BSP_ROOT undefined
Kconfig:8:warning: environment variable RTT_ROOT undefined
Kconfig:18: can't open file "../../Kconfig"
A3:没有配置bsp,可以参考RT-Thread官方bsp的配置教程视频
Q4:Enable alloc ip address through DHCP是什么?
A4: 自动分配ip地址
不勾选这个,下面的 Static IPv4 Address 中是自己分配的地址