I am using the Poloulu A-Star Lv. I used the following port of RTOS
miniAVRfreeRTOS – Minimum FreeRTOS implementation – for all AVR ATmega MCU variants.
I am not able to blink te LED as the task is getting stuck in the vTaskDelay function and other processes are not able to execute. The controller is Atmega32u4.
Please contribute your suggestions.
I’m not familiar with either the hardware or the FreeRTOS distribution
you refer to but…..
If enter but don’t exit vTaskDelay() then I would suspect the tick
interrupt is not executing. Can you put a break point in
FreeRTOS/source/tasks.c xTaskIncrementTick() to see if it ever gets hit.
If it does, measure the frequency at which it executes to ensure it is
the frequency you expect.