问题
I'm trying the IAR EW6.30 to get start with STM32VL discover board.
Following the pdf in the "stm32vldiscovery_package" folder, trying to run the demo project of the AN3268, I open the workspace in that folder:
"C:\stm32vldiscovery_package\an3268\stm32vldiscovery_package\Project\Demo\EWARMv5"
It opens good, as the CD00283778.pdf teach.
But if I try to "rebuild all", I get this error many times:
Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned long __get_PSP(void)"
(declared at line 52 of "C:\Programmi\ C:\stm32vldiscovery_package\an3268\stm32vldiscovery_package\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
1084
解决方法
Please follow the following steps:
under project options: 1- on the "General Options" option in the "Library Configuration" tab check the checkbox “Use CMSIS” 2- on the "C/C++ Compiler" option in the "Preprocessor" tab remove the include directory of CM3 "$PROJ_DIR$\..\..\Libraries\CMSIS\CM3\CoreSupport" |