芯片f103RB.
MDK 5.20 版本,我把提示错误的行注释后,编译正确。
mbed/./CAN.h(235): error: #70: incomplete type is not allowed。
在线编译正确。就是官方程序..
就是CAN.h文件错误。
把这一行注释掉就可以了。官方的不应该出现这问题。
请教一个问题。把mbed os升级至最新版本再试一下。这不明白具体怎么做。我只会用标准库和HAL库。
非常感谢回复!
您好!
mbed os 升级:在online IDE选中该项目,右键Update All,然后再导出至本地编译即可。
非常有效,非常好用,完美解决,非常感谢!!!!!!!