Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Esp8266 and Esp32 PHY init data storage #2840

Open
mikee47 opened this issue Jun 25, 2024 · 1 comment
Open

Esp8266 and Esp32 PHY init data storage #2840

mikee47 opened this issue Jun 25, 2024 · 1 comment
Labels

Comments

@mikee47
Copy link
Contributor

mikee47 commented Jun 25, 2024

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
@mikee47 mikee47 added the Ideas label Jun 25, 2024
@mikee47
Copy link
Contributor Author

mikee47 commented Jun 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant