故障复现步骤:
studio里创建ch32v307-r1的开发板工程(sdk版本1.0.8)
打开i2c硬件设备
软件包里勾选i2c-tools
然后编译报错:
In file included from ../packages/i2c-tools-latest/src/i2c_tools.cpp1
../packages/i2c-tools-latest/src/i2c_utils.h410: fatal error: rtthread.h: No such file or directory
搞不懂是哪里引起的,因为rtthread.h这是main.c里就有且不会报错的,为啥加个i2c-tools就会找不到。
更多回帖