nvs_set_str returns ESP_ERR_NO_MEM?

freeride01
Posts: 16
Joined: Wed May 05, 2021 11:00 am

nvs_set_str returns ESP_ERR_NO_MEM?

Postby freeride01 » Wed Nov 09, 2022 11:35 am

Pretty much what the title says.
I'm trying to write a string to NVS flash with nvs_set_str. Sometimes it is successful, sometimes it returns ESP_ERR_NO_MEM, which is not even among the error codes it can return, according to documentation.
Checked heap and stack highwater mark, there is more than enough available.
Any idea what's going on?

ESP_Sprite
Posts: 9723
Joined: Thu Nov 26, 2015 4:08 am

Re: nvs_set_str returns ESP_ERR_NO_MEM?

Postby ESP_Sprite » Fri Nov 11, 2022 3:49 am

Just a guess, but possibly your NVS partition is full?

Who is online

Users browsing this forum: No registered users and 109 guests