espressif / esptool

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

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

Closed hyansuper closed 3 months ago

hyansuper commented 3 months 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 3 months 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 3 months ago

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