Commit 5f7ce2a1 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266/modules/flashbdev: Reserve one sector for native code storage.

parent 3e05df7f
......@@ -3,7 +3,7 @@ import esp
class FlashBdev:
SEC_SIZE = 4096
RESERVED_SECS = 0
RESERVED_SECS = 1
START_SEC = esp.flash_user_start() // SEC_SIZE + RESERVED_SECS
NUM_BLK = 0x6b - RESERVED_SECS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment