Getting start with IAR 6.30

问题

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"

 

原文:https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https%3a%2f%2fmy%2est%2ecom%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Discovery%2fGetting%20start%20with%20IAR%206%2e30&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=524

你可能感兴趣的:(c,include,library,compiler,preprocessor)