Kernel thinks I exited a task

You already got me past the hard faults and I have no user defined IRQ/ISR.

I doubled stack and heap sizes to no avail and i do have a stack overflow hook, but I am not actively testing the high water mark. The only thing left to deactivate is the calendar task, but at this point all it does is clear the status flags for the alarms (minute and hour, none enabled for interrupts). Likely it is a task swap fault though.

I will try updating later (ie tomorrow).

Tasks are created as:

void FREERTOS_V1000_0_example(void)
{
BaseType_t success = xTaskCreate(Switches_task, “Switches”, TASK_EXAMPLE_STACK_SIZE, NULL, TASK_EXAMPLE_STACK_PRIORITY, xCreatedExampleTask);

success &= xTaskCreate(CALENDAR_task, "Calendar", TASK_EXAMPLE_STACK_SIZE, NULL, TASK_EXAMPLE_STACK_PRIORITY, xCreatedExampleTask);

if (success == pdTRUE)
{
	LCD_MODE (GPIO_DIRECTION_OUT);
	vTaskStartScheduler();
}

LCD_MODE (GPIO_DIRECTION_IN);
return;

}