cancel
Showing results for 
Search instead for 
Did you mean: 

Getting start with IAR 6.30

federicomanfrin
Associate II
Posted on February 14, 2012 at 15:27

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

#iar
2 REPLIES 2
amin23
Associate II
Posted on February 16, 2012 at 15:22

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''

federicomanfrin
Associate II
Posted on February 17, 2012 at 13:30

Thank you very much, now it works good!