Table of Contents

Install Thonny

bash <(wget -O - https://thonny.org/installer-for-linux)

How to unbrick your pico

If you have a main.py file and can not stop if to code using Thonny, you can always rename the file.

Install rshell

sudo pip3 install rshell
rshell --quiet --port /dev/ttyACM0 cp /pyboard/main.py /pyboard/main-1.py
rshell --quiet --port /dev/ttyACM0 rm /pyboard/main.py