Skip to main content
Sudhir Mishra
Associate
Question

Static Library for STM32H753

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.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru

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

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
alister
Senior III

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.

alister
Senior III

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