本文介绍STM32CubeIDE报“xxx is not implemented and will always fail”解决方法。
最近用STM32CubeIDE开发STM32程序时,编译报警告:
warning: _close is not implemented and will always fail
warning: _lseek is not implemented and will always fail
warning: _read is not implemented and will always fail
warning: _write is not implemented and will always fail
经过一番摸索,发现是“Source Location”没有添加新目录。解决方法:
1)右击项目选择“Properties”,选中“Paths and Symobols”,选择“Source Location”选项卡
2)添加自己新组织的目录或新建的目录
3)重新编译,警告消失
总结,本文介绍STM32CubeIDE报“xxx is not implemented and will always fail”的解决方法。