没勾选IAR软件的CMSIS,同时工程包含core_cm3.c,我用core_cm3.h core_cmFunc.h core_cmInstr.h这三个文件覆盖掉st固件库里面的core_cm3.h,没勾选Multi-file Compilation就没错,勾选还是有错误
Error[Pe1061]: declaration of function "__nounwind __set_MSP" is incompatible with a declaration in another translation unit C:\Program Files\IAR Systems\Embedded Workbench 6.4\arm\inc\c\intrinsics.h
the other declaration is at line 308 of "F:\study\IAR_STM32\STM32_LED\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c" |