espressif / esptool

Espressif SoC serial bootloader utility
https://docs.espressif.com/projects/esptool
GNU General Public License v2.0
5.51k stars 1.37k forks source link

Can I flash WiFi ssid and pw into default NVS? (ESPTOOL-907) #1001

Closed hyansuper closed 1 month ago

hyansuper commented 1 month ago

Is your feature request related to a problem?

No response

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

dobairoland commented 1 month ago

You can flash anything (even random bytes) to anywhere in the flash. But you (or the the upper application layer of ESP-IDF) have to know what goes and to where. Please consult the ESP-IDF documentation to find more about this. Esptool directly cannot help you with this. And we, esptool developers, are not able to answer this question.

dobairoland commented 1 month ago

This is probably a good starting point: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/nvs_flash.html