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:
- Saves a flash sector
- Simplifies the map since we can remove
phy_init
Disadvantages:
- Some existing applications may use customised flash data partitions
- SDK may require a phy_init partition at boot time, though that can probably be fudged
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_PARTITIONcan be enabled to use a partition.Advantages:
phy_initDisadvantages: