PicoLowLevel
|
This is the code running on the board inside each module of Rese.Q MK1.
The components inside each modules are:
To build the project you need PlatformIO. We suggest using PlatformIO for VSCode.
This project is based on the Arduino framework, and in particular uses the Raspberry Pi Pico available here.
Libraries are automatically managed by PlatformIO, at the moment we are using:
adafruit/Adafruit SH110X@^2.1.11
(for the OLED display)These are automatically managed by PlatformIO. The code requires the Raspberry Pi Pico W (rpipicow
) board and the flash size should be set to 2MB (Sketch: 1MB, FS: 1MB)
, meaning that half of the microcontroller memory will be dedicated to the program itself, while the other half can be used for storing informations and performing over-the-air (OTA) upgrades.
To upload the firmware from the GitHub Actions artifacts, follow these steps:
uf2
) onto the RPI-RP2 drive that appears.PlatformIO can also be used to upload the firmware directly to the Pico when it is not in BOOTSEL mode. Ensure that PlatformIO is installed and available in your system's PATH.
Upload
button in the PlatformIO panelA Makefile is provided to build and upload all firmware. This requires PlatformIO and make to be available in your system's PATH.
This will compile the firmware for all the modules in .pio/build/mod<i>/firmware.uf2