esp8266/modules/flashbdev: Reserve one sector for native code storage.

This commit is contained in:
Paul Sokolovsky 2017-05-12 16:08:54 +03:00
parent 3e05df7fd1
commit 5f7ce2a1ca
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import esp
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