Using all the work from @hfellner and others, add FreeRTOS SMP support. Allow idling cores through the FreeRTOS FIFO queue to allow for file system and EEPROM support. Make delay a weak function so FreeRTOS can override. Add cycle count support under FreeRTOS using a PIO SM. Use a task-based approach for handling the USB periodic work instead of the IRQ-based one in the main core. Set 8 prio levels so it fits in 3 bits nicely (0..7).
2 lines
50 B
C
2 lines
50 B
C
#include "../lib/FreeRTOS-Kernel/include/queue.h"
|