cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F10x_StdPeriph_Lib_V3.5.0 & IAR v6.5

stst9187
Associate II
Posted on January 04, 2013 at 18:18

Hi

I'm using STM32F10x_StdPeriph_Lib_V3.5.0 with IAR 6.50 compiler but when I open the workspace in the templade directory and then I build it ,  I found 240 errors look like these :

Building configuration: Project - STM3210C-EVAL 

Updating build tree... 

main.c  

Error[Pe147]: declaration is incompatible with ''__nounwind __interwork __softfp unsigned long __get_PSP(void)'' (declared at line 52 of ''C:\Program Files\IAR Systems\Embedded Workbench  C:\progetti\file-rete\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1084 

6.5\arm\inc\c\intrinsics.h'') 

Error[Pe147]: declaration is incompatible with ''__nounwind __interwork __softfp void __set_PSP(unsigned long)'' (declared at line 53 of ''C:\Program Files\IAR Systems\Embedded Workbench  C:\progetti\file-rete\STM32F10x_StdPeriph_Lib_V3.5.0\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1094 

6.5\arm\inc\c\intrinsics.h'') 

Can You help me?

thanks
2 REPLIES 2
Posted on January 04, 2013 at 19:34

http://netstorage.iar.com/SuppDB/Public/SUPPORT/005449/EWARM_MigrationGuide.ENU.pdf

http://www.emcu.it/ARM_Compiler/IAR/IAR_tips_and_tricks.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
stst9187
Associate II
Posted on January 06, 2013 at 22:44

thanks very much!