Search found 3 matches

by RichardFalk
Sat Nov 30, 2024 9:43 am
Forum: ESP-IDF
Topic: [SOLVED] Best practice to avoid wdt trigger
Replies: 10
Views: 20714

Re: [SOLVED] Best practice to avoid wdt trigger

First of all, you don't use a parameter of "1 / portTICK_PERIOD_MS" for vTaskDelay since portTICK_PERIOD_MS is typically 10 ms for a 100Hz tick frequency so the integer divide will truncate to 0.

Using RTOS, the shortest delay is vTaskDelay(1) for 1 tick which with a 100 Hz frequency is 10 ms ...
by RichardFalk
Sun Aug 04, 2024 7:36 am
Forum: ESP-AT 中文讨论版
Topic: esp-at编译问题
Replies: 2
Views: 6163

Re: esp-at编译问题

I ran into this same problem today. It occurred after I updated pip to the latest version based on a message I saw though perhaps that was just coincidental and I caused this problem in some other way. I do switch back and forth between ESP-IDF versions which normally is not a problem, but at any ...
by RichardFalk
Mon Oct 11, 2021 9:03 pm
Forum: ESP-IDF
Topic: esp_wifi_set_storage(WIFI_STORAGE_FLASH)
Replies: 5
Views: 10436

Re: esp_wifi_set_storage(WIFI_STORAGE_FLASH)

The NVS key ap.sndchan get set on every esp_wifi_init but since the value isn't normally changing, it does not write to Flash (low-level Flash code reads the value and compares before doing a write or erasure).

However, the NVS keys sta.chan and sta.apinfo are set on every esp_wifi_connect and ...

Go to advanced search