cancel
Showing results for 
Search instead for 
Did you mean: 

Loading software to ST board

jonathan2399
Associate II
Posted on June 27, 2014 at 00:54

Hello Everyone,

Our goal is to compile an AudioSpeaker Demo included in the STM32_USB-FS-Device_Lib_V3.3.0. The IDE being used for this project is the IAR Embedded Workbench for ARM version 7.20.1.7307, IAR Embedded Workbench common components version 7.1.0.3209 . The STM3210E-EVAL evaluation board is applied for this project. In the process, the AudioSpeaker.eww is opened by using IAR. The ''readme.txt'' indicates that the first step is to build the project under Project--> Rebuild All. However, after the ''Rebuild All'' is executed, I get a bunch of errors. The error codes are Error[Pe147]. The reason to the error is because the data type are incompatible (they do not match) in '' intrinsics.h '' and '' core.cm3.h '' . In '' intrinsics.h '' the data type applied is ''unsigned long''. Meanwhile, in '' core.cm3.h ''the data type applied is '' uint32_t ''. In result, I will like to know if this is the reason which I am getting all the errors? Is this a mistake include in the STM32_USB-FS-Device_Lib_V3.3.0? Attached is a screenshot of the IAR Embedded Workbench IDE reporting the error. This will help to establish a visual perspective. 

Thank you !!! 

#lmgtfy
2 REPLIES 2
Posted on June 27, 2014 at 03:11

Most of the ST examples, especially the older ones, expect different versions of IAR perhaps V5.4 or so.

Suggest you avail your self of IAR Support, and whatever FAQ they have related to these types of issues.

http://www.google.com/search?q=iar+cmsis+intrinsics

http://supp.iar.com/Support/?note=75890

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
jonathan2399
Associate II
Posted on June 27, 2014 at 15:23

Thank you very much! The information you have provided is quite useful.