1 parent eca9a93 commit 8fff7f8Copy full SHA for 8fff7f8
1 file changed
esp8266/Makefile
@@ -80,6 +80,9 @@ deploy: $(BUILD)/firmware-combined.bin
80
#$(Q)esptool.py --port $(PORT) write_flash 0 $<
81
$(Q)esptool.py --port $(PORT) write_flash 0 $(BUILD)/firmware.elf-0x00000.bin 0x10000 $(BUILD)/firmware.elf-0x10000.bin
82
83
+reset:
84
+ echo -e "\r\nimport pyb; pyb.hard_reset()\r\n" >$(PORT)
85
+
86
$(BUILD)/firmware-combined.bin: $(BUILD)/firmware.elf
87
$(ECHO) "Create $@"
88
$(Q)esptool.py elf2image $^
0 commit comments