Skip to main content
ROuje.1
Associate
December 15, 2022
Solved

Enabling FreeRTOS and generating the code does not add osThreadNew() calls.

  • December 15, 2022
  • 2 replies
  • 2326 views

I am running STM32CubeIDE ver 1.11.0 and using a Nucleo-F446RE board

I create a new project and just enable FreeRTOS and add 1 task (in addition to the default task. I am using CMSIS_V2. I save and generate the code. The code for the task is there, but there are no calls in the code to create the thread. Watched some youtubes and they dont seem to do anything more than what I did, but their project have all the code there to create the threads and the threads run...

any ideas would be appreciated.

thanks!

This topic has been closed for replies.

2 replies

gbm
gbmAnswer
Principal
December 15, 2022
My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
ROuje.1
ROuje.1Author
Associate
December 15, 2022

I promise that I searched the forums. I even just searched for FreeRTOS and did not see this! :(

Interesting, I just set it to CMSIS_V1 and it generated the code correctly.

Still learning. Getting there :)