I'm having a bit of a problem getting rid unnecessary tasks. I suspect it's due to my not understanding things quite right. Hopefully someone here will be able to enlighten me :)
I'm using the AVR32-UC3-SoftwareFramework-1.6.0.
I create a task using this:
xTaskCreate( pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pxCreatedTask )
and that works fine but, when I subsequently try delete said task using the:
vTaskDelete( xTaskHandle pxTaskToDelete )
function, my system crashes.
Is there a different method which I should be using to start my tasks?