Static Library for STM32H753
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-10 3:31 AM
I am trying to generate a static library which calls FreeRTOS functions listed below -
- osThreadDef and osThreadCreate
- osSignalSet and osSignalWait
- osDelay
- 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.
- Labels:
-
FreeRTOS
-
STM32CubeIDE
-
STM32H7 Series
-
SW4STM32
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-10 5:43 AM
Sounds like you're missing some include files defining the interfaces/functions.​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-10 6:55 PM
These aren't FreeRTOS functions. They're CMSIS-RTOS API wrappers, perhaps prepared by ST and generated by Cube.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-10 11:48 PM
Yes i am using CMSIS-RTOS it working with HAL API, But not working in case of rtos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-10 11:52 PM
I'm guessing Clive's answered the problem, and your posts aren't elaborating anything.
