Open emintz opened 1 month ago
NVS is used by WiFi. Why are you deiniting it?
Thank you for answering so quickly.
The dependency appears not to be documented, so I thought I could save resources by removing it when I no longer need it. Please consider marking the issue as a request that the dependency be documented..
On Fri, Jul 19, 2024, 03:04 Me No Dev @.***> wrote:
NVS is used by WiFi. Why are you deiniting it?
— Reply to this email directly, view it on GitHub https://github.com/espressif/arduino-esp32/issues/10048#issuecomment-2238512578, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6QNG3NR5CPHL6N7QRRL2LZNC27NAVCNFSM6AAAAABLDPJKP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZYGUYTENJXHA . You are receiving this because you authored the thread.Message ID: @.***>
Thank you for answering so quickly. The dependency appears not to be documented, so I thought I could save resources by removing it when I no longer need it. Please consider marking the issue as a request that the dependency be documented.. … On Fri, Jul 19, 2024, 03:04 Me No Dev @.> wrote: NVS is used by WiFi. Why are you deiniting it? — Reply to this email directly, view it on GitHub <#10048 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6QNG3NR5CPHL6N7QRRL2LZNC27NAVCNFSM6AAAAABLDPJKP2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZYGUYTENJXHA . You are receiving this because you authored the thread.Message ID: @.>
its documented actually
Board
AITRIP 38pin ESP-WROOM-32 ESP32 ESP-32S Development Board (https://www.amazon.com/gp/product/B0B12822SF/ref=ppx_yo_dt_b_search_asin_title?th=1)
Device Description
This is the bare board as provided by the manufacturer. It is a bare bones system consisting of an ESP32 S2 with builtin WiFi antenna on a board with a voltage regulator, LED, USB interface, and a few other supporting parts. It is a generic, low-end product that I bought because it is inexpensive and works.
Hardware Configuration
No peripherals are attached.
Version
v3.0.3
IDE Name
Sloeber
Operating System
Ubuntu 22.04
Flash frequency
80 MHz
PSRAM enabled
no
Upload speed
115200
Description
I need to retrieve WiFi credentials and other configuration settings from NVRAM. I will run a short configuration sketch to set them, then install the application that will retrieve them. I have disabled "wipe flash on upload".
I am using the nvs library to retrieve the configuration values. WiFi.begin() fails if I invoke nvs_flash_deinit().
Sketch
Debug Message
Other Steps to Reproduce
Sorry, nothing comes to mind.
I have checked existing issues, online documentation and the Troubleshooting Guide