IAR STM32报错Error[Pe147]:declaration is incompatible with“__nounwind __interwork __softfp unsigned

IAR STM32工程中报错:

Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned int __iar_builtin_REV16(unsigned int)" (declared at line 197 of "D:\STM32F103_Demo\Core\core_cm3.h 

解决方法:

在core_cm3中找到#include <intrinsics.h> 将其注释掉

猜你喜欢

转载自blog.csdn.net/weixin_38314865/article/details/106795268