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

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • 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
  • 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
    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.