cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4-discovery FreeRTOS

baev_al
Associate II
Posted on November 07, 2014 at 21:49

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!

3 REPLIES 3
Posted on November 07, 2014 at 22:09

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.h
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
baev_al
Associate II
Posted on November 08, 2014 at 07:41

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 258

Posted on November 08, 2014 at 07:53

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

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..