RP2040 Today
RP2040 is the current proof target for Flint.
What Works
The compiler pipeline already produces RP2040 UF2 images without relying on an external GCC or LLVM toolchain. That includes:
- parsing and type checking Flint source,
- lowering into FIR,
- ARM Thumb-2 code generation,
- startup and vector table generation,
- and UF2 packaging.
Board Support In The Repository
The current repository includes RP2040 board data for:
pi-picopi-pico-w
Examples also exist for:
- a HAL-based blink example,
- PWM LED fading,
- and UART output.
Why RP2040 Is A Good First Target
RP2040 is a good stress test for Flint because it is small enough that waste is obvious, but common enough that a working toolchain is immediately useful.
It also forces the language and compiler to stay honest about:
- startup code,
- direct register access,
- binary size,
- and hardware-facing APIs.