8000 esp8266/modules/flashbdev: Change RESERVED_SECS to 0. · rch/micropython@e343bea · GitHub
[go: up one dir, main page]

Skip to content

Commit e343bea

Browse files
committed
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.
1 parent cc7e48f commit e343bea

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 = 1
6+
RESERVED_SECS = 0
77
START_SEC = esp.flash_user_start() // SEC_SIZE + RESERVED_SECS
88
NUM_BLK = 0x6b - RESERVED_SECS
99

0 commit comments

Comments
 (0)
0