cancel
Showing results for 
Search instead for 
Did you mean: 

Static Library for STM32H753

Sudhir Mishra
Associate

I am trying to generate a static library which calls FreeRTOS functions listed below -

  1. osThreadDef and osThreadCreate
  2. osSignalSet and osSignalWait
  3. osDelay
  4. osMutexCreate

etc.

in System Workbench for STM32.

Without including the FreeRTOS Utility in the project, I get errors like,

           Type 'osThreadId' could not be resolved

           'osPriorityNormal' undeclared (first use in this function)

When I choose option to include the FreeRTOS Utility in the project, I get the same errors as above.

4 REPLIES 4

Sounds like you're missing some include files defining the interfaces/functions.​

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

These aren't FreeRTOS functions. They're CMSIS-RTOS API wrappers, perhaps prepared by ST and generated by Cube.

Sudhir Mishra
Associate

Yes i am using  CMSIS-RTOS it working with HAL API, But not working in case of rtos.

I'm guessing Clive's answered the problem, and your posts aren't elaborating anything.