Skip to content
This repository was archived by the owner on Oct 28, 2023. It is now read-only.

Commit 2d3efae

Browse files
authored
Merge pull request SHA2017-badge#195 from SHA2017-badge/erase_otadata
Erase the otadata partition when flashing firmware, so that we can be…
2 parents f4e74fd + 07a9646 commit 2d3efae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

esp32/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@ deploy: $(BUILD)/firmware.bin
735735

736736
flash: $(BUILD)/firmware.bin
737737
$(ECHO) "Writing $^ to the board"
738+
$(Q)$(ESPTOOL) --port $(PORT) --baud $(BAUD) erase_region 0xd000 0x2000
738739
$(Q)$(ESPTOOL) --port $(PORT) --baud $(BAUD) write_flash 0x10000 build/application.bin
739740

740741
erase:

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