Skip to content

Commit

Permalink
esp8266/modules/flashbdev: Reserve one sector for native code storage.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Sokolovsky committed May 12, 2017
1 parent 3e05df7 commit 5f7ce2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp8266/modules/flashbdev.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class FlashBdev:

SEC_SIZE = 4096
RESERVED_SECS = 0
RESERVED_SECS = 1
START_SEC = esp.flash_user_start() // SEC_SIZE + RESERVED_SECS
NUM_BLK = 0x6b - RESERVED_SECS

Expand Down

0 comments on commit 5f7ce2a

Please sign in to comment.