J'ai enfin un esp-m3 minimaliste qui boot avec le nouveau code

This commit is contained in:
Christian Zufferey
2020-07-20 20:26:03 +02:00
parent 767333aa36
commit 374e04bb61
2 changed files with 7 additions and 7 deletions

View File

@@ -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'

View File

@@ -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