Skip to content
This repository was archived by the owner on Aug 2, 2020. It is now read-only.

Commit 75fdc57

Browse files
committed
Dirty fix for make deploy command
1 parent 02f074a commit 75fdc57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

esp32/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -779,9 +779,9 @@ $(BUILD)/firmware.bin: $(BUILD)/bootloader.bin $(BUILD)/partitions.bin $(BUILD)/
779779
$(ECHO) "Create $@"
780780
$(Q)$(PYTHON) makeimg.py $^ $@
781781

782-
deploy: $(BUILD)/firmware.bin
783-
$(ECHO) "Writing $^ to the board"
784-
$(Q)$(ESPTOOL) --chip esp32 --port $(PORT) --baud $(BAUD) write_flash -z --flash_mode $(FLASH_MODE) --flash_freq $(FLASH_FREQ) 0x1000 $^
782+
deploy: $(BUILD)/application.bin
783+
$(ECHO) "Writing full firmware to the board"
784+
$(Q)$(ESPTOOL) --chip esp32 --port $(PORT) --baud $(BAUD) write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect --flash_mode $(FLASH_MODE) --flash_freq $(FLASH_FREQ) 0x1000 ../../build/bootloader/bootloader.bin 0x8000 ../../build/partitions-16MB.bin 0x10000 build/application.bin
785785

786786
flash: $(BUILD)/firmware.bin
787787
$(ECHO) "Writing $^ to the board"

0 commit comments

Comments
 (0)