I highly recommend using the precompiled firmware by following the "Firmware Update" guides. This page is only for advanced users who want to compile the firmware themselves, for example, to modify it.
Download and install the Arduino IDE
USBNova-main/usbnova.inowith the Arduino IDE
Tools > Manage Librariesand install the following libraries:
config.hto match your hardware
Tools > USB Stackselect
Tools > Portselect your board's port. If you don't see a port, make sure your board is connected to your computer
Click Compile or Upload
To add USB Nova to the boards' list, you have to edit the
boards.txt file of the Adafruit SAMD Boards. You can find it under this or a similar path
You need to add these lines to the file.
The USB Nova mkII is compiled as generic rp2040 with 16MB flash.