summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modules/flashbdev.py
Commit message (Collapse)AuthorAge
* esp8266/modules/flashbdev: Reserve one sector for native code storage.Paul Sokolovsky2017-05-12
|
* esp8266/modules/flashbdev: Change RESERVED_SECS to 0.Damien George2017-01-06
| | | | | | | | | 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.
* esp8266/modules/flashbdev: Remove now-unused function set_bl_flash_size.Damien George2017-01-06
|
* esp8266/modules/flashbdev: Remove code to patch bootloader flash size.Paul Sokolovsky2017-01-05
| | | | | | | This code is no longer pertinent for some time - since switchover to SDK2.0, there must be correct flash size set for bootloader, or there's a risk of flash data corruption. And indeed, the correct flash size is by default auto-detected by esptool.py 1.2.
* esp8266/modules/flashbdev: Add RESERVED_SECS before the filesystem.Damien George2017-01-04
| | | | | | Starting at esp.flash_user_start(), the reserved sectors are for general purpose use, for example for native code generation. There is currently one sector reserved as such.
* esp8266/modesp: Add flash_user_start() function.Paul Sokolovsky2016-10-24
| | | | | | | | As we're looking towards adding OTA support, calculation of a FlashROM area which can be used for filesystem (etc.) may become complex, so introduce C function for that. So far it just hardcodes current value, 0x90000. In the future the function may be extended (and renamed) to return the size of area too.
* esp8266/modules/flashbdev: Start filesystem at 0x90000.Paul Sokolovsky2016-08-09
| | | | To accommodate growing firmware.
* esp8266/flashbdev: Reserve extra sysparam sector for SDK 2.0.0 compatibility.Paul Sokolovsky2016-08-06
|
* esp8266: Enable frozen bytecode, with scripts in modules/ subdir.Damien George2016-06-29
To start with, the critical scripts _boot.py and flashbdev.py are frozen to improve performance and reduce RAM consumption. Saves about 1000 bytes of heap RAM for a bare boot with filesystem.