Closed kbeckmann closed 2 years ago
There's a ChibiOS port for the rp2040 which could be viable: https://forums.raspberrypi.com/viewtopic.php?t=308510
Thanks! I haven't looked closer at ChibiOS. How does it compare to FreeRTOS feature wise? I think we mostly only need some sort of scheduler that runs on one of the cores that lets us run multiple tasks in parallel with preemption. We probably don't need "proper" multicore support, since the core that handles the N64 PI interface has absurdly high latency requirements, so it will be fully busy with that.
Just noticed that the pico_w examples include a FreeRTOS integration too: https://github.com/raspberrypi/pico-examples/blob/master/pico_w/freertos/CMakeLists.txt
Integrated FreeRTOS now.
We need an RTOS to run CIC emulation and EEPROM + FlashRAM emulation on the same core.
Investigate if there is a FreeRTOS port for RP2040 out there already, otherwise port it.