Skip to content

host_rp2040

mean00 edited this page Apr 3, 2024 · 4 revisions

Overview

The build system contains similar files in all cases (derived from lnArduino)

  • platformConfig.cmake : Location of toolchain and compile flags
  • mcuSettings.cmake : Describe the chip, flash size, frequency,etc...
  • build_default.cmake : Select which version to build

Using a RP2040 to debug

It is strongly suggested to use a Pico Zero, it is ridiculously small and you 'll have a pulsing led for free. Using a gumstick also works.

Building

This is a minimalistic port for RP2040, it works just fine. You'll need

SET(USE_CLANG True) SET(USE_RP2040 True)

  • make build && cd build && cmake .. && make -j 4, you 'll end up with a .uf2
Clone this wiki locally