AnsweredAssumed Answered

FreeRTOS with CubeMX different than

Question asked by Gerhard on Jul 29, 2015
Latest reply on Jul 30, 2015 by schloss.bernhard

There seem to be many differences between FreeRTOS code generated with CubeMX, and FreeRTOS code examples downloaded from

I use the "Prectical Guide" and Example code from, but have to modify many things, like function names, IDs and so on.

FreeRTOS code generated with CubeMX uses:
  /* Start thread 1 */
  LEDThread1Handle = osThreadCreate(osThread(LED1), NULL);
  /* Start scheduler    */

FreeRTOS code examples downloaded from uses:
 /* Create the other task in exactly the same way. */
 xTaskCreate( vTask2, "Task 2", 240, NULL, 1, NULL );
 /* Start the scheduler so our tasks start executing. */

Is there a better way to do this?
Is there a Reference / Users manual for the CubeMX FreeRTOS code?

Do I just work through CubeFx examples like


Any help appreciated