Iar6.4 compilation earlier than 6.2

Source: Internet
Author: User

If iar6.2 or later is used to compile iar6.2, the following error occurs:

Error [pe147]: Declaration is incompatible with "_ nounwind _ interwork _ softfp unsigned long _ rev16 (unsigned long)" (declared
At line 177 of "C: \ E: \ stm32 materials \ source code \ 36 Ethernet stm32f107_eth_ LCD (Shenzhou IV) TFTP file transmission \ libraries \ cmsis \ core \ cm3 \ core_cm3.h 710

The cause of the error is that the intrinsics. h file of the new cmsis version is not compatible with the previous version.

Solution:

1: Project Options>
General Options> Library
Select use cmsis in configuration;


2: delete all cmsis header files in project> Options> C/C ++ compiler> Preprocessor,
"$ Proj_dir $ \... \ libraries \ cmsis \ cm3 \ coresupport ".
Compile again, pass .....


If you want to help a friend who has encountered the same problem, see tn0803 techinical note.
How to Use ewarm 6.2x with projects built with ewarm 6.1 and previous versions


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.