This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 FreeRTOS vTaskDelete assertion

Hi there,

I am using the Nordic SDK 16.0.0 on an nRF52840 with FreeRTOS. I am quite familiar with using FreeRTOS, but hadn't needed to delete a task until recently. It seems that even when I create a simple task that deletes itself, I get an assertion on the vTaskDelete call. Is this a known issue or unsupported on this FreeRTOS port? I have referenced the FreeRTOS manual, and I am calling the function correctly. Nothing is done after the call to vTaskDelete, and it doesnt matter if I pass in the task handle or NULL (current task option), it still asserts. 

An example assertion is shown in the screenshot of the call stack. Thank you

Parents Reply Children
No Data
Related