Skip to content

Commit 5f7ce2a

Browse files
committed
esp8266/modules/flashbdev: Reserve one sector for native code storage.
1 parent 3e05df7 commit 5f7ce2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp8266/modules/flashbdev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class FlashBdev:
44

55
SEC_SIZE = 4096
6-
RESERVED_SECS = 0
6+
RESERVED_SECS = 1
77
START_SEC = esp.flash_user_start() // SEC_SIZE + RESERVED_SECS
88
NUM_BLK = 0x6b - RESERVED_SECS
99

0 commit comments

Comments
 (0)