2017-04-02 03:53 PM
Everyone,
Does anyone know where I can find a simple example for FreeRTOS on Mutex ?
I want to do two task but the first task never finishes and jump already to the second one because of the systick,
how can I make the first one finish and do the second one with Mutex ?
Thanks for reading and advicing
#multitasking #rtos #stm32f1xx #mutex Note: this post was migrated and contained many threaded conversations, some content may be missing.2017-04-05 09:26 AM
is task 2 created successfully? check return value from xTaskCreate is
pdPASS
or not and try to print some message in task 2 before enter infinite loop.2017-04-05 09:56 AM
Sure you can have a smaller heap size. I run an RTOS on the STM32F042 series with a heap of 3k. Just can't run that many tasks.