SmingHub / Sming

Sming - powerful open source framework simplifying the creation of embedded C++ applications.
https://sming.readthedocs.io
GNU Lesser General Public License v3.0
1.45k stars 349 forks source link

Esp8266 and Esp32 PHY init data storage #2840

Open mikee47 opened 1 week ago

mikee47 commented 1 week ago

PHY init data is only 128 bytes so using an entire sector is not optimal. We could refactor to include the data as a BLOB in each ROM.

esp-idf does exactly this - see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/partition-tables.html, although the CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION can be enabled to use a partition.

Advantages:

Disadvantages:

mikee47 commented 1 week ago

See also https://sming.readthedocs.io/en/latest/information/tips-n-tricks.html#reading-vcc-on-esp8266 which would be affected.