从IAR arm 5.5 IAR ARM 6.30 等低版本升级为高版本 IAR arm 7.4


If you try to use the STM32 Library examples with IAR 6.30.6 you get a loot of errors.

Below there is the solution. 
The customer's file: 
...\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 
is a very old version of CMSIS (V1.30 from 2009) with no adaptations for IAR Embedded Workbench for ARM.
It is not possible to use this old header file with EWARM 6.30.6.
Included and integrated in IAR Embedded Workbench for ARM 6.30.6 is "core_cm3.h" version V2.11 from 2011.
See the directory: 
<EWARM>\arm\CMSIS\Include\core_cm3.h
To take advantage of this new, improved CMSIS library, just select: 
Project -> Options -> General Options -> Library Configuration -> Use CMSIS 
The fix for this project as described by Technical Note 75890:
http://supp.iar.com/Support/?note=75890
is to:
A. Rename the outdated CMSIS file "...\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h" to "core_cm3.h.old" (for example) 


B. Enable CMSIS:  Project -> Options -> General Options -> Library Configuration -> Use CMSIS
 

猜你喜欢

转载自blog.csdn.net/luy3728000/article/details/50569173