Hi,
I'm using CMSIS-RTOS and when I try to create a thread using the osThreadCreate function it returns NULL and the thread is not created.
The code worked fine but do not know what I changed but now does not work. The code includes all the initialization procedures like calling HAL_Init();, SystemClock_Config();, osKernelInitialize ();... I'm tried to change stack sizes.. etc...
Thanks
This is an indication of a stack problem.
Does the osThreadDef indicate a stack size?
You should verify the configuration settings for the stack size parameters. See: www.keil.com/.../_thread_config.html
I solved the problem yesterday.. This thread had an user provided stack size and I forgot to configure this in the RTS_Conf file... I'm stupid :)