2012-02-14 06:27 AM
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 What does this mean? Thank you #iar2012-02-16 06:22 AM
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''2012-02-17 04:30 AM
Thank you very much, now it works good!