esp8266/scripts/flashbdev: Use all available space in 1MB FlashROM for FS.

This commit is contained in:
Paul Sokolovsky 2016-04-18 01:23:04 +03:00
parent d76ebde85e
commit 3a5a35aaec

View File

@ -3,8 +3,8 @@ import esp
class FlashBdev: class FlashBdev:
SEC_SIZE = 4096 SEC_SIZE = 4096
START_SEC = 0xa0000 // SEC_SIZE START_SEC = 0x89000 // SEC_SIZE
NUM_BLK = 64 NUM_BLK = 0x73
def __init__(self, blocks=NUM_BLK): def __init__(self, blocks=NUM_BLK):
self.blocks = blocks self.blocks = blocks