Building the RP2040 device code should be nearly exact to building any other Raspberry Pi PICO C SDK build as described in the "getting-started-with-pico".
- Setup the PICO C SDK and go through the example builds using cmake and make
- git clone this repo to <repo_dir>.
- cd <repo_dir>/sigrok-pico
- copy pico_sdk_import.cmake from your pico-sdk repo to <repo_dir>/sigrok_pico
- export PICO_SDK_PATH=<path_to_your_pico_sdk>
- cd <repo_dir>/sigrok-pico
- mkdir build
- cd build
- cmake ..
- make