在IAR中编译STM32工程,遇到
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned int __iar_builtin_REV16(unsigned int)" (declared at line 199 of "$PROJ_DIR$\CMSIS\core_cm3.h 1124
在core_cm3.h中找到如下行,注释掉“#include <intrinsics.h> ”

then ,it works~
本文介绍在使用IAR进行STM32工程编译时遇到的Pe147错误,详细解析了与__nounwind__interwork__softfpunsignedint__iar_builtin_REV16(unsignedint)声明冲突的问题,并提供了通过注释掉特定包含指令来解决问题的有效方案。
2018

被折叠的 条评论
为什么被折叠?



