esp8266/modules/flashbdev: Reserve one sector for native code storage.
This commit is contained in:
parent
3e05df7fd1
commit
5f7ce2a1ca
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user