To set up the toolchain install:
- cmake
- clang toolchain
- arm-none-eabi toolchain
- go-task (taskfile)
Build the binaries:
go-task build
Plug in a Raspberry Pi Pico (BOOTSEL) and copy the uf2 from the build folder to the RPi in a shell on the host. Paths may differ.
cp _build/pico/pico/<executable>/<executable>.uf2 /run/media/.../RPI-RP2/
List the available build tasks:
go-task --list
The executable of the pico-synth is generated in
_build/pico/pico/pico-synth/pico-synth.uf2
.
- Raspberry Pi Pico
- ada3678 (UDA1334)
14 (GP 10) ---- BCLK
15 (GP 11) ---- WSEL
16 (GP 12) ---- DIN
36 (3V3 OUT) ---- VIN
38 (GND) ---- GND
21 (GP 16) MOSI
22 (GP 17) CS
24 (GP 18) SCK
25 (GP 19) MISO
The executable of the midi-adapter is generated in
_build/pico/pico/midi-adapter/midi-adapter.uf2
.
- Raspberry Pi Pico
- ada2088 (ST7735R)
16 (GP 12) MISO
17 (GP 13) CS
19 (GP 14) SCK
20 (GP 15) MOSI
22 (GP 17) ---- TCS
24 (GP 18) ---- SCK
25 (GP 19) ---- SI
26 (GP 20) ---- D/C
27 (GP 21) ---- RST
36 (3V3 OUT) ---- VIN
38 (GND) ---- GND