760 B
760 B
Provenance of flowrs-boards
The ESP8266 ROM erase size
Until 2026-10-27, src/esp8266_rom.rs held the erase size the ESP8266 ROM loader must be given
in FLASH_BEGIN. It was a transcription of ESP8266ROM.get_erase_size in esptool.py
(GPL-2.0-or-later). flowRS kept it out of the crates it publishes, but the browser flasher still
compiled it into the IDE.
Commit e4a336ba removed it. The rule was rewritten clean-room and now lives in
flowrs-transport, the published crate that speaks the protocol it belongs to:
flowrs_transport::esptool::esp8266_rom::erase_size. The record of what the rewrite consulted,
with licences, how esptool.py was used as a black-box oracle, and how the result was verified is
in crates/flowrs-transport/PROVENANCE.md.