install script for everything on esp32 locally

This commit is contained in:
Arne Zachlod 2025-02-27 11:46:16 +01:00
parent 30de6ef136
commit 0351f366dd

12
install_program_on_esp32.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
python ~/hacks/micropython/tools/mpremote/mpremote.py connect /dev/ttyACM0 mip install sdcard
python ~/hacks/micropython/tools/mpremote/mpremote.py connect /dev/ttyACM0 mip install requests
python ~/hacks/micropython/tools/mpremote/mpremote.py connect /dev/ttyACM0 mip install github:mkomon/uota
python ~/hacks/micropython/tools/mpremote/mpremote.py connect /dev/ttyACM0 fs cp main.py :main.py
python ~/hacks/micropython/tools/mpremote/mpremote.py connect /dev/ttyACM0 fs cp uota.cfg :uota.cfg
python ~/hacks/micropython/tools/mpremote/mpremote.py connect /dev/ttyACM0 fs cp version :version
python ~/hacks/micropython/tools/mpremote/mpremote.py connect /dev/ttyACM0 soft-reset