File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ MAKE_FROZEN = ../tools/make-frozen.py
1010
1111SCRIPTDIR = scripts
1212PORT = /dev/ttyACM0
13+ BAUD = 115200
1314CROSS_COMPILE = xtensa-lx106-elf-
1415ESP_SDK = $(shell $(CC ) -print-sysroot) /usr
1516
@@ -111,7 +112,7 @@ $(BUILD)/frozen.c: $(wildcard $(SCRIPTDIR)/*) $(CONFVARS_FILE)
111112deploy : $(BUILD ) /firmware-combined.bin
112113 $(ECHO ) " Writing $< to the board"
113114 # $(Q)esptool.py --port $(PORT) write_flash 0 $<
114- $(Q ) esptool.py --port $(PORT ) write_flash 0 $(BUILD ) /firmware.elf-0x00000.bin 0x10000 $(BUILD ) /firmware.elf-0x10000.bin
115+ $(Q ) time esptool.py --port $(PORT ) --baud $( BAUD ) write_flash 0 $(BUILD ) /firmware.elf-0x00000.bin 0x10000 $(BUILD ) /firmware.elf-0x10000.bin
115116
116117reset :
117118 echo -e " \r\nimport pyb; pyb.hard_reset()\r\n" > $(PORT )
You can’t perform that action at this time.
0 commit comments