From 0351f366ddc899d2ef89e0a55190b092ba22fceb Mon Sep 17 00:00:00 2001 From: Arne Zachlod Date: Thu, 27 Feb 2025 11:46:16 +0100 Subject: [PATCH] install script for everything on esp32 locally --- install_program_on_esp32.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 install_program_on_esp32.sh diff --git a/install_program_on_esp32.sh b/install_program_on_esp32.sh new file mode 100755 index 0000000..0eb5387 --- /dev/null +++ b/install_program_on_esp32.sh @@ -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 +