- boot.py is autostart script (by micropython)
- main.py is run after boot.py is finished (by micropython)
ampy -p /dev/ttyUSB0 put main.py
ampy -p /dev/ttyUSB0 run main.py
NOTE:
- This command is not transfer
main.py
. only run. - After some seconds, ampy aborted with
'timeout waiting for first EOF reception'
. ignore this.
screen /dev/ttyUSB0 115200
- hit
enter
- prompt
>>>
is shown - hit
ctrl+d
to soft reset - exit screen by
ctrl+a -> k -> y