Skip to content

Commit 301d3aa

Browse files
committed
Add make flash to makefile
1 parent e498c67 commit 301d3aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

esp32/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,10 @@ deploy: $(BUILD)/firmware.bin
732732
$(ECHO) "Writing $^ to the board"
733733
$(Q)$(ESPTOOL) --chip esp32 --port $(PORT) --baud $(BAUD) write_flash -z --flash_mode $(FLASH_MODE) --flash_freq $(FLASH_FREQ) 0x1000 $^
734734

735+
flash: $(BUILD)/firmware.bin
736+
$(ECHO) "Writing $^ to the board"
737+
$(Q)$(ESPTOOL) --port $(PORT) --baud $(BAUD) write_flash 0x10000 build/application.bin
738+
735739
erase:
736740
$(ECHO) "Erasing flash"
737741
$(Q)$(ESPTOOL) --chip esp32 --port $(PORT) --baud $(BAUD) erase_flash

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy