87ff8cd366
Forgot that before making the release, sorry... |
||
---|---|---|
src | ||
tools | ||
.gitignore | ||
LICENSE | ||
README.md | ||
USBNova.ino | ||
boards.txt | ||
compile.sh | ||
config.h | ||
debug.h | ||
schema.json |
README.md
Get firmware updates on the release page
For documentation, please visit: usbnova.com
Compile using Arduino-CLI
Install Arduino-CLI.
Add https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
to the additional board manager URLs.
Edit boards.txt in /packages/adafruit/hardware/samd/<version>/
and add boards.txt.
Compile and upload:
arduino-cli compile --fqbn adafruit:samd:adafruit_qtpy_m0_nova:usbstack=tinyusb,debug=off -u -p <PORT>
Compile and export:
arduino-cli compile --fqbn adafruit:samd:adafruit_qtpy_m0_nova:usbstack=tinyusb,debug=off --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
)
For RP2040:
arduino-cli compile --fqbn rp2040:rp2040:generic:flash=16777216_15728640,usbstack=tinyusb --output-dir build/
(usually not required, but just in case: elf2uf2-rs build/USBNova.ino.elf build/USBNova.ino.uf2
)
(To install cargo install elf2uf2-rs
)
For Adafruit Trinkey RP2040:
arduino-cli compile --fqbn rp2040:rp2040:adafruit_trinkeyrp2040qt:flash=8388608_7340032,usbstack=tinyusb --output-dir build/