视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
怎样用EWARM 6.2x打开6.1等先前版本的项目文件
2025-09-29 16:42:01 责编:小OO
文档
TN0830

Technical note

How to use EWARM 6.2x with projects built with EWARM 6.1 and previous versions

Introduction

Since EWARM version 6.2, the compiler adds new intrinsics for the CMSIS library that

improve the compiler performance in terms of optimization. These intrinsics may break

CMSIS header files included in STM32 firmware packages built with older EWARM

versions.

To be in line with this change, this technical note describes the steps required to use

EWARM 6.2x with projects built with EWARM 6.1 and previous versions.

October 2011Doc ID 022329 Rev 11/6

www.st.comContents TN0830 Contents

1Opening previous EWARM projects with EWARM 6.2 . . . . . . . . . . . . . . 3 2Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2/6Doc ID 022329 Rev 11 Opening previous EWARM projects with EWARM 6.2

When using EWARM 6.2x to open projects built with EWARM 6.1 and previous, the

following compilation errors are generated due to double CMSIS definitions:

Error[Pe147]: declaration is incompatible with "__interwork

__softfp unsigned long __get_PSP(void)" (declared at line 52 of

"C:\\Program Files\\IAR

C:\\Libraries\\CMSIS\\CM3\\CoreSupport\\core_cm3.h

To overcome this issue:

1.Check the "Use CMSIS" option from Project options > General Options > Library

Configuration:

Figure 1.Use CMSIS option

2. Remove all CMSIS header files from your project by removing:

“$PROJ_DIR$\\..\\..\\..\\Libraries\\CMSIS\\CM3\\CoreSupport” from [Project>Options>C/C++

Compiler>Preprocessor]

Doc ID 022329 Rev 13/6Figure 2.Remove all CMSIS header files from your project

4/6Doc ID 022329 Rev 1

TN0830Revision history Doc ID 022329 Rev 15/6

2 Revision history

Table 1.

Document revision history Date

Revision Changes

20-Oct-20111Initial release.

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice.

All ST products are sold pursuant to ST’s terms and conditions of sale.

Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein.

No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXP RESS OR IMP LIED WARRANTY WITH RESP ECT TO THE USE AND/OR SALE OF ST P RODUCTS INCLUDING WITHOUT LIMITATION IMP LIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXP RESSLY AP P ROVED IN WRITING BY TWO AUTHORIZED ST REP RESENTATIVES, ST P RODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.

ST and the ST logo are trademarks or registered trademarks of ST in various countries.

Information in this document supersedes and replaces all information previously supplied.

The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.

© 2011 STMicroelectronics - All rights reserved

STMicroelectronics group of companies

Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America

www.st.com

6/6Doc ID 022329 Rev 1下载本文

显示全文
专题