From 374e04bb616b634f24e5e73f12a218095afe03f9 Mon Sep 17 00:00:00 2001 From: Christian Zufferey Date: Mon, 20 Jul 2020 20:26:03 +0200 Subject: [PATCH] J'ai enfin un esp-m3 minimaliste qui boot avec le nouveau code --- DeepSleep/Pet_tracker_2/_zremote_cmd.txt | 4 ++-- zflash-esp-m3.sh | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DeepSleep/Pet_tracker_2/_zremote_cmd.txt b/DeepSleep/Pet_tracker_2/_zremote_cmd.txt index d6d2618..5ee21b5 100644 --- a/DeepSleep/Pet_tracker_2/_zremote_cmd.txt +++ b/DeepSleep/Pet_tracker_2/_zremote_cmd.txt @@ -1,5 +1,5 @@ # Quelques commandes remote (luatool) à envoyer avec le plugin Atom-IDE-terminal de l'éditeur Atom -# zf200704.2310 +# zf200720.2019 Todo à faire pour ce projet ! @@ -44,7 +44,7 @@ socat TCP-LISTEN:23069,fork,reuseaddr STDIO killall -9 ssh ssh ubuntu@www.zuzu-test.ml killall -9 socat -ssh ubuntu@www.zuzu-test.ml socat TCP-LISTEN:23069,reuseaddr,fork TCP-LISTEN:23000,reuseaddr,bind=127.0.0.1 & +ssh ubuntu@www.zuzu-test.ml socat TCP-LISTEN:23010,reuseaddr,fork TCP-LISTEN:23000,reuseaddr,bind=127.0.0.1 & # SHIFT+CMD+K SHIFT+CMD+K ALT+CMD+F watch -n 1 'ssh ubuntu@www.zuzu-test.ml netstat -nat |grep 230' diff --git a/zflash-esp-m3.sh b/zflash-esp-m3.sh index 51f88f5..a017b33 100755 --- a/zflash-esp-m3.sh +++ b/zflash-esp-m3.sh @@ -3,7 +3,7 @@ #ATTENTION: c'est pour ma structure, il faudra donc l'adapter -#zf200720.1838 +#zf200720.1959 #test si l'argument est vide @@ -33,12 +33,12 @@ echo ---------- start zflash.sh cd ./Tools/esptool-master -python esptool.py flash_id +python3 esptool.py flash_id sleep 2 -python esptool.py erase_flash +python3 esptool.py erase_flash sleep 2 -python esptool.py write_flash -fm dout 0x00000 $1 +python3 esptool.py write_flash -fm dout 0x00000 $1 sleep 2 -# screen /dev/cu.wchusbserial1410 115200 +screen /dev/cu.wchusbserial1410 115200