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 "uint32t" is undefined C:Program FilesIAR SystemsEmbedded Workbench 7.0armincccmsisiar.h 111
Error[Pe020]: identifier "_INLINE" is undefined C:Program FilesIAR SystemsEmbedded Workbench 7.0armincccmsisiar.h 258
Error[Pe065]: expected a ";" C:Program FilesIAR SystemsEmbedded Workbench 7.0armincccmsis_iar.h 258
What did I do wrong?
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. uint32t is defined in stdint.h, and from the error message it looks like it needs to be included before cmsisiar.h is included (in whichever file cmsis_iar.h is being included).
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?