Search found 643 matches
- Thu Sep 30, 2021 1:17 am
- Forum: ESP-IDF
- Topic: (solved) NVS call not finding partition
- Replies: 10
- Views: 6229
Re: NVS call not finding partition
Thanks, Chegewara - it appears to be safe to call nvs_flash_init_partition() more than once. How does this modified code look (seems to work)? if (pConfig == 0x0) { // only execute this once. pConfig = malloc(sizeof(config_mode_app_dct_t)); rc = nvs_flash_init_partition(NVS_PARTITION_NAME); if (rc =...
- Thu Sep 30, 2021 12:30 am
- Forum: ESP-IDF
- Topic: (solved) NVS call not finding partition
- Replies: 10
- Views: 6229
Re: NVS call not finding partition
So, does the initialization apply across tasks?
- Thu Sep 30, 2021 12:25 am
- Forum: ESP-IDF
- Topic: (solved) NVS call not finding partition
- Replies: 10
- Views: 6229
Re: NVS call not finding partition
Hi Chegewara - I'm attempting to determine whether I need to make that call. Another task might have already called it; in that case, should I have to call it here? Ideally, I'd like to see whether the partition is initialized, and if not, then call the init() function. Is this not the right way to ...
- Wed Sep 29, 2021 10:59 pm
- Forum: ESP-IDF
- Topic: (solved) NVS call not finding partition
- Replies: 10
- Views: 6229
Re: NVS call not finding partition
Hi WiFive - thank you for the suggestion. May I ask why you want me to do this? It doesn't seem to address the issue that it's not finding a partition that appears to be "findable."
Thanks...
Thanks...
- Wed Sep 29, 2021 10:34 pm
- Forum: ESP-IDF
- Topic: (solved) NVS call not finding partition
- Replies: 10
- Views: 6229
- Wed Sep 29, 2021 9:27 pm
- Forum: ESP-IDF
- Topic: (solved) NVS call not finding partition
- Replies: 10
- Views: 6229
(solved) NVS call not finding partition
Hi all - I'm getting an error I don't understand -- when I try to call nvs_open_from_partition(), I'm getting "ESP_ERR_NVS_PART_NOT_FOUND." There are 2 things I don't understand about this: 1. The partition is indeed there 2. Shouldn't I be getting a "ESP_ERR_NVS_NOT_INITIALIZED" instead, since I ha...
- Mon Sep 27, 2021 6:37 pm
- Forum: IDEs for ESP-IDF
- Topic: (solved) using VS Code, build can't find uart.h
- Replies: 4
- Views: 5900
- Mon Sep 27, 2021 6:21 pm
- Forum: IDEs for ESP-IDF
- Topic: (solved) using VS Code, build can't find uart.h
- Replies: 4
- Views: 5900
Re: using VS Code, build can't find uart.h
Hi chegewara -
I sort of thought it might be something like that (I tried a few combinations, but not of mine worked). So, why did my build work using idf.py?
I sort of thought it might be something like that (I tried a few combinations, but not of mine worked). So, why did my build work using idf.py?
- Mon Sep 27, 2021 5:02 pm
- Forum: IDEs for ESP-IDF
- Topic: (solved) using VS Code, build can't find uart.h
- Replies: 4
- Views: 5900
(solved) using VS Code, build can't find uart.h
Hi all - I'm still working my way through the nuances of using the VS Code IDE. I tried adding an include to uart.h to a header file, and it gives an error that the file isn't found. The build works without error using idf.py. All the other ESP-IDF header files are found: #include "freertos/FreeRTOS...
- Wed Sep 22, 2021 1:32 am
- Forum: IDEs for ESP-IDF
- Topic: getting the debugger working in VS Code
- Replies: 9
- Views: 29933
getting the debugger working in VS Code
Hi all - I'm delighted that we now have an interactive debugger for the ESP32. I've read https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/debugging.md and they mostly make sense, but as a newcomer to this stuff, I could use a little more detail. I'm using a ESP32-WROOM...