File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ ifeq ($(ESP_SDK),)
1010$(error ESP_SDK must be set)
1111endif
1212
13+ PORT = /dev/ttyACM0
1314CROSS_COMPILE = xtensa-lx106-elf-
1415
1516INC = -I.
@@ -72,9 +73,9 @@ all: $(BUILD)/firmware-combined.bin
7273
7374deploy : $(BUILD ) /firmware-combined.bin
7475 $(ECHO ) " Writing $< to the board"
75- $(Q ) esptool.py --port /dev/ttyACM0 write_flash 0 $<
76- # $(Q)esptool.py --port /dev/ttyACM0 write_flash 0 $(BUILD)/firmware.elf-0x00000.bin
77- # $(Q)esptool.py --port /dev/ttyACM0 write_flash 0x10000 $(BUILD)/firmware.elf-0x10000.bin
76+ $(Q ) esptool.py --port $( PORT ) write_flash 0 $<
77+ # $(Q)esptool.py --port $(PORT) write_flash 0 $(BUILD)/firmware.elf-0x00000.bin
78+ # $(Q)esptool.py --port $(PORT) write_flash 0x10000 $(BUILD)/firmware.elf-0x10000.bin
7879
7980$(BUILD ) /firmware-combined.bin : $(BUILD ) /firmware.elf
8081 $(ECHO ) " Create $@ "
You can’t perform that action at this time.
0 commit comments