STM32+IAR 解决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 199 of "$PROJ_DIR$\CMSIS\core_cm3.h 1124
在core_cm3.h中找到如下行,注释掉“#include <intrinsics.h> ”
then ,it works~
---------------------
作者:看呀小胖砸
来源:CSDN
原文:https://blog.csdn.net/dodwind/article/details/81514857
版权声明:本文为博主原创文章,转载请附上博文链接!