Skip to main content
Sudhir Mishra
Associate
June 10, 2020
Question

Static Library for STM32H753

  • June 10, 2020
  • 3 replies
  • 1820 views

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.

3 replies

Tesla DeLorean
Guru
June 10, 2020

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

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
alister
Senior III
June 11, 2020

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

Sudhir Mishra
Associate
June 11, 2020

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

alister
Senior III
June 11, 2020

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