2014-06-26 03:54 PM
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 !!! #lmgtfy2014-06-26 06:11 PM
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
2014-06-27 06:23 AM
Thank you very much! The information you have provided is quite useful.