STM32+IAR 解決Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned

在IAR中編譯STM32工程,遇到ui

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.net

在core_cm3.h中找到以下行,註釋掉「#include <intrinsics.h>  」3d

 

 

then ,it works~
---------------------
做者:看呀小胖砸
來源:CSDN
原文:https://blog.csdn.net/dodwind/article/details/81514857
版權聲明:本文爲博主原創文章,轉載請附上博文連接!blog

相關文章
相關標籤/搜索