Search found 643 matches

by mzimmers
Tue Nov 02, 2021 6:20 pm
Forum: ESP-IDF
Topic: (solved) WDT triggered with addition of empty function
Replies: 3
Views: 2181

Re: WDT triggered with addition of empty function

I think I discovered the problem, and the reason for the odd reporting of the WDT trigger. The trigger was indeed caused by a tight loop in my main task, but I'm guessing that because I hadn't registered the task with the WDT, the trigger wasn't being reported correctly. To experiment, I called esp_...
by mzimmers
Sat Oct 30, 2021 3:31 am
Forum: ESP-IDF
Topic: (solved) esp_event_loop_create_default() returned ESP_ERR_INVALID_STATE
Replies: 5
Views: 6602

Re: esp_event_loop_create_default() returned ESP_ERR_INVALID_STATE

Hi boarchuz - that was the problem. I had one call, but it was in a routine that was repeated. Thanks for the help.
by mzimmers
Fri Oct 29, 2021 4:20 am
Forum: ESP-IDF
Topic: (solved) esp_event_loop_create_default() returned ESP_ERR_INVALID_STATE
Replies: 5
Views: 6602

(solved) esp_event_loop_create_default() returned ESP_ERR_INVALID_STATE

Hi all - Trying to write an initialization routine...starts like this: esp_err_t wifiInit(wifi_mode_t mode) { esp_err_t err = ESP_OK; do { // step 1 in https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/wifi.html: // Wifi/LwIP Init. // step 1.1: call esp_netif_init() err = esp_netif_in...
by mzimmers
Mon Oct 25, 2021 2:33 pm
Forum: IDEs for ESP-IDF
Topic: (solved) getting VSCode to use a specific IDF
Replies: 2
Views: 6532

Re: getting VSCode to use a specific IDF

Hi bignacio -

Yes, that was the problem exactly. I removed that line from my settings.json file, (had to do a clean to empty the cmake cache) and rebuilt...I'm now picking up the right repository. Thanks for the help.
by mzimmers
Fri Oct 22, 2021 11:05 pm
Forum: IDEs for ESP-IDF
Topic: (solved) getting VSCode to use a specific IDF
Replies: 2
Views: 6532

(solved) getting VSCode to use a specific IDF

Hi all - When I began with VS Code and the IDF plugin, my IDF was located in $HOME/esp/esp-idf. I've since downloaded v4.3.1 (using git clone), and would like to use this version. I've tried to make the change in the extension setup, but I'm still using the original version. (I say this because if I...
by mzimmers
Thu Oct 21, 2021 3:31 pm
Forum: ESP-IDF
Topic: arrays in partition CSV files
Replies: 1
Views: 1335

Re: arrays in partition CSV files

Anyone? Thanks...
by mzimmers
Wed Oct 20, 2021 6:08 pm
Forum: ESP-IDF
Topic: (solved) how to include commas as parts of strings in partition tables?
Replies: 3
Views: 2432

(solved) how to include commas as parts of strings in partition tables?

Hi all - I'm trying to create a partition table with an entry like this: NVS_KEY_TZ,data,string,PST+8PDT,M3.2.0,M11.1.0 From what I can see, the nvs_partition_gen.py utility stops at the comma after "PDT," so what gets stored is just "PST+8PDT." It does so whether or not I enclose the time zone stri...
by mzimmers
Tue Oct 19, 2021 6:37 pm
Forum: ESP-IDF
Topic: arrays in partition CSV files
Replies: 1
Views: 1335

arrays in partition CSV files

Hi all - I need to store an array in NVS. I know that I can set and retrieve it using the nvs_set_blob and nvs_get_blob functions, but...is it possible to initialize the array using the partition CSV file? And if so, what is the syntax for that? My array is: {480,420,480,420,480,420,480,420,480,420,...