2014-11-07 12:49 PM
Dear friends.
I try to use freeRTOS on STM32F429I-DISCO. I want to create two tasks (blinking different leds) just to understand how the OS works. I use EWARM 7. When I compile the projects I have the following errors:
identifier�?__set_BASEPRI�? is underfined
function�?__ser_BASEPRI�? has no prototype
I used the files from STM32F429I-Discovery_FW_V1.0.1 package. I didn't find source file with such function.
What did I do wrong?
Thanks!
2014-11-07 01:09 PM
IAR has had issues with CMSIS libraries/includes in the past, check it is pathed appropriately.
STM32F429I-Discovery_FW_V1.0.1\Libraries\CMSIS\Include\core_cmFunc.h2014-11-07 10:41 PM
After I added core_cmFunc.h three another errors appeared (all concerned cmsis_iar.h):
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 2582014-11-07 10:53 PM
I'm not an IAR user, you might want to Google or query IAR Support about how to resolve this issue with their tools.
https://ez.analog.com/thread/45095
http://www.emcu.it/ARM_Compiler/IAR/IAR_tips_and_tricks.html