Prerequisites
sudo apt update
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
sudo pip3 install rshell
sudo usermod -a -G dialout $USER
make -C mpy-cross
cd ports/rp2
make BOARD=PICO_W submodules
Build Firmware
cd ports/rp2
make BOARD=PICO_W
ls build-PICO_W/*.uf2
Load Firwmare onto Pico W
cd ports/rp2
sudo mkdir /mnt/pico
sudo blkid -o list | grep RPI
sudo mount /dev/sda1 /mnt/pico
sudo cp build-PICO_W/firmware.uf2 /mnt/pico
sudo sync
screen /dev/ttyACM0
or
sudo rshell
repl
Prerequisites
Loading the Project Code
sudo rshell
rm /pyboard/* # "Factory Reset" (Does not reset firmware)
cp subway/*.py /pyboard/ # Don't overwrite config
cp subway/* /pyboard/ # Overwrite config
repl
# CTRL+D() to restart board. Runs main.py on startup