RTOS
Pass a struct to a FreeRTOS task through pvParameters
Hand a configuration struct to a new FreeRTOS task through the pvParameters pointer, and keep the struct alive for the task's whole life.
2 min read
Short posts that solve one thing: the code, the output we got, and why it works.
Hand a configuration struct to a new FreeRTOS task through the pvParameters pointer, and keep the struct alive for the task's whole life.
Run periodic work from a SysTick-driven superloop by setting task flags in the tick ISR and clearing them in main, on any Cortex-M with CMSIS.
We send one email when a new post is published. No spam.