当采用STM32CubeMX生成项目文件后,在keil中编译报错,内容如下:
Build started: Project: AS5048A
* Using Compiler ‘V6.22’, folder: ’D:softwareARMARMCLANGBin’
Build target ‘AS5048A’
Error instantiating RTE components
Error #541: ‘ARM::CMSIS:CORE@4.3.0’ component is missing (previously found in pack ‘ARM::CMSIS’)
Target not created.
这是因为keil中ARM编译器为版本6,而CubeMX并不支持
官方的解释和解决方法为

网址如下
https://developer.arm.com/documentation/ka005073/latest

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/197528.html