New project under bootloader/ with the same structure as color_switcher: Dockerfile, docker-compose, modular CMake, and APP_BOOT + SYS_ECU stub components. Reuses common/ submodules for MCU_UART, MCU_USB, HAL_COM, STD_TYPES. TODO.md lists all open design decisions (interface, protocol, flash layout, entry trigger, integrity checks, flash strategy) and the implementation tasks that depend on them.
Bootloader
A custom bootloader for the Raspberry Pi Pico (RP2040). Receives firmware updates over a communication interface, writes to flash, and jumps to the main application.
Status
Scaffolded — not yet implemented. See TODO.md for the design decisions and implementation tasks.
Prerequisites
- Docker and Docker Compose
Building
cd bootloader/
docker compose run --rm pico-build bash /scripts/build.sh
Flashing
From the repo root:
./flash.sh bootloader