Skip to content

Compiling

CraCaN edited this page Sep 13, 2024 · 7 revisions

Compiling the Code

For people who want to modify the code and upload this to the controller.
No support will be provided for any modified code, even if the modifications are within the settings list of variables
If you encounter any issues only submit this issue if it occurs in the provided pre-compiled .uf2 file
This guide assumes that you know the basics of Arduino and you also have Arduino IDE 2 installed

  1. Download the AR2M folder and open in Arduino IDE.
  2. Make sure you have the following libraries installed. All can be found by searching the names in the Arduino library manager:
  1. Install earlephilhower's Pico board by following this guide
  2. Under Board Manager search Raspberry Pi Pico, it should show up as Raspberry Pi Pico - Raspberry Pi Pico /RP..., Select it. NOT THE ONE labelled Raspberry Pi Pico - Arduino Mbed OS RP...
  3. Select the Pico that's connected the computer, it will not show up properly unless you have put the Pico into BOOT mode
  4. Under Tools->USB Stack: Select Adafruit TinyUSB. If you do not See USB Stacks, you most likely have the wrong board selected. Check that you have selected the right board in step 4.
  5. Make any changes you want to the code and upload!

Clone this wiki locally