* Remove the CoreSupport subfolder of the embOS project folders, or rename all files found in that folder if the CoreSupport folder exists. To use the CMSIS option of the workbench with a CMSIS based embOS project, pro. It is required, that these files are delivered from the ide and are NOT part of the
The worbench delivers all core specific header and source files. Try putting in the void keyword within the parameter list of your function and see if the IAR. Using CMSIS support as project option is required with IAR EWARM V6.20 or later when a CMSIS based project shall be used. declaration is incompatible with 'ccversion2 void Timer0A0(void). Since version 6.10.5, the IAR Embedded Workbench comes with the option to activate CMSIS support in the project settings.Īll 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.
How to switch the CMSIS based projects to EWARM V6.20 is described in the CPU specific embOS manual, chapter 7.1: Simple setup: power supply, emulation and development can be implemented with one single USB wire Convenient platform for learning and development: The board has extended I/O pins and peripheral pins Based on the FM3 chip, equipped with multiple peripheral functions (Flash, SRAM, Timers,ADCs, USB, CAN, UART, SIO, I2C, LIN, etc. Check the 'Use CMSIS' option from Project options > General Options > Library Configuration: Figure 1. Switching to EWARM V6.20 requires the usage of the integrated CMSIS support. ErrorPe147: declaration is incompatible with 'interwork softfp unsigned long getPSP(void)' (declared at line 52 of 'C:\Program Files\IAR C:\Libraries\CMSIS\CM3\CoreSupport\corecm3.h To overcome this issue: 1. Therefore, we decided not to use the integrated CMSIS support and delivered all CMSIS files with our projects. The newest version of IAR introduced multiple compile time errors. Since version 6.10, CMSIS support is integrated in the IAR workbench, but produces some warnings and remarks, when compiling the projects. The current embOS projects are based on the EWARM V6.10 as lots of our customers still use the older workbench.