Search found 5 matches

by jomi26@gmail.com
Thu Feb 11, 2021 4:28 pm
Forum: ESP-IDF
Topic: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES
Replies: 4
Views: 275

Re: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES

Hi,

thanks for the explanation. Makes sense.

Thanks for your help.
by jomi26@gmail.com
Thu Feb 11, 2021 3:23 pm
Forum: ESP-IDF
Topic: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES
Replies: 4
Views: 275

Re: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES

Hi ESP_Minatel, thanks for the quick reply. I have studied the NVS documentation again and checked my code. What I have found is that I always need to have at least one full page (0x1000bytes) free in my partition otherwise I get ESP_ERR_NVS_NO_FREE_PAGES error when calling nvs_flash_init_partition(...
by jomi26@gmail.com
Wed Feb 10, 2021 3:15 pm
Forum: ESP-IDF
Topic: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES
Replies: 4
Views: 275

NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES

Dear ESP experts, I have found that if creating a separate NVS partition (See table below) I get an ESP_ERR_NVS_NO_FREE_PAGES error when calling nvs_flash_init_partition(..) in case the size is 0x1000. When changing the size to 0x2000 it works without an error. I (64) boot: ## Label Usage Type ST Of...
by jomi26@gmail.com
Wed Nov 18, 2020 9:08 pm
Forum: ESP-IDF
Topic: IDF component include missing
Replies: 2
Views: 410

Re: IDF component include missing

Hi Chegewara,

thank you for your quick reply. It works now!

I added "REQUIRES spi_flash" to the CMake file and it works.

Thank you for your help!
by jomi26@gmail.com
Wed Nov 18, 2020 4:27 pm
Forum: ESP-IDF
Topic: IDF component include missing
Replies: 2
Views: 410

IDF component include missing

Hi, I am new to ESP32 and the IDF tools so I guess I am making a rookie mistake here but I cannot figure it out and the forum search function doesnt work right now (at least for me) I am using IDF 4.1 Here is my problem: 1. When I include esp_spi_flash.h in main.c everything compiles fine 2. When I ...

Go to advanced search