Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

IAR EWARM 8.22.1 complains about 'cmsis_iar.h'

I am using SDK 14.2 and just upgraded to IAR EWARM 8.22.1. When compiling, it now gives me the following complain for virtually every .c file in my project:

Warning: The header file 'cmsis_iar.h' is obsolete and should not be used. 
         A sutiable version is automatically included from the CMSIS-core package. 
         This file will be removed in a future release. 

I tracked down the include statement to this file: components\toolchain\CMSIS\Include\core_cmSimd.h

I'm not sure if this is something with my IAR installation or with the SDK.

Parents Reply
  • I removed the #include <cmsis_iar.h> from three files: core_cmFunc.h, core_cmInstr.h, and core_cmSimd.h.  But that gives me a new set of errors stating function definitions are not found.

    How did you removed the the #include <cmsis_iar.h>?

    Here's an example of the error:

    Error[Li005]: no definition for "__disable_irq" [referenced from ...

    Thanks,

Children
Related