Photo by Vishnu Mohanan

Uploading to the Raspberry Pi Pico without Thonny

rshell

pip3 install rshell
rshell -p /dev/ttyXXXX --buffer-size 512

ampy

pip3 install adafruit-ampy
ampy --port /dev/ttyXXXX ls
ampy --port /dev/ttyXXXX run main.py
ampy --port /dev/ttyXXXX put main.py
ampy --port /dev/ttyXXXX rm main.py

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store