refactor, remove debug output
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,18 +1,22 @@
|
||||
SERIAL_PORT=/dev/tty.SLAB_USBtoUART
|
||||
#SERIAL_PORT=/dev/tty.wchusbserial1420
|
||||
#SERIAL_PORT=/dev/tty.SLAB_USBtoUART
|
||||
SERIAL_PORT=/dev/tty.wchusbserial1410
|
||||
#SERIAL_PORT=/dev/ttyUSB0
|
||||
|
||||
all: flash update config
|
||||
all: flash lib config update reboot
|
||||
|
||||
reboot:
|
||||
esptool.py -p $(SERIAL_PORT) --after hard_reset read_mac
|
||||
|
||||
lib:
|
||||
sleep 1
|
||||
ampy -p $(SERIAL_PORT) put uwebsockets.py
|
||||
|
||||
update:
|
||||
sleep 3
|
||||
ampy -p $(SERIAL_PORT) put hal.py
|
||||
ampy -p $(SERIAL_PORT) put main.py
|
||||
ampy -p $(SERIAL_PORT) put boot.py
|
||||
|
||||
config:
|
||||
sleep 3
|
||||
ampy -p $(SERIAL_PORT) put config.json
|
||||
|
||||
flash:
|
||||
|
||||
Reference in New Issue
Block a user