Skip to content
Snippets Groups Projects
Commit e343bea6 authored by Damien George's avatar Damien George
Browse files

esp8266/modules/flashbdev: Change RESERVED_SECS to 0.

This effectively reverts the change that introduced this new constant.
The reason is so that users do not need to rebuild the filesystem on
their modules when upgrading the firmware.

Users can change RESERVED_SECS by hand if they need the feature, and in
future firmware it may default to a non-zero value.
parent cc7e48fd
Branches
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ import esp ...@@ -3,7 +3,7 @@ import esp
class FlashBdev: class FlashBdev:
SEC_SIZE = 4096 SEC_SIZE = 4096
RESERVED_SECS = 1 RESERVED_SECS = 0
START_SEC = esp.flash_user_start() // SEC_SIZE + RESERVED_SECS START_SEC = esp.flash_user_start() // SEC_SIZE + RESERVED_SECS
NUM_BLK = 0x6b - RESERVED_SECS NUM_BLK = 0x6b - RESERVED_SECS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment