# STM32F429 + EWARM 7.20 error

Dear friends.
I try to run FreeRTOS on my STM32F429-DISCO board using EWARM 7.20.
When I compile the project 3 errors appear:

Error[Pe020]: identifier “uint32_t” is undefined C:\Program Files\IAR Systems\Embedded Workbench 7.0\arm\inc\c\cmsis_iar.h 111

Error[Pe020]: identifier “__INLINE” is undefined C:\Program Files\IAR Systems\Embedded Workbench 7.0\arm\inc\c\cmsis_iar.h 258

Error[Pe065]: expected a “;” C:\Program Files\IAR Systems\Embedded Workbench 7.0\arm\inc\c\cmsis_iar.h 258

What did I do wrong?

rtel wrote on Saturday, November 08, 2014:

Presumably there is a problem with the order in which the header files are included, but it does not look like it is in a FreeRTOS file. uint32_t is defined in stdint.h, and from the error message it looks like it needs to be included before cmsis_iar.h is included (in whichever file cmsis_iar.h is being included).

Regards.

I included the stdint.h on the first place (however it already have been in the project). What is interesting is that when I point to uint32_t and __INLINE with the command “find the definition” the header file with the definition opens… So it seems like there are some problems with the compiler options (I have not found yet the exact problem/s). Maybe I should try another IDE for which you have an elaborate example?