Saturday, December 16th 2017, 12:25am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

bill.frank

Beginner

Date of registration: Mar 8th 2011

Posts: 9

1

Wednesday, June 1st 2011, 5:22pm

IAR ARM 6.2 Update w/ embOS 3.82s and STM32 Standard Perip Lib 3.5.0

The newest version of IAR introduced multiple compile time errors. Is there an update in the works or a work around? Or is this a problem with my installation?

Error[Pe147]: declaration is incompatible with "__interwork __softfp unsigned long __get_PSP(void)" (declared at line 52 of "C:\Program Files\IAR Systems\Embedded Workbench 6.0\arm\inc\c\intrinsics.h") C:\Projects\GSCBA\Software\Sandboxes\GSCBA\LIB\source\STM32F10x_StdPeriph_Lib\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h 1102

SEGGER - Armin

Super Moderator

Date of registration: Dec 20th 2007

Posts: 26

2

Friday, June 3rd 2011, 1:07pm

Hi,

the current embOS projects are based on the EWARM V6.10 as lots of our customers still use the older workbench.

Since version 6.10, CMSIS support is integrated in the IAR workbench, but produces some warnings and remarks, when compiling the projects.
Therefore, we decided not to use the integrated CMSIS support and delivered all CMSIS files with our projects.

Switching to EWARM V6.20 requires the usage of the integrated CMSIS support.
How to switch the CMSIS based projects to EWARM V6.20 is described in the CPU specific embOS manual, chapter 7.1:
7.1 CMSIS with IAR EWARM V6
Since version 6.10.5, the IAR Embedded Workbench comes with the option to activate CMSIS support in the project settings.
All CMSIS generic header files are delivered with the IAR Embedded Workbench and the include paths are automatically set, when CMSIS support is activated in the General Options / Library Configuration.
Using CMSIS support as project option is required with IAR EWARM V6.20 or later when a CMSIS based project shall be used.
The worbench delivers all core specific header and source files.
It is required, that these files are delivered from the ide and are NOT part of the
project.
To use the CMSIS option of the workbench with a CMSIS based embOS project, pro-
ceed as follows:
* Remove the CoreSupport subfolder of the embOS project folders, or rename all files found in that folder if the CoreSupport folder exists.
* Activate the CMSIS support in the project options (General Options -> Library Configuration) by checking the "Use CMSIS" option.