diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-06 18:30:55 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-06 18:30:55 +1100 |
commit | e343bea6e708d69258cd3d771b35d482ae22626b (patch) | |
tree | 41e66527e8f1a9a241cb190186c53e6e525de8b8 /esp8266 | |
parent | cc7e48fdc80dec708dd3f1703490cb3d30561d91 (diff) | |
download | micropython-e343bea6e708d69258cd3d771b35d482ae22626b.tar.gz micropython-e343bea6e708d69258cd3d771b35d482ae22626b.zip |
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.
Diffstat (limited to 'esp8266')
-rw-r--r-- | esp8266/modules/flashbdev.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/modules/flashbdev.py b/esp8266/modules/flashbdev.py index 40ba655c64..8f8df0b640 100644 --- a/esp8266/modules/flashbdev.py +++ b/esp8266/modules/flashbdev.py @@ -3,7 +3,7 @@ import esp class FlashBdev: SEC_SIZE = 4096 - RESERVED_SECS = 1 + RESERVED_SECS = 0 START_SEC = esp.flash_user_start() // SEC_SIZE + RESERVED_SECS NUM_BLK = 0x6b - RESERVED_SECS |