From 1c95b2a6fd683f3efc11a8f676a7b06765c93041 Mon Sep 17 00:00:00 2001 From: Spacehuhn Date: Wed, 28 Jun 2023 13:21:53 +0200 Subject: [PATCH] RP2040 compile notes --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a2dbc7f..f0ccc8a 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,14 @@ Compile and upload: Compile and export: `arduino-cli compile --fqbn adafruit:samd:adafruit_qtpy_m0_nova:usbstack=tinyusb,debug=off --output-dir build/` -- or (for RP2040 models) - -`arduino-cli compile --fqbn rp2040:rp2040:generic:flash=16777216_15728640,usbstack=tinyusb,boot2=boot2_w25q128jvxq_4_padded_checksum --output-dir build/` Convert to uf2: `uf2conv build/USBNova.ino.bin -o build/USBNova.ino.uf2` -(To install uf2conv, install rust, then `cargo install uf2conv`) \ No newline at end of file +(To install uf2conv, install rust, then `cargo install uf2conv`) + +--- + +For RP2040: +`arduino-cli compile --fqbn rp2040:rp2040:generic:flash=16777216_15728640,usbstack=tinyusb --output-dir build/` +`elf2uf2-rs build/USBNova.ino.elf build/USBNova.ino.uf2` +(To install `cargo install elf2uf2-rs`) \ No newline at end of file