2018-01-10 21:48:50 +00:00
|
|
|
all: flash update wifis
|
2018-01-10 21:21:26 +00:00
|
|
|
ampy -p /dev/tty.SLAB_USBtoUART put uwebsockets.py
|
|
|
|
|
|
|
|
update:
|
2018-01-10 21:48:50 +00:00
|
|
|
sleep 3
|
2018-01-10 21:21:26 +00:00
|
|
|
ampy -p /dev/tty.SLAB_USBtoUART put hal.py
|
2018-01-10 21:48:50 +00:00
|
|
|
ampy -p /dev/tty.SLAB_USBtoUART put main.py
|
|
|
|
ampy -p /dev/tty.SLAB_USBtoUART put boot.py
|
2018-01-10 21:21:26 +00:00
|
|
|
|
2018-01-12 09:11:36 +00:00
|
|
|
config:
|
2018-01-10 21:48:50 +00:00
|
|
|
sleep 3
|
2018-01-12 09:11:36 +00:00
|
|
|
ampy -p /dev/tty.SLAB_USBtoUART put config.json
|
2018-01-10 21:21:26 +00:00
|
|
|
|
|
|
|
flash:
|
|
|
|
esptool.py -p /dev/tty.SLAB_USBtoUART -b 460800 erase_flash
|
|
|
|
esptool.py -p /dev/tty.SLAB_USBtoUART -b 460800 write_flash --flash_mode dio 0x1000 esp32-*.bin
|