Usb serial devices are listed as /dev/tty.usb[something]
in my case /dev/tty.usbmodem0000000000001
to connect simply screen into it:
screen /dev/tty.usbmodem0000000000001 115200
to exit screen you have to
ctrl-a ctrl-\
yes, I know. that’s quite a handfull just to exit. ctrl-a ?
for all the screen commands
to copy python files to the raspberry pi pico I can use rshell
(installed via pip install rshell
)
rshell
cp hello.py /pyboard
[ctrl-d]