Closed MisterScience5 closed 11 months ago
I've been experimenting a lot with this, it seems to either be gone or less frequent after i did the following two changes:
Sadly, I can't confirm which of these made a difference as I did them close in time and didn't register any errors meanwhile. I'll be able to confirm whether the error is fully gone or only less frequent in a few days as I have a large network of mesh nodes running and logging data.
I also made a better disable function to help with these sorts of deadlocks, using a separate high priority task with a watchdog.
void esp_mesh_disable_task(void *arg)
{
esp_err_t err = ESP_OK;
esp_task_wdt_add(NULL);
esp_mesh_disabling = true;
err = esp_mesh_set_self_organized(false, false);
ESP_LOGI(MESH_TAG, "Disabling self organized returned 0x%x (%s)", err, esp_err_to_name(err));
sleep(20);
err = esp_mesh_disconnect();
ESP_LOGI(MESH_TAG, "Disconnecting from parent returned 0x%x (%s)", err, esp_err_to_name(err));
sleep(20);
err = esp_wifi_scan_stop();
ESP_LOGI(MESH_TAG, "Stopping scan returned 0x%x (%s)", err, esp_err_to_name(err));
sleep(20);
err = esp_mesh_flush_scan_result();
ESP_LOGI(MESH_TAG, "Flushing scan results returned 0x%x (%s)", err, esp_err_to_name(err));
sleep(20);
err = esp_mesh_flush_upstream_packets();
ESP_LOGI(MESH_TAG, "Flushing upstream packets returned 0x%x (%s)", err, esp_err_to_name(err));
sleep(20);
esp_log_level_set("mesh", ESP_LOG_ERROR);
err = esp_mesh_stop();
ESP_LOGI(MESH_TAG, "Stopping mesh returned 0x%x (%s)", err, esp_err_to_name(err));
sleep(100);
err = esp_mesh_deinit();
ESP_LOGI(MESH_TAG, "Deiniting mesh returned 0x%x (%s)", err, esp_err_to_name(err));
sleep(100);
esp_log_level_set("mesh", ESP_LOG_WARN);
ESP_LOGW(MESH_TAG, "ESP mesh disabled!");
err = esp_wifi_stop();
ESP_LOGI(MESH_TAG, "Stopping wifi returned 0x%x (%s)", err, esp_err_to_name(err));
sleep(100);
esp_mesh_disabling = false;
esp_task_wdt_delete(NULL);
vTaskDelete(NULL);
}
esp_err_t esp_mesh_disable()
{
uint32_t timeout = 0;
mesh_tx_pending_t tx_pending = { 0, };
esp_err_t err = ESP_OK;
if(esp_mesh_active)
{
xTaskCreate(&esp_mesh_disable_task, "mesh_dis", 4096, NULL, 17, NULL);
while(esp_mesh_disabling && timeout < 20000)
{
sleep(100);
}
if(!esp_mesh_active)
{
return ESP_OK;
}
return ESP_FAIL;
} else {
ESP_LOGE(MESH_TAG, "Mesh network already disabled!");
return ESP_OK;
}
return err;
}
@MisterScience5 I think there are three things you can optimize in your enable function:
esp_mesh_set_xon_qsize(128)
to enlarge the xon window .esp_mesh_set_self_organized(true, false)
since you have set the mesh network to fixed-root
, the first parameter of the esp_mesh_set_self_organized()
function means enable self-organized network, means the root node is automatically selected by voting.esp_mesh_send_block_time()
to set the mesh packet lifetime, then the mesh node will not always show W (32119) mesh: [mesh_schedule.c,3130] [WND-RX]max_wnd:2, 1800 ms timeout, seqno:0, xseqno:1, no_wnd_count:0, timeout_count:13
, it will return TX_TIMEOUT when the lifetime has reached.Thank you for the tips, after reading other bugreports I did already implement the following in my esp_mesh_enable function: esp_mesh_send_block_time(2000); esp_mesh_set_xon_qsize(128);
As for the self organized, I take it you mean only for the root node? As I understand the docs, the nodes will need self organized to automatically connect to a parent, or have I misunderstood?
I have noticed the problem a lot less frequently, however I did manage to provoke it still by sending a lot of frames (~1300 frames of approx. 1024B) to the broadcast address, this caused the same lockup even with optimization 1 and 3 in place. The wifi seems to be stalling when too many packets build up, which causes esp_restart and network functions to become blocked indefinitely.
I should mention that I am using an external 32k crystal, I see this has been relevant in other somewhat similar bugreports. I have, however, seen the lockup on units that are not equipped with a crystal (I have 4 units with crystals in my mesh, and currently 22 without).
Another update, as the diagnostic states, I was using the Wifi LR protocol for these nodes. Having tested it with 802.11b/g/n, the problem seems to have gone away, so somehow this bug seems tied to using that protocol. It may be a timing issue?
To my greater surprise, I now seem to have a lot better connectivity, whereas when we started using the LR protocol a few years back, it gave us better results than b/g/n for devices with a low signal.
The data rate LR protocol is 1/2 Mbps or 1/4 Mbps, it will give better results than b/g/n for devices with a low signal. Please refer to the doc on when to use LR.
I have noticed the problem a lot less frequently, however I did manage to provoke it still by sending a lot of frames (~1300 frames of approx. 1024B) to the broadcast address, this caused the same lockup
If you want to send a lot of frames, and your signal is not bad, suggest to set the 802.11 b/g/n protocol.
That is the expected result, but somehow we are now seeing better connections (more stable connections on a poor signal) with B/G/N than LR, however we prefer B/G/N, so this issue is not critical for me.
The main problem is that I do still see sometimes the lockup, which will trigger the task watchdog of my safety task, however the device will not always reboot from the watchdog. Before, the lockup would happen during mesh use, but that has cleared up since moving to B/G/N. Now, the lockup so far has only happened when stopping the mesh.
On the device below, I have disabled bluetooth coex, but bluetooth is enabled in the SDK configuration. The device is set up to use a 32k crystal, however the device in question does not have one, and falls back to the internal 150kHz oscillator on boot.
Here is a log from the device when hit by the lockup, which tends to occur upon stopping the mesh:
I (11:17:33.866) esp_mesh: <MESH_EVENT_TODS_REACHABLE>state:0
I (11:17:33.871) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (11:17:33.870) esp_mesh: Got new time from root, node time was 1.7424 seconds compared to root
I (11:17:33.885) esp_mesh: <MESH_EVENT_STOPPED>
E (95759) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (95759) task_wdt: - status_task (CPU 0/1)
E (95759) task_wdt: Tasks currently running:
E (95759) task_wdt: CPU 0: IDLE
E (95759) task_wdt: CPU 1: IDLE
E (95759) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400EFA7F:0x3FFBFD60 0x40082FB1:0x3FFBFD90 0x4008979B:0x3FFB2520 0x400EDBA5:0x3FFB2540 0x400D4A6B:0x3FFB2560 0x4008CAEC:0x3FFB2580
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EFA7F: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (95759) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863BF:0x3FFC0370 0x40082FB1:0x3FFC0390 0x4008979B:0x3FFB2C80 0x400EDBA5:0x3FFB2CA0 0x400D4A6B:0x3FFB2CC0 0x4008CAEC:0x3FFB2CE0
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400863BF: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (155809) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (155809) task_wdt: - status_task (CPU 0/1)
E (155809) task_wdt: Tasks currently running:
E (155809) task_wdt: CPU 0: IDLE
E (155809) task_wdt: CPU 1: IDLE
E (155809) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400EFA7F:0x3FFBFD60 0x40082FB1:0x3FFBFD90 0x4008979B:0x3FFB2520 0x400EDBA5:0x3FFB2540 0x400D4A6B:0x3FFB2560 0x4008CAEC:0x3FFB2580
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EFA7F: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (155809) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863BF:0x3FFC0370 0x40082FB1:0x3FFC0390 0x4008979B:0x3FFB2C80 0x400EDBA5:0x3FFB2CA0 0x400D4A6B:0x3FFB2CC0 0x4008CAEC:0x3FFB2CE0
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400863BF: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (215869) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (215869) task_wdt: - status_task (CPU 0/1)
E (215869) task_wdt: Tasks currently running:
E (215869) task_wdt: CPU 0: IDLE
E (215869) task_wdt: CPU 1: IDLE
E (215869) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400EFA7F:0x3FFBFD60 0x40082FB1:0x3FFBFD90 0x4008979B:0x3FFB2520 0x400EDBA5:0x3FFB2540 0x400D4A6B:0x3FFB2560 0x4008CAEC:0x3FFB2580
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EFA7F: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (215869) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863BF:0x3FFC0370 0x40082FB1:0x3FFC0390 0x4008979B:0x3FFB2C80 0x400EDBA5:0x3FFB2CA0 0x400D4A6B:0x3FFB2CC0 0x4008CAEC:0x3FFB2CE0
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400863BF: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (275919) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (275919) task_wdt: - status_task (CPU 0/1)
E (275919) task_wdt: Tasks currently running:
E (275919) task_wdt: CPU 0: IDLE
E (275919) task_wdt: CPU 1: IDLE
E (275919) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400EFA7F:0x3FFBFD60 0x40082FB1:0x3FFBFD90 0x4008979B:0x3FFB2520 0x400EDBA5:0x3FFB2540 0x400D4A6B:0x3FFB2560 0x4008CAEC:0x3FFB2580
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EFA7F: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (275919) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863BF:0x3FFC0370 0x40082FB1:0x3FFC0390 0x4008979B:0x3FFB2C80 0x400EDBA5:0x3FFB2CA0 0x400D4A6B:0x3FFB2CC0 0x4008CAEC:0x3FFB2CE0
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400863BF: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (335969) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (335969) task_wdt: - status_task (CPU 0/1)
E (335969) task_wdt: Tasks currently running:
E (335969) task_wdt: CPU 0: IDLE
E (335969) task_wdt: CPU 1: IDLE
E (335969) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400EFA7F:0x3FFBFD60 0x40082FB1:0x3FFBFD90 0x4008979B:0x3FFB2520 0x400EDBA5:0x3FFB2540 0x400D4A6B:0x3FFB2560 0x4008CAEC:0x3FFB2580
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EFA7F: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (335969) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863BF:0x3FFC0370 0x40082FB1:0x3FFC0390 0x4008979B:0x3FFB2C80 0x400EDBA5:0x3FFB2CA0 0x400D4A6B:0x3FFB2CC0 0x4008CAEC:0x3FFB2CE0
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400863BF: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (396029) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (396029) task_wdt: - status_task (CPU 0/1)
E (396029) task_wdt: Tasks currently running:
E (396029) task_wdt: CPU 0: IDLE
E (396029) task_wdt: CPU 1: IDLE
E (396029) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400EFA7F:0x3FFBFD60 0x40082FB1:0x3FFBFD90 0x4008979B:0x3FFB2520 0x400EDBA5:0x3FFB2540 0x400D4A6B:0x3FFB2560 0x4008CAEC:0x3FFB2580
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EFA7F: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (396029) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863BF:0x3FFC0370 0x40082FB1:0x3FFC0390 0x4008979B:0x3FFB2C80 0x400EDBA5:0x3FFB2CA0 0x400D4A6B:0x3FFB2CC0 0x4008CAEC:0x3FFB2CE0
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400863BF: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x40082FB1: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008979B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400EDBA5: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x400D4A6B: [WinError 2] Systemet finner ikke angitt fil
xtensa-esp32-elf-addr2line -pfiaC -e c:\ESP\ilume\ilume\build\ilume.elf 0x4008CAEC: [WinError 2] Systemet finner ikke angitt fil
E (456079) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (456079) task_wdt: - status_task (CPU 0/1)
E (456079) task_wdt: Tasks currently running:
E (456079) task_wdt: CPU 0: IDLE
E (456079) task_wdt: CPU 1: IDLE
E (456079) task_wdt: Print CPU 0 (current core) backtrace
Here is the sdkconfig for the software running on the crashed device:
#
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) 5.1.1 Project Configuration
#
CONFIG_SOC_BROWNOUT_RESET_SUPPORTED="Not determined"
CONFIG_SOC_TWAI_BRP_DIV_SUPPORTED="Not determined"
CONFIG_SOC_DPORT_WORKAROUND="Not determined"
CONFIG_SOC_CAPS_ECO_VER_MAX=301
CONFIG_SOC_ADC_SUPPORTED=y
CONFIG_SOC_DAC_SUPPORTED=y
CONFIG_SOC_UART_SUPPORTED=y
CONFIG_SOC_MCPWM_SUPPORTED=y
CONFIG_SOC_GPTIMER_SUPPORTED=y
CONFIG_SOC_SDMMC_HOST_SUPPORTED=y
CONFIG_SOC_BT_SUPPORTED=y
CONFIG_SOC_PCNT_SUPPORTED=y
CONFIG_SOC_WIFI_SUPPORTED=y
CONFIG_SOC_SDIO_SLAVE_SUPPORTED=y
CONFIG_SOC_TWAI_SUPPORTED=y
CONFIG_SOC_EMAC_SUPPORTED=y
CONFIG_SOC_ULP_SUPPORTED=y
CONFIG_SOC_CCOMP_TIMER_SUPPORTED=y
CONFIG_SOC_RTC_FAST_MEM_SUPPORTED=y
CONFIG_SOC_RTC_SLOW_MEM_SUPPORTED=y
CONFIG_SOC_RTC_MEM_SUPPORTED=y
CONFIG_SOC_I2S_SUPPORTED=y
CONFIG_SOC_RMT_SUPPORTED=y
CONFIG_SOC_SDM_SUPPORTED=y
CONFIG_SOC_GPSPI_SUPPORTED=y
CONFIG_SOC_LEDC_SUPPORTED=y
CONFIG_SOC_I2C_SUPPORTED=y
CONFIG_SOC_SUPPORT_COEXISTENCE=y
CONFIG_SOC_AES_SUPPORTED=y
CONFIG_SOC_MPI_SUPPORTED=y
CONFIG_SOC_SHA_SUPPORTED=y
CONFIG_SOC_FLASH_ENC_SUPPORTED=y
CONFIG_SOC_SECURE_BOOT_SUPPORTED=y
CONFIG_SOC_TOUCH_SENSOR_SUPPORTED=y
CONFIG_SOC_BOD_SUPPORTED=y
CONFIG_SOC_ULP_FSM_SUPPORTED=y
CONFIG_SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL=5
CONFIG_SOC_XTAL_SUPPORT_26M=y
CONFIG_SOC_XTAL_SUPPORT_40M=y
CONFIG_SOC_XTAL_SUPPORT_AUTO_DETECT=y
CONFIG_SOC_ADC_RTC_CTRL_SUPPORTED=y
CONFIG_SOC_ADC_DIG_CTRL_SUPPORTED=y
CONFIG_SOC_ADC_DMA_SUPPORTED=y
CONFIG_SOC_ADC_PERIPH_NUM=2
CONFIG_SOC_ADC_MAX_CHANNEL_NUM=10
CONFIG_SOC_ADC_ATTEN_NUM=4
CONFIG_SOC_ADC_DIGI_CONTROLLER_NUM=2
CONFIG_SOC_ADC_PATT_LEN_MAX=16
CONFIG_SOC_ADC_DIGI_MIN_BITWIDTH=9
CONFIG_SOC_ADC_DIGI_MAX_BITWIDTH=12
CONFIG_SOC_ADC_DIGI_RESULT_BYTES=2
CONFIG_SOC_ADC_DIGI_DATA_BYTES_PER_CONV=4
CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_HIGH=2
CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_LOW=20
CONFIG_SOC_ADC_RTC_MIN_BITWIDTH=9
CONFIG_SOC_ADC_RTC_MAX_BITWIDTH=12
CONFIG_SOC_SHARED_IDCACHE_SUPPORTED=y
CONFIG_SOC_IDCACHE_PER_CORE=y
CONFIG_SOC_CPU_CORES_NUM=2
CONFIG_SOC_CPU_INTR_NUM=32
CONFIG_SOC_CPU_HAS_FPU=y
CONFIG_SOC_CPU_BREAKPOINTS_NUM=2
CONFIG_SOC_CPU_WATCHPOINTS_NUM=2
CONFIG_SOC_CPU_WATCHPOINT_SIZE=64
CONFIG_SOC_DAC_CHAN_NUM=2
CONFIG_SOC_DAC_RESOLUTION=8
CONFIG_SOC_DAC_DMA_16BIT_ALIGN=y
CONFIG_SOC_GPIO_PORT=1
CONFIG_SOC_GPIO_PIN_COUNT=40
CONFIG_SOC_GPIO_VALID_GPIO_MASK=0xFFFFFFFFFF
CONFIG_SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK=0xEF0FEA
CONFIG_SOC_I2C_NUM=2
CONFIG_SOC_I2C_FIFO_LEN=32
CONFIG_SOC_I2C_CMD_REG_NUM=16
CONFIG_SOC_I2C_SUPPORT_SLAVE=y
CONFIG_SOC_I2C_SUPPORT_APB=y
CONFIG_SOC_I2S_NUM=2
CONFIG_SOC_I2S_HW_VERSION_1=y
CONFIG_SOC_I2S_SUPPORTS_APLL=y
CONFIG_SOC_I2S_SUPPORTS_PLL_F160M=y
CONFIG_SOC_I2S_SUPPORTS_PDM=y
CONFIG_SOC_I2S_SUPPORTS_PDM_TX=y
CONFIG_SOC_I2S_PDM_MAX_TX_LINES=1
CONFIG_SOC_I2S_SUPPORTS_PDM_RX=y
CONFIG_SOC_I2S_PDM_MAX_RX_LINES=1
CONFIG_SOC_I2S_SUPPORTS_ADC_DAC=y
CONFIG_SOC_I2S_SUPPORTS_ADC=y
CONFIG_SOC_I2S_SUPPORTS_DAC=y
CONFIG_SOC_I2S_SUPPORTS_LCD_CAMERA=y
CONFIG_SOC_I2S_TRANS_SIZE_ALIGN_WORD=y
CONFIG_SOC_I2S_LCD_I80_VARIANT=y
CONFIG_SOC_LCD_I80_SUPPORTED=y
CONFIG_SOC_LCD_I80_BUSES=2
CONFIG_SOC_LCD_I80_BUS_WIDTH=24
CONFIG_SOC_LEDC_HAS_TIMER_SPECIFIC_MUX=y
CONFIG_SOC_LEDC_SUPPORT_APB_CLOCK=y
CONFIG_SOC_LEDC_SUPPORT_REF_TICK=y
CONFIG_SOC_LEDC_SUPPORT_HS_MODE=y
CONFIG_SOC_LEDC_CHANNEL_NUM=8
CONFIG_SOC_LEDC_TIMER_BIT_WIDTH=20
CONFIG_SOC_MCPWM_GROUPS=2
CONFIG_SOC_MCPWM_TIMERS_PER_GROUP=3
CONFIG_SOC_MCPWM_OPERATORS_PER_GROUP=3
CONFIG_SOC_MCPWM_COMPARATORS_PER_OPERATOR=2
CONFIG_SOC_MCPWM_GENERATORS_PER_OPERATOR=2
CONFIG_SOC_MCPWM_TRIGGERS_PER_OPERATOR=2
CONFIG_SOC_MCPWM_GPIO_FAULTS_PER_GROUP=3
CONFIG_SOC_MCPWM_CAPTURE_TIMERS_PER_GROUP=y
CONFIG_SOC_MCPWM_CAPTURE_CHANNELS_PER_TIMER=3
CONFIG_SOC_MCPWM_GPIO_SYNCHROS_PER_GROUP=3
CONFIG_SOC_MMU_PERIPH_NUM=2
CONFIG_SOC_MMU_LINEAR_ADDRESS_REGION_NUM=3
CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000
CONFIG_SOC_MPU_REGIONS_MAX_NUM=8
CONFIG_SOC_PCNT_GROUPS=1
CONFIG_SOC_PCNT_UNITS_PER_GROUP=8
CONFIG_SOC_PCNT_CHANNELS_PER_UNIT=2
CONFIG_SOC_PCNT_THRES_POINT_PER_UNIT=2
CONFIG_SOC_RMT_GROUPS=1
CONFIG_SOC_RMT_TX_CANDIDATES_PER_GROUP=8
CONFIG_SOC_RMT_RX_CANDIDATES_PER_GROUP=8
CONFIG_SOC_RMT_CHANNELS_PER_GROUP=8
CONFIG_SOC_RMT_MEM_WORDS_PER_CHANNEL=64
CONFIG_SOC_RMT_SUPPORT_REF_TICK=y
CONFIG_SOC_RMT_SUPPORT_APB=y
CONFIG_SOC_RMT_CHANNEL_CLK_INDEPENDENT=y
CONFIG_SOC_RTCIO_PIN_COUNT=18
CONFIG_SOC_RTCIO_INPUT_OUTPUT_SUPPORTED=y
CONFIG_SOC_RTCIO_HOLD_SUPPORTED=y
CONFIG_SOC_RTCIO_WAKE_SUPPORTED=y
CONFIG_SOC_SDM_GROUPS=1
CONFIG_SOC_SDM_CHANNELS_PER_GROUP=8
CONFIG_SOC_SDM_CLK_SUPPORT_APB=y
CONFIG_SOC_SPI_HD_BOTH_INOUT_SUPPORTED=y
CONFIG_SOC_SPI_AS_CS_SUPPORTED=y
CONFIG_SOC_SPI_PERIPH_NUM=3
CONFIG_SOC_SPI_DMA_CHAN_NUM=2
CONFIG_SOC_SPI_MAX_CS_NUM=3
CONFIG_SOC_SPI_SUPPORT_CLK_APB=y
CONFIG_SOC_SPI_MAXIMUM_BUFFER_SIZE=64
CONFIG_SOC_SPI_MAX_PRE_DIVIDER=8192
CONFIG_SOC_MEMSPI_SRC_FREQ_80M_SUPPORTED=y
CONFIG_SOC_MEMSPI_SRC_FREQ_40M_SUPPORTED=y
CONFIG_SOC_MEMSPI_SRC_FREQ_26M_SUPPORTED=y
CONFIG_SOC_MEMSPI_SRC_FREQ_20M_SUPPORTED=y
CONFIG_SOC_TIMER_GROUPS=2
CONFIG_SOC_TIMER_GROUP_TIMERS_PER_GROUP=2
CONFIG_SOC_TIMER_GROUP_COUNTER_BIT_WIDTH=64
CONFIG_SOC_TIMER_GROUP_TOTAL_TIMERS=4
CONFIG_SOC_TIMER_GROUP_SUPPORT_APB=y
CONFIG_SOC_TOUCH_VERSION_1=y
CONFIG_SOC_TOUCH_SENSOR_NUM=10
CONFIG_SOC_TOUCH_PAD_MEASURE_WAIT_MAX=0xFF
CONFIG_SOC_TWAI_CONTROLLER_NUM=1
CONFIG_SOC_TWAI_BRP_MIN=2
CONFIG_SOC_TWAI_CLK_SUPPORT_APB=y
CONFIG_SOC_TWAI_SUPPORT_MULTI_ADDRESS_LAYOUT=y
CONFIG_SOC_UART_NUM=3
CONFIG_SOC_UART_SUPPORT_APB_CLK=y
CONFIG_SOC_UART_SUPPORT_REF_TICK=y
CONFIG_SOC_UART_FIFO_LEN=128
CONFIG_SOC_UART_BITRATE_MAX=5000000
CONFIG_SOC_SPIRAM_SUPPORTED=y
CONFIG_SOC_SPI_MEM_SUPPORT_CONFIG_GPIO_BY_EFUSE=y
CONFIG_SOC_SHA_SUPPORT_PARALLEL_ENG=y
CONFIG_SOC_SHA_SUPPORT_SHA1=y
CONFIG_SOC_SHA_SUPPORT_SHA256=y
CONFIG_SOC_SHA_SUPPORT_SHA384=y
CONFIG_SOC_SHA_SUPPORT_SHA512=y
CONFIG_SOC_RSA_MAX_BIT_LEN=4096
CONFIG_SOC_AES_SUPPORT_AES_128=y
CONFIG_SOC_AES_SUPPORT_AES_192=y
CONFIG_SOC_AES_SUPPORT_AES_256=y
CONFIG_SOC_SECURE_BOOT_V1=y
CONFIG_SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS=y
CONFIG_SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX=32
CONFIG_SOC_PHY_DIG_REGS_MEM_SIZE=21
CONFIG_SOC_PM_SUPPORT_EXT0_WAKEUP=y
CONFIG_SOC_PM_SUPPORT_EXT1_WAKEUP=y
CONFIG_SOC_PM_SUPPORT_EXT_WAKEUP=y
CONFIG_SOC_PM_SUPPORT_TOUCH_SENSOR_WAKEUP=y
CONFIG_SOC_PM_SUPPORT_RTC_PERIPH_PD=y
CONFIG_SOC_PM_SUPPORT_RTC_FAST_MEM_PD=y
CONFIG_SOC_PM_SUPPORT_RTC_SLOW_MEM_PD=y
CONFIG_SOC_PM_SUPPORT_RC_FAST_PD=y
CONFIG_SOC_PM_SUPPORT_VDDSDIO_PD=y
CONFIG_SOC_PM_SUPPORT_MODEM_PD=y
CONFIG_SOC_CONFIGURABLE_VDDSDIO_SUPPORTED=y
CONFIG_SOC_CLK_APLL_SUPPORTED=y
CONFIG_SOC_APLL_MULTIPLIER_OUT_MIN_HZ=350000000
CONFIG_SOC_APLL_MULTIPLIER_OUT_MAX_HZ=500000000
CONFIG_SOC_APLL_MIN_HZ=5303031
CONFIG_SOC_APLL_MAX_HZ=125000000
CONFIG_SOC_CLK_RC_FAST_D256_SUPPORTED=y
CONFIG_SOC_RTC_SLOW_CLK_SUPPORT_RC_FAST_D256=y
CONFIG_SOC_CLK_RC_FAST_SUPPORT_CALIBRATION=y
CONFIG_SOC_CLK_XTAL32K_SUPPORTED=y
CONFIG_SOC_SDMMC_USE_IOMUX=y
CONFIG_SOC_SDMMC_NUM_SLOTS=2
CONFIG_SOC_WIFI_WAPI_SUPPORT=y
CONFIG_SOC_WIFI_CSI_SUPPORT=y
CONFIG_SOC_WIFI_MESH_SUPPORT=y
CONFIG_SOC_WIFI_SUPPORT_VARIABLE_BEACON_WINDOW=y
CONFIG_SOC_WIFI_NAN_SUPPORT=y
CONFIG_SOC_BLE_SUPPORTED=y
CONFIG_SOC_BLE_MESH_SUPPORTED=y
CONFIG_SOC_BT_CLASSIC_SUPPORTED=y
CONFIG_SOC_BLUFI_SUPPORTED=y
CONFIG_SOC_ULP_HAS_ADC=y
CONFIG_IDF_CMAKE=y
CONFIG_IDF_TARGET_ARCH_XTENSA=y
CONFIG_IDF_TARGET_ARCH="xtensa"
CONFIG_IDF_TARGET="esp32"
CONFIG_IDF_TARGET_ESP32=y
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000
#
# Build type
#
CONFIG_APP_BUILD_TYPE_APP_2NDBOOT=y
# CONFIG_APP_BUILD_TYPE_RAM is not set
CONFIG_APP_BUILD_GENERATE_BINARIES=y
CONFIG_APP_BUILD_BOOTLOADER=y
CONFIG_APP_BUILD_USE_FLASH_SECTIONS=y
# CONFIG_APP_REPRODUCIBLE_BUILD is not set
# CONFIG_APP_NO_BLOBS is not set
# CONFIG_APP_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set
# CONFIG_APP_COMPATIBLE_PRE_V3_1_BOOTLOADERS is not set
# end of Build type
#
# Bootloader config
#
CONFIG_BOOTLOADER_OFFSET_IN_FLASH=0x1000
CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set
# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_ERROR is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_WARN is not set
CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y
# CONFIG_BOOTLOADER_LOG_LEVEL_DEBUG is not set
# CONFIG_BOOTLOADER_LOG_LEVEL_VERBOSE is not set
CONFIG_BOOTLOADER_LOG_LEVEL=3
# CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_8V is not set
CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
# CONFIG_BOOTLOADER_FACTORY_RESET is not set
# CONFIG_BOOTLOADER_APP_TEST is not set
CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE=y
CONFIG_BOOTLOADER_WDT_ENABLE=y
# CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE is not set
CONFIG_BOOTLOADER_WDT_TIME_MS=9000
# CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is not set
# CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP is not set
# CONFIG_BOOTLOADER_SKIP_VALIDATE_ON_POWER_ON is not set
# CONFIG_BOOTLOADER_SKIP_VALIDATE_ALWAYS is not set
CONFIG_BOOTLOADER_RESERVE_RTC_SIZE=0
# CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC is not set
CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT=y
# end of Bootloader config
#
# Security features
#
CONFIG_SECURE_BOOT_V1_SUPPORTED=y
# CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set
# CONFIG_SECURE_BOOT is not set
# CONFIG_SECURE_FLASH_ENC_ENABLED is not set
# end of Security features
#
# Application manager
#
CONFIG_APP_COMPILE_TIME_DATE=y
# CONFIG_APP_EXCLUDE_PROJECT_VER_VAR is not set
# CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR is not set
# CONFIG_APP_PROJECT_VER_FROM_CONFIG is not set
CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16
# end of Application manager
CONFIG_ESP_ROM_HAS_CRC_LE=y
CONFIG_ESP_ROM_HAS_CRC_BE=y
CONFIG_ESP_ROM_HAS_MZ_CRC32=y
CONFIG_ESP_ROM_HAS_JPEG_DECODE=y
CONFIG_ESP_ROM_HAS_UART_BUF_SWITCH=y
CONFIG_ESP_ROM_NEEDS_SWSETUP_WORKAROUND=y
CONFIG_ESP_ROM_HAS_NEWLIB_NANO_FORMAT=y
#
# Serial flasher config
#
# CONFIG_ESPTOOLPY_NO_STUB is not set
# CONFIG_ESPTOOLPY_FLASHMODE_QIO is not set
# CONFIG_ESPTOOLPY_FLASHMODE_QOUT is not set
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
# CONFIG_ESPTOOLPY_FLASHMODE_DOUT is not set
CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR=y
CONFIG_ESPTOOLPY_FLASHMODE="dio"
# CONFIG_ESPTOOLPY_FLASHFREQ_80M is not set
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
# CONFIG_ESPTOOLPY_FLASHFREQ_26M is not set
# CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set
CONFIG_ESPTOOLPY_FLASHFREQ="40m"
# CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_32MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_64MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_128MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y
CONFIG_ESPTOOLPY_BEFORE_RESET=y
# CONFIG_ESPTOOLPY_BEFORE_NORESET is not set
CONFIG_ESPTOOLPY_BEFORE="default_reset"
CONFIG_ESPTOOLPY_AFTER_RESET=y
# CONFIG_ESPTOOLPY_AFTER_NORESET is not set
CONFIG_ESPTOOLPY_AFTER="hard_reset"
CONFIG_ESPTOOLPY_MONITOR_BAUD=115200
# end of Serial flasher config
#
# Partition Table
#
# CONFIG_PARTITION_TABLE_SINGLE_APP is not set
# CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE is not set
# CONFIG_PARTITION_TABLE_TWO_OTA is not set
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_OFFSET=0x8000
CONFIG_PARTITION_TABLE_MD5=y
# end of Partition Table
#
# Compiler options
#
# CONFIG_COMPILER_OPTIMIZATION_DEFAULT is not set
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
# CONFIG_COMPILER_OPTIMIZATION_PERF is not set
# CONFIG_COMPILER_OPTIMIZATION_NONE is not set
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB=y
CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
# CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT is not set
CONFIG_COMPILER_HIDE_PATHS_MACROS=y
# CONFIG_COMPILER_CXX_EXCEPTIONS is not set
# CONFIG_COMPILER_CXX_RTTI is not set
CONFIG_COMPILER_STACK_CHECK_MODE_NONE=y
# CONFIG_COMPILER_STACK_CHECK_MODE_NORM is not set
# CONFIG_COMPILER_STACK_CHECK_MODE_STRONG is not set
# CONFIG_COMPILER_STACK_CHECK_MODE_ALL is not set
# CONFIG_COMPILER_WARN_WRITE_STRINGS is not set
# CONFIG_COMPILER_DISABLE_GCC12_WARNINGS is not set
# CONFIG_COMPILER_DUMP_RTL_FILES is not set
# end of Compiler options
#
# Component config
#
#
# Application Level Tracing
#
# CONFIG_APPTRACE_DEST_JTAG is not set
CONFIG_APPTRACE_DEST_NONE=y
# CONFIG_APPTRACE_DEST_UART1 is not set
# CONFIG_APPTRACE_DEST_UART2 is not set
CONFIG_APPTRACE_DEST_UART_NONE=y
CONFIG_APPTRACE_UART_TASK_PRIO=1
CONFIG_APPTRACE_LOCK_ENABLE=y
# end of Application Level Tracing
#
# Bluetooth
#
CONFIG_BT_ENABLED=y
# CONFIG_BT_BLUEDROID_ENABLED is not set
CONFIG_BT_NIMBLE_ENABLED=y
# CONFIG_BT_CONTROLLER_ONLY is not set
CONFIG_BT_CONTROLLER_ENABLED=y
# CONFIG_BT_CONTROLLER_DISABLED is not set
#
# NimBLE Options
#
CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL=y
# CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_DEFAULT is not set
# CONFIG_BT_NIMBLE_LOG_LEVEL_NONE is not set
# CONFIG_BT_NIMBLE_LOG_LEVEL_ERROR is not set
# CONFIG_BT_NIMBLE_LOG_LEVEL_WARNING is not set
CONFIG_BT_NIMBLE_LOG_LEVEL_INFO=y
# CONFIG_BT_NIMBLE_LOG_LEVEL_DEBUG is not set
CONFIG_BT_NIMBLE_LOG_LEVEL=1
CONFIG_BT_NIMBLE_MAX_CONNECTIONS=2
CONFIG_BT_NIMBLE_MAX_BONDS=3
CONFIG_BT_NIMBLE_MAX_CCCDS=8
CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM=0
CONFIG_BT_NIMBLE_PINNED_TO_CORE_0=y
# CONFIG_BT_NIMBLE_PINNED_TO_CORE_1 is not set
CONFIG_BT_NIMBLE_PINNED_TO_CORE=0
CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE=4096
CONFIG_BT_NIMBLE_ROLE_CENTRAL=y
CONFIG_BT_NIMBLE_ROLE_PERIPHERAL=y
CONFIG_BT_NIMBLE_ROLE_BROADCASTER=y
CONFIG_BT_NIMBLE_ROLE_OBSERVER=y
# CONFIG_BT_NIMBLE_NVS_PERSIST is not set
CONFIG_BT_NIMBLE_SECURITY_ENABLE=y
CONFIG_BT_NIMBLE_SM_LEGACY=y
CONFIG_BT_NIMBLE_SM_SC=y
# CONFIG_BT_NIMBLE_SM_SC_DEBUG_KEYS is not set
CONFIG_BT_NIMBLE_LL_CFG_FEAT_LE_ENCRYPTION=y
# CONFIG_BT_NIMBLE_DEBUG is not set
# CONFIG_BT_NIMBLE_DYNAMIC_SERVICE is not set
CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME="nimble"
CONFIG_BT_NIMBLE_GAP_DEVICE_NAME_MAX_LEN=31
CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=256
CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE=0
#
# Memory Settings
#
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT=12
CONFIG_BT_NIMBLE_MSYS_1_BLOCK_SIZE=256
CONFIG_BT_NIMBLE_MSYS_2_BLOCK_COUNT=24
CONFIG_BT_NIMBLE_MSYS_2_BLOCK_SIZE=320
CONFIG_BT_NIMBLE_TRANSPORT_ACL_FROM_LL_COUNT=24
CONFIG_BT_NIMBLE_TRANSPORT_ACL_SIZE=255
CONFIG_BT_NIMBLE_TRANSPORT_EVT_SIZE=70
CONFIG_BT_NIMBLE_TRANSPORT_EVT_COUNT=30
CONFIG_BT_NIMBLE_TRANSPORT_EVT_DISCARD_COUNT=8
# end of Memory Settings
CONFIG_BT_NIMBLE_GATT_MAX_PROCS=4
CONFIG_BT_NIMBLE_HS_FLOW_CTRL=y
CONFIG_BT_NIMBLE_HS_FLOW_CTRL_ITVL=1000
CONFIG_BT_NIMBLE_HS_FLOW_CTRL_THRESH=2
CONFIG_BT_NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT=y
CONFIG_BT_NIMBLE_RPA_TIMEOUT=900
# CONFIG_BT_NIMBLE_MESH is not set
CONFIG_BT_NIMBLE_CRYPTO_STACK_MBEDTLS=y
CONFIG_BT_NIMBLE_HS_STOP_TIMEOUT_MS=2000
# CONFIG_BT_NIMBLE_HOST_BASED_PRIVACY is not set
# CONFIG_BT_NIMBLE_ENABLE_CONN_REATTEMPT is not set
CONFIG_BT_NIMBLE_COEX_PHY_CODED_TX_RX_TLIM_EFF=0
CONFIG_BT_NIMBLE_WHITELIST_SIZE=12
# CONFIG_BT_NIMBLE_TEST_THROUGHPUT_TEST is not set
# CONFIG_BT_NIMBLE_BLUFI_ENABLE is not set
CONFIG_BT_NIMBLE_USE_ESP_TIMER=y
CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE=y
# CONFIG_BT_NIMBLE_BLE_GATT_BLOB_TRANSFER is not set
# CONFIG_BT_NIMBLE_VS_SUPPORT is not set
# CONFIG_BT_NIMBLE_HIGH_DUTY_ADV_ITVL is not set
# CONFIG_BT_NIMBLE_HOST_QUEUE_CONG_CHECK is not set
# end of NimBLE Options
#
# Controller Options
#
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
# CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY is not set
# CONFIG_BTDM_CTRL_MODE_BTDM is not set
CONFIG_BTDM_CTRL_BLE_MAX_CONN=2
CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF=0
CONFIG_BTDM_CTRL_PCM_ROLE_EFF=0
CONFIG_BTDM_CTRL_PCM_POLAR_EFF=0
CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF=2
CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF=0
CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF=0
CONFIG_BTDM_CTRL_PINNED_TO_CORE_0=y
# CONFIG_BTDM_CTRL_PINNED_TO_CORE_1 is not set
CONFIG_BTDM_CTRL_PINNED_TO_CORE=0
CONFIG_BTDM_CTRL_HCI_MODE_VHCI=y
# CONFIG_BTDM_CTRL_HCI_MODE_UART_H4 is not set
#
# MODEM SLEEP Options
#
CONFIG_BTDM_CTRL_MODEM_SLEEP=y
CONFIG_BTDM_CTRL_MODEM_SLEEP_MODE_ORIG=y
# CONFIG_BTDM_CTRL_MODEM_SLEEP_MODE_EVED is not set
CONFIG_BTDM_CTRL_LPCLK_SEL_MAIN_XTAL=y
# CONFIG_BTDM_CTRL_LPCLK_SEL_EXT_32K_XTAL is not set
# end of MODEM SLEEP Options
CONFIG_BTDM_BLE_DEFAULT_SCA_250PPM=y
CONFIG_BTDM_BLE_SLEEP_CLOCK_ACCURACY_INDEX_EFF=1
CONFIG_BTDM_BLE_SCAN_DUPL=y
CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE=y
# CONFIG_BTDM_SCAN_DUPL_TYPE_DATA is not set
# CONFIG_BTDM_SCAN_DUPL_TYPE_DATA_DEVICE is not set
CONFIG_BTDM_SCAN_DUPL_TYPE=0
CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE=100
CONFIG_BTDM_SCAN_DUPL_CACHE_REFRESH_PERIOD=0
# CONFIG_BTDM_BLE_MESH_SCAN_DUPL_EN is not set
CONFIG_BTDM_CTRL_FULL_SCAN_SUPPORTED=y
CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP=y
CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM=100
CONFIG_BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD=20
CONFIG_BTDM_RESERVE_DRAM=0xdb5c
CONFIG_BTDM_CTRL_HLI=y
# end of Controller Options
# end of Bluetooth
# CONFIG_BLE_MESH is not set
#
# Driver Configurations
#
#
# Legacy ADC Configuration
#
CONFIG_ADC_DISABLE_DAC=y
# CONFIG_ADC_SUPPRESS_DEPRECATE_WARN is not set
#
# Legacy ADC Calibration Configuration
#
CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y
CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y
CONFIG_ADC_CAL_LUT_ENABLE=y
# CONFIG_ADC_CALI_SUPPRESS_DEPRECATE_WARN is not set
# end of Legacy ADC Calibration Configuration
# end of Legacy ADC Configuration
#
# SPI Configuration
#
# CONFIG_SPI_MASTER_IN_IRAM is not set
CONFIG_SPI_MASTER_ISR_IN_IRAM=y
# CONFIG_SPI_SLAVE_IN_IRAM is not set
CONFIG_SPI_SLAVE_ISR_IN_IRAM=y
# end of SPI Configuration
#
# TWAI Configuration
#
# CONFIG_TWAI_ISR_IN_IRAM is not set
CONFIG_TWAI_ERRATA_FIX_BUS_OFF_REC=y
CONFIG_TWAI_ERRATA_FIX_TX_INTR_LOST=y
CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID=y
CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT=y
CONFIG_TWAI_ERRATA_FIX_LISTEN_ONLY_DOM=y
# end of TWAI Configuration
#
# UART Configuration
#
CONFIG_UART_ISR_IN_IRAM=y
# end of UART Configuration
#
# GPIO Configuration
#
# CONFIG_GPIO_ESP32_SUPPORT_SWITCH_SLP_PULL is not set
CONFIG_GPIO_CTRL_FUNC_IN_IRAM=y
# end of GPIO Configuration
#
# Sigma Delta Modulator Configuration
#
# CONFIG_SDM_CTRL_FUNC_IN_IRAM is not set
# CONFIG_SDM_SUPPRESS_DEPRECATE_WARN is not set
# CONFIG_SDM_ENABLE_DEBUG_LOG is not set
# end of Sigma Delta Modulator Configuration
#
# GPTimer Configuration
#
CONFIG_GPTIMER_ISR_HANDLER_IN_IRAM=y
# CONFIG_GPTIMER_CTRL_FUNC_IN_IRAM is not set
# CONFIG_GPTIMER_ISR_IRAM_SAFE is not set
# CONFIG_GPTIMER_SUPPRESS_DEPRECATE_WARN is not set
# CONFIG_GPTIMER_ENABLE_DEBUG_LOG is not set
# end of GPTimer Configuration
#
# PCNT Configuration
#
# CONFIG_PCNT_CTRL_FUNC_IN_IRAM is not set
# CONFIG_PCNT_ISR_IRAM_SAFE is not set
# CONFIG_PCNT_SUPPRESS_DEPRECATE_WARN is not set
# CONFIG_PCNT_ENABLE_DEBUG_LOG is not set
# end of PCNT Configuration
#
# RMT Configuration
#
# CONFIG_RMT_ISR_IRAM_SAFE is not set
# CONFIG_RMT_SUPPRESS_DEPRECATE_WARN is not set
# CONFIG_RMT_ENABLE_DEBUG_LOG is not set
# end of RMT Configuration
#
# MCPWM Configuration
#
CONFIG_MCPWM_ISR_IRAM_SAFE=y
CONFIG_MCPWM_CTRL_FUNC_IN_IRAM=y
# CONFIG_MCPWM_SUPPRESS_DEPRECATE_WARN is not set
# CONFIG_MCPWM_ENABLE_DEBUG_LOG is not set
# end of MCPWM Configuration
#
# I2S Configuration
#
CONFIG_I2S_ISR_IRAM_SAFE=y
# CONFIG_I2S_SUPPRESS_DEPRECATE_WARN is not set
# CONFIG_I2S_ENABLE_DEBUG_LOG is not set
# end of I2S Configuration
#
# DAC Configuration
#
# CONFIG_DAC_CTRL_FUNC_IN_IRAM is not set
# CONFIG_DAC_ISR_IRAM_SAFE is not set
# CONFIG_DAC_SUPPRESS_DEPRECATE_WARN is not set
# CONFIG_DAC_ENABLE_DEBUG_LOG is not set
CONFIG_DAC_DMA_AUTO_16BIT_ALIGN=y
# end of DAC Configuration
# end of Driver Configurations
#
# eFuse Bit Manager
#
# CONFIG_EFUSE_CUSTOM_TABLE is not set
# CONFIG_EFUSE_VIRTUAL is not set
# CONFIG_EFUSE_CODE_SCHEME_COMPAT_NONE is not set
CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4=y
# CONFIG_EFUSE_CODE_SCHEME_COMPAT_REPEAT is not set
CONFIG_EFUSE_MAX_BLK_LEN=192
# end of eFuse Bit Manager
#
# ESP-TLS
#
CONFIG_ESP_TLS_USING_MBEDTLS=y
# CONFIG_ESP_TLS_USE_SECURE_ELEMENT is not set
# CONFIG_ESP_TLS_CLIENT_SESSION_TICKETS is not set
# CONFIG_ESP_TLS_SERVER is not set
# CONFIG_ESP_TLS_PSK_VERIFICATION is not set
# CONFIG_ESP_TLS_INSECURE is not set
# end of ESP-TLS
#
# ADC and ADC Calibration
#
# CONFIG_ADC_ONESHOT_CTRL_FUNC_IN_IRAM is not set
# CONFIG_ADC_CONTINUOUS_ISR_IRAM_SAFE is not set
#
# ADC Calibration Configurations
#
CONFIG_ADC_CALI_EFUSE_TP_ENABLE=y
CONFIG_ADC_CALI_EFUSE_VREF_ENABLE=y
CONFIG_ADC_CALI_LUT_ENABLE=y
# end of ADC Calibration Configurations
CONFIG_ADC_DISABLE_DAC_OUTPUT=y
# end of ADC and ADC Calibration
#
# Wireless Coexistence
#
# CONFIG_ESP_COEX_SW_COEXIST_ENABLE is not set
# end of Wireless Coexistence
#
# Common ESP-related
#
CONFIG_ESP_ERR_TO_NAME_LOOKUP=y
# end of Common ESP-related
#
# Ethernet
#
# CONFIG_ETH_USE_ESP32_EMAC is not set
# CONFIG_ETH_USE_SPI_ETHERNET is not set
# CONFIG_ETH_USE_OPENETH is not set
# end of Ethernet
#
# Event Loop Library
#
# CONFIG_ESP_EVENT_LOOP_PROFILING is not set
CONFIG_ESP_EVENT_POST_FROM_ISR=y
CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=y
# end of Event Loop Library
#
# GDB Stub
#
# end of GDB Stub
#
# ESP HTTP client
#
CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y
# CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is not set
# CONFIG_ESP_HTTP_CLIENT_ENABLE_DIGEST_AUTH is not set
# end of ESP HTTP client
#
# HTTP Server
#
CONFIG_HTTPD_MAX_REQ_HDR_LEN=512
CONFIG_HTTPD_MAX_URI_LEN=512
CONFIG_HTTPD_ERR_RESP_NO_DELAY=y
CONFIG_HTTPD_PURGE_BUF_LEN=32
# CONFIG_HTTPD_LOG_PURGE_DATA is not set
# CONFIG_HTTPD_WS_SUPPORT is not set
# CONFIG_HTTPD_QUEUE_WORK_BLOCKING is not set
# end of HTTP Server
#
# ESP HTTPS OTA
#
# CONFIG_ESP_HTTPS_OTA_DECRYPT_CB is not set
# CONFIG_ESP_HTTPS_OTA_ALLOW_HTTP is not set
# end of ESP HTTPS OTA
#
# ESP HTTPS server
#
# CONFIG_ESP_HTTPS_SERVER_ENABLE is not set
# end of ESP HTTPS server
#
# Hardware Settings
#
#
# Chip revision
#
# CONFIG_ESP32_REV_MIN_0 is not set
CONFIG_ESP32_REV_MIN_1=y
# CONFIG_ESP32_REV_MIN_1_1 is not set
# CONFIG_ESP32_REV_MIN_2 is not set
# CONFIG_ESP32_REV_MIN_3 is not set
# CONFIG_ESP32_REV_MIN_3_1 is not set
CONFIG_ESP32_REV_MIN=1
CONFIG_ESP32_REV_MIN_FULL=100
CONFIG_ESP_REV_MIN_FULL=100
#
# Maximum Supported ESP32 Revision (Rev v3.99)
#
CONFIG_ESP32_REV_MAX_FULL=399
CONFIG_ESP_REV_MAX_FULL=399
# end of Chip revision
#
# MAC Config
#
CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_STA=y
CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_AP=y
CONFIG_ESP_MAC_ADDR_UNIVERSE_BT=y
CONFIG_ESP_MAC_ADDR_UNIVERSE_ETH=y
CONFIG_ESP_MAC_UNIVERSAL_MAC_ADDRESSES_FOUR=y
# CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_TWO is not set
CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR=y
CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES=4
# CONFIG_ESP_MAC_IGNORE_MAC_CRC_ERROR is not set
# end of MAC Config
#
# Sleep Config
#
# CONFIG_ESP_SLEEP_POWER_DOWN_FLASH is not set
CONFIG_ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND=y
# CONFIG_ESP_SLEEP_MSPI_NEED_ALL_IO_PU is not set
CONFIG_ESP_SLEEP_RTC_BUS_ISO_WORKAROUND=y
# CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND is not set
CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY=2000
CONFIG_ESP_SLEEP_GPIO_ENABLE_INTERNAL_RESISTORS=y
# end of Sleep Config
#
# RTC Clock Config
#
# CONFIG_RTC_CLK_SRC_INT_RC is not set
CONFIG_RTC_CLK_SRC_EXT_CRYS=y
# CONFIG_RTC_CLK_SRC_EXT_OSC is not set
# CONFIG_RTC_CLK_SRC_INT_8MD256 is not set
# CONFIG_RTC_EXT_CRYST_ADDIT_CURRENT_NONE is not set
# CONFIG_RTC_EXT_CRYST_ADDIT_CURRENT is not set
CONFIG_RTC_EXT_CRYST_ADDIT_CURRENT_V2=y
CONFIG_RTC_CLK_CAL_CYCLES=4096
CONFIG_RTC_XTAL_CAL_RETRY=2
# end of RTC Clock Config
#
# Peripheral Control
#
CONFIG_PERIPH_CTRL_FUNC_IN_IRAM=y
# end of Peripheral Control
#
# Main XTAL Config
#
# CONFIG_XTAL_FREQ_26 is not set
CONFIG_XTAL_FREQ_40=y
# CONFIG_XTAL_FREQ_AUTO is not set
CONFIG_XTAL_FREQ=40
# end of Main XTAL Config
# end of Hardware Settings
#
# LCD and Touch Panel
#
#
# LCD Touch Drivers are maintained in the IDF Component Registry
#
#
# LCD Peripheral Configuration
#
CONFIG_LCD_PANEL_IO_FORMAT_BUF_SIZE=32
# CONFIG_LCD_ENABLE_DEBUG_LOG is not set
# end of LCD Peripheral Configuration
# end of LCD and Touch Panel
#
# ESP NETIF Adapter
#
CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL=120
CONFIG_ESP_NETIF_TCPIP_LWIP=y
# CONFIG_ESP_NETIF_LOOPBACK is not set
CONFIG_ESP_NETIF_USES_TCPIP_WITH_BSD_API=y
# CONFIG_ESP_NETIF_RECEIVE_REPORT_ERRORS is not set
# CONFIG_ESP_NETIF_L2_TAP is not set
# CONFIG_ESP_NETIF_BRIDGE_EN is not set
# end of ESP NETIF Adapter
#
# Partition API Configuration
#
# end of Partition API Configuration
#
# PHY
#
CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y
# CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION is not set
CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=20
CONFIG_ESP_PHY_MAX_TX_POWER=20
CONFIG_ESP_PHY_REDUCE_TX_POWER=y
CONFIG_ESP_PHY_RF_CAL_PARTIAL=y
# CONFIG_ESP_PHY_RF_CAL_NONE is not set
# CONFIG_ESP_PHY_RF_CAL_FULL is not set
CONFIG_ESP_PHY_CALIBRATION_MODE=0
# end of PHY
#
# Power Management
#
CONFIG_PM_ENABLE=y
# CONFIG_PM_DFS_INIT_AUTO is not set
# CONFIG_PM_PROFILING is not set
# CONFIG_PM_TRACE is not set
# CONFIG_PM_SLP_IRAM_OPT is not set
# CONFIG_PM_RTOS_IDLE_OPT is not set
# CONFIG_PM_SLP_DISABLE_GPIO is not set
CONFIG_PM_UPDATE_CCOMPARE_HLI_WORKAROUND=y
# end of Power Management
#
# ESP PSRAM
#
# CONFIG_SPIRAM is not set
# end of ESP PSRAM
#
# ESP Ringbuf
#
# CONFIG_RINGBUF_PLACE_FUNCTIONS_INTO_FLASH is not set
# end of ESP Ringbuf
#
# ESP System Settings
#
# CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_80 is not set
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_160=y
# CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240 is not set
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=160
#
# Memory
#
# CONFIG_ESP32_USE_FIXED_STATIC_RAM_SIZE is not set
#
# Non-backward compatible options
#
# CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM is not set
# end of Non-backward compatible options
# end of Memory
#
# Trace memory
#
# CONFIG_ESP32_TRAX is not set
CONFIG_ESP32_TRACEMEM_RESERVE_DRAM=0x0
# end of Trace memory
# CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT is not set
CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y
# CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT is not set
# CONFIG_ESP_SYSTEM_PANIC_GDBSTUB is not set
# CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME is not set
CONFIG_ESP_SYSTEM_PANIC_REBOOT_DELAY_SECONDS=0
CONFIG_ESP_SYSTEM_RTC_EXT_XTAL=y
CONFIG_ESP_SYSTEM_RTC_EXT_XTAL_BOOTSTRAP_CYCLES=5
#
# Memory protection
#
# end of Memory protection
CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE=32
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=2304
CONFIG_ESP_MAIN_TASK_STACK_SIZE=3584
CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0=y
# CONFIG_ESP_MAIN_TASK_AFFINITY_CPU1 is not set
# CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY is not set
CONFIG_ESP_MAIN_TASK_AFFINITY=0x0
CONFIG_ESP_MINIMAL_SHARED_STACK_SIZE=2048
CONFIG_ESP_CONSOLE_UART_DEFAULT=y
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
# CONFIG_ESP_CONSOLE_NONE is not set
CONFIG_ESP_CONSOLE_UART=y
CONFIG_ESP_CONSOLE_MULTIPLE_UART=y
CONFIG_ESP_CONSOLE_UART_NUM=0
CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
CONFIG_ESP_INT_WDT=y
CONFIG_ESP_INT_WDT_TIMEOUT_MS=300
CONFIG_ESP_INT_WDT_CHECK_CPU1=y
CONFIG_ESP_TASK_WDT_EN=y
CONFIG_ESP_TASK_WDT_INIT=y
# CONFIG_ESP_TASK_WDT_PANIC is not set
CONFIG_ESP_TASK_WDT_TIMEOUT_S=60
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
CONFIG_ESP_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
# CONFIG_ESP_PANIC_HANDLER_IRAM is not set
# CONFIG_ESP_DEBUG_STUBS_ENABLE is not set
CONFIG_ESP_DEBUG_OCDAWARE=y
CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL_5=y
#
# Brownout Detector
#
CONFIG_ESP_BROWNOUT_DET=y
CONFIG_ESP_BROWNOUT_DET_LVL_SEL_0=y
# CONFIG_ESP_BROWNOUT_DET_LVL_SEL_1 is not set
# CONFIG_ESP_BROWNOUT_DET_LVL_SEL_2 is not set
# CONFIG_ESP_BROWNOUT_DET_LVL_SEL_3 is not set
# CONFIG_ESP_BROWNOUT_DET_LVL_SEL_4 is not set
# CONFIG_ESP_BROWNOUT_DET_LVL_SEL_5 is not set
# CONFIG_ESP_BROWNOUT_DET_LVL_SEL_6 is not set
# CONFIG_ESP_BROWNOUT_DET_LVL_SEL_7 is not set
CONFIG_ESP_BROWNOUT_DET_LVL=0
# end of Brownout Detector
# CONFIG_ESP32_DISABLE_BASIC_ROM_CONSOLE is not set
CONFIG_ESP_SYSTEM_BROWNOUT_INTR=y
# end of ESP System Settings
#
# IPC (Inter-Processor Call)
#
CONFIG_ESP_IPC_TASK_STACK_SIZE=1024
CONFIG_ESP_IPC_USES_CALLERS_PRIORITY=y
CONFIG_ESP_IPC_ISR_ENABLE=y
# end of IPC (Inter-Processor Call)
#
# High resolution timer (esp_timer)
#
# CONFIG_ESP_TIMER_PROFILING is not set
CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER=y
CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER=y
CONFIG_ESP_TIMER_TASK_STACK_SIZE=3584
CONFIG_ESP_TIMER_INTERRUPT_LEVEL=1
# CONFIG_ESP_TIMER_SHOW_EXPERIMENTAL is not set
CONFIG_ESP_TIMER_TASK_AFFINITY=0x0
CONFIG_ESP_TIMER_TASK_AFFINITY_CPU0=y
CONFIG_ESP_TIMER_ISR_AFFINITY=0x1
CONFIG_ESP_TIMER_ISR_AFFINITY_CPU0=y
# CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD is not set
CONFIG_ESP_TIMER_IMPL_TG0_LAC=y
# end of High resolution timer (esp_timer)
#
# Wi-Fi
#
CONFIG_ESP_WIFI_ENABLED=y
CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM=10
CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=32
# CONFIG_ESP_WIFI_STATIC_TX_BUFFER is not set
CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER=y
CONFIG_ESP_WIFI_TX_BUFFER_TYPE=1
CONFIG_ESP_WIFI_DYNAMIC_TX_BUFFER_NUM=32
# CONFIG_ESP_WIFI_CSI_ENABLED is not set
CONFIG_ESP_WIFI_AMPDU_TX_ENABLED=y
CONFIG_ESP_WIFI_TX_BA_WIN=6
CONFIG_ESP_WIFI_AMPDU_RX_ENABLED=y
CONFIG_ESP_WIFI_RX_BA_WIN=6
CONFIG_ESP_WIFI_NVS_ENABLED=y
CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_0=y
# CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1 is not set
CONFIG_ESP_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP_WIFI_MGMT_SBUF_NUM=32
CONFIG_ESP_WIFI_IRAM_OPT=y
# CONFIG_ESP_WIFI_EXTRA_IRAM_OPT is not set
CONFIG_ESP_WIFI_RX_IRAM_OPT=y
# CONFIG_ESP_WIFI_ENABLE_WPA3_SAE is not set
CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA=y
# CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set
CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y
# CONFIG_ESP_WIFI_GMAC_SUPPORT is not set
CONFIG_ESP_WIFI_SOFTAP_SUPPORT=y
CONFIG_ESP_WIFI_SLP_BEACON_LOST_OPT=y
CONFIG_ESP_WIFI_SLP_BEACON_LOST_TIMEOUT=10
CONFIG_ESP_WIFI_SLP_BEACON_LOST_THRESHOLD=3
CONFIG_ESP_WIFI_SLP_PHY_ON_DELTA_EARLY_TIME=2
CONFIG_ESP_WIFI_SLP_PHY_OFF_DELTA_TIMEOUT_TIME=2
CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM=7
# CONFIG_ESP_WIFI_NAN_ENABLE is not set
CONFIG_ESP_WIFI_MBEDTLS_CRYPTO=y
CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT=y
# CONFIG_ESP_WIFI_WAPI_PSK is not set
# CONFIG_ESP_WIFI_SUITE_B_192 is not set
# CONFIG_ESP_WIFI_11KV_SUPPORT is not set
# CONFIG_ESP_WIFI_MBO_SUPPORT is not set
# CONFIG_ESP_WIFI_DPP_SUPPORT is not set
# CONFIG_ESP_WIFI_11R_SUPPORT is not set
# CONFIG_ESP_WIFI_WPS_SOFTAP_REGISTRAR is not set
#
# WPS Configuration Options
#
# CONFIG_ESP_WIFI_WPS_STRICT is not set
# CONFIG_ESP_WIFI_WPS_PASSPHRASE is not set
# end of WPS Configuration Options
# CONFIG_ESP_WIFI_DEBUG_PRINT is not set
# CONFIG_ESP_WIFI_TESTING_OPTIONS is not set
CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT=y
# end of Wi-Fi
#
# Core dump
#
# CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH is not set
# CONFIG_ESP_COREDUMP_ENABLE_TO_UART is not set
CONFIG_ESP_COREDUMP_ENABLE_TO_NONE=y
# end of Core dump
#
# FAT Filesystem support
#
CONFIG_FATFS_VOLUME_COUNT=2
CONFIG_FATFS_LFN_NONE=y
# CONFIG_FATFS_LFN_HEAP is not set
# CONFIG_FATFS_LFN_STACK is not set
# CONFIG_FATFS_SECTOR_512 is not set
CONFIG_FATFS_SECTOR_4096=y
# CONFIG_FATFS_CODEPAGE_DYNAMIC is not set
CONFIG_FATFS_CODEPAGE_437=y
# CONFIG_FATFS_CODEPAGE_720 is not set
# CONFIG_FATFS_CODEPAGE_737 is not set
# CONFIG_FATFS_CODEPAGE_771 is not set
# CONFIG_FATFS_CODEPAGE_775 is not set
# CONFIG_FATFS_CODEPAGE_850 is not set
# CONFIG_FATFS_CODEPAGE_852 is not set
# CONFIG_FATFS_CODEPAGE_855 is not set
# CONFIG_FATFS_CODEPAGE_857 is not set
# CONFIG_FATFS_CODEPAGE_860 is not set
# CONFIG_FATFS_CODEPAGE_861 is not set
# CONFIG_FATFS_CODEPAGE_862 is not set
# CONFIG_FATFS_CODEPAGE_863 is not set
# CONFIG_FATFS_CODEPAGE_864 is not set
# CONFIG_FATFS_CODEPAGE_865 is not set
# CONFIG_FATFS_CODEPAGE_866 is not set
# CONFIG_FATFS_CODEPAGE_869 is not set
# CONFIG_FATFS_CODEPAGE_932 is not set
# CONFIG_FATFS_CODEPAGE_936 is not set
# CONFIG_FATFS_CODEPAGE_949 is not set
# CONFIG_FATFS_CODEPAGE_950 is not set
CONFIG_FATFS_CODEPAGE=437
CONFIG_FATFS_FS_LOCK=0
CONFIG_FATFS_TIMEOUT_MS=10000
CONFIG_FATFS_PER_FILE_CACHE=y
# CONFIG_FATFS_USE_FASTSEEK is not set
CONFIG_FATFS_VFS_FSTAT_BLKSIZE=0
# end of FAT Filesystem support
#
# FreeRTOS
#
#
# Kernel
#
# CONFIG_FREERTOS_SMP is not set
# CONFIG_FREERTOS_UNICORE is not set
CONFIG_FREERTOS_HZ=100
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set
# CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set
CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
# CONFIG_FREERTOS_USE_IDLE_HOOK is not set
# CONFIG_FREERTOS_USE_TICK_HOOK is not set
CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
# CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY is not set
CONFIG_FREERTOS_TIMER_TASK_PRIORITY=1
CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH=2048
CONFIG_FREERTOS_TIMER_QUEUE_LENGTH=10
CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
CONFIG_FREERTOS_USE_TICKLESS_IDLE=y
CONFIG_FREERTOS_IDLE_TIME_BEFORE_SLEEP=5
# end of Kernel
#
# Port
#
# CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set
CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS=y
# CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP is not set
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
CONFIG_FREERTOS_ISR_STACKSIZE=1536
CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
# CONFIG_FREERTOS_FPU_IN_ISR is not set
CONFIG_FREERTOS_TICK_SUPPORT_CORETIMER=y
CONFIG_FREERTOS_CORETIMER_0=y
# CONFIG_FREERTOS_CORETIMER_1 is not set
CONFIG_FREERTOS_SYSTICK_USES_CCOUNT=y
# CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH is not set
# CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH is not set
# CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT=y
# end of Port
CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF
CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y
CONFIG_FREERTOS_DEBUG_OCDAWARE=y
# end of FreeRTOS
#
# Hardware Abstraction Layer (HAL) and Low Level (LL)
#
CONFIG_HAL_ASSERTION_EQUALS_SYSTEM=y
# CONFIG_HAL_ASSERTION_DISABLE is not set
# CONFIG_HAL_ASSERTION_SILENT is not set
# CONFIG_HAL_ASSERTION_ENABLE is not set
CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=2
CONFIG_HAL_SPI_MASTER_FUNC_IN_IRAM=y
CONFIG_HAL_SPI_SLAVE_FUNC_IN_IRAM=y
# end of Hardware Abstraction Layer (HAL) and Low Level (LL)
#
# Heap memory debugging
#
CONFIG_HEAP_POISONING_DISABLED=y
# CONFIG_HEAP_POISONING_LIGHT is not set
# CONFIG_HEAP_POISONING_COMPREHENSIVE is not set
CONFIG_HEAP_TRACING_OFF=y
# CONFIG_HEAP_TRACING_STANDALONE is not set
# CONFIG_HEAP_TRACING_TOHOST is not set
# CONFIG_HEAP_USE_HOOKS is not set
# CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS is not set
# CONFIG_HEAP_PLACE_FUNCTION_INTO_FLASH is not set
# end of Heap memory debugging
CONFIG_IEEE802154_CCA_THRESHOLD=-60
CONFIG_IEEE802154_PENDING_TABLE_SIZE=20
#
# Log output
#
# CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
# CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
# CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
# CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
# CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y
# CONFIG_LOG_MAXIMUM_LEVEL_DEBUG is not set
# CONFIG_LOG_MAXIMUM_LEVEL_VERBOSE is not set
CONFIG_LOG_MAXIMUM_LEVEL=3
CONFIG_LOG_COLORS=y
# CONFIG_LOG_TIMESTAMP_SOURCE_RTOS is not set
CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM=y
# end of Log output
#
# LWIP
#
CONFIG_LWIP_LOCAL_HOSTNAME="ilume"
# CONFIG_LWIP_NETIF_API is not set
CONFIG_LWIP_TCPIP_TASK_PRIO=18
# CONFIG_LWIP_TCPIP_CORE_LOCKING is not set
# CONFIG_LWIP_CHECK_THREAD_SAFETY is not set
CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES=y
# CONFIG_LWIP_L2_TO_L3_COPY is not set
# CONFIG_LWIP_IRAM_OPTIMIZATION is not set
# CONFIG_LWIP_EXTRA_IRAM_OPTIMIZATION is not set
CONFIG_LWIP_TIMERS_ONDEMAND=y
CONFIG_LWIP_ND6=y
CONFIG_LWIP_MAX_SOCKETS=10
# CONFIG_LWIP_USE_ONLY_LWIP_SELECT is not set
# CONFIG_LWIP_SO_LINGER is not set
CONFIG_LWIP_SO_REUSE=y
CONFIG_LWIP_SO_REUSE_RXTOALL=y
# CONFIG_LWIP_SO_RCVBUF is not set
# CONFIG_LWIP_NETBUF_RECVINFO is not set
CONFIG_LWIP_IP4_FRAG=y
CONFIG_LWIP_IP6_FRAG=y
# CONFIG_LWIP_IP4_REASSEMBLY is not set
# CONFIG_LWIP_IP6_REASSEMBLY is not set
CONFIG_LWIP_IP_REASS_MAX_PBUFS=10
# CONFIG_LWIP_IP_FORWARD is not set
# CONFIG_LWIP_STATS is not set
CONFIG_LWIP_ESP_GRATUITOUS_ARP=y
CONFIG_LWIP_GARP_TMR_INTERVAL=60
CONFIG_LWIP_ESP_MLDV6_REPORT=y
CONFIG_LWIP_MLDV6_TMR_INTERVAL=40
CONFIG_LWIP_TCPIP_RECVMBOX_SIZE=32
CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y
# CONFIG_LWIP_DHCP_DISABLE_CLIENT_ID is not set
CONFIG_LWIP_DHCP_DISABLE_VENDOR_CLASS_ID=y
# CONFIG_LWIP_DHCP_RESTORE_LAST_IP is not set
CONFIG_LWIP_DHCP_OPTIONS_LEN=68
CONFIG_LWIP_NUM_NETIF_CLIENT_DATA=0
CONFIG_LWIP_DHCP_COARSE_TIMER_SECS=1
#
# DHCP server
#
CONFIG_LWIP_DHCPS=y
CONFIG_LWIP_DHCPS_LEASE_UNIT=60
CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
# end of DHCP server
# CONFIG_LWIP_AUTOIP is not set
CONFIG_LWIP_IPV4=y
CONFIG_LWIP_IPV6=y
# CONFIG_LWIP_IPV6_AUTOCONFIG is not set
CONFIG_LWIP_IPV6_NUM_ADDRESSES=3
# CONFIG_LWIP_IPV6_FORWARD is not set
# CONFIG_LWIP_NETIF_STATUS_CALLBACK is not set
CONFIG_LWIP_NETIF_LOOPBACK=y
CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8
#
# TCP
#
CONFIG_LWIP_MAX_ACTIVE_TCP=16
CONFIG_LWIP_MAX_LISTENING_TCP=16
CONFIG_LWIP_TCP_HIGH_SPEED_RETRANSMISSION=y
CONFIG_LWIP_TCP_MAXRTX=12
CONFIG_LWIP_TCP_SYNMAXRTX=12
CONFIG_LWIP_TCP_MSS=1440
CONFIG_LWIP_TCP_TMR_INTERVAL=250
CONFIG_LWIP_TCP_MSL=60000
CONFIG_LWIP_TCP_FIN_WAIT_TIMEOUT=20000
CONFIG_LWIP_TCP_SND_BUF_DEFAULT=5744
CONFIG_LWIP_TCP_WND_DEFAULT=5744
CONFIG_LWIP_TCP_RECVMBOX_SIZE=6
CONFIG_LWIP_TCP_QUEUE_OOSEQ=y
# CONFIG_LWIP_TCP_SACK_OUT is not set
CONFIG_LWIP_TCP_OVERSIZE_MSS=y
# CONFIG_LWIP_TCP_OVERSIZE_QUARTER_MSS is not set
# CONFIG_LWIP_TCP_OVERSIZE_DISABLE is not set
CONFIG_LWIP_TCP_RTO_TIME=1500
# end of TCP
#
# UDP
#
CONFIG_LWIP_MAX_UDP_PCBS=16
CONFIG_LWIP_UDP_RECVMBOX_SIZE=6
# end of UDP
#
# Checksums
#
# CONFIG_LWIP_CHECKSUM_CHECK_IP is not set
# CONFIG_LWIP_CHECKSUM_CHECK_UDP is not set
CONFIG_LWIP_CHECKSUM_CHECK_ICMP=y
# end of Checksums
CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=3072
CONFIG_LWIP_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
# CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0 is not set
# CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU1 is not set
CONFIG_LWIP_TCPIP_TASK_AFFINITY=0x7FFFFFFF
CONFIG_LWIP_PPP_SUPPORT=y
CONFIG_LWIP_PPP_ENABLE_IPV6=y
CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE=3
CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS=5
# CONFIG_LWIP_PPP_NOTIFY_PHASE_SUPPORT is not set
# CONFIG_LWIP_PPP_PAP_SUPPORT is not set
# CONFIG_LWIP_PPP_CHAP_SUPPORT is not set
# CONFIG_LWIP_PPP_MSCHAP_SUPPORT is not set
# CONFIG_LWIP_PPP_MPPE_SUPPORT is not set
# CONFIG_LWIP_ENABLE_LCP_ECHO is not set
# CONFIG_LWIP_PPP_DEBUG_ON is not set
# CONFIG_LWIP_SLIP_SUPPORT is not set
#
# ICMP
#
CONFIG_LWIP_ICMP=y
# CONFIG_LWIP_MULTICAST_PING is not set
# CONFIG_LWIP_BROADCAST_PING is not set
# end of ICMP
#
# LWIP RAW API
#
CONFIG_LWIP_MAX_RAW_PCBS=16
# end of LWIP RAW API
#
# SNTP
#
CONFIG_LWIP_SNTP_MAX_SERVERS=1
# CONFIG_LWIP_DHCP_GET_NTP_SRV is not set
CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
# end of SNTP
CONFIG_LWIP_BRIDGEIF_MAX_PORTS=7
CONFIG_LWIP_ESP_LWIP_ASSERT=y
#
# Hooks
#
# CONFIG_LWIP_HOOK_TCP_ISN_NONE is not set
CONFIG_LWIP_HOOK_TCP_ISN_DEFAULT=y
# CONFIG_LWIP_HOOK_TCP_ISN_CUSTOM is not set
CONFIG_LWIP_HOOK_IP6_ROUTE_NONE=y
# CONFIG_LWIP_HOOK_IP6_ROUTE_DEFAULT is not set
# CONFIG_LWIP_HOOK_IP6_ROUTE_CUSTOM is not set
CONFIG_LWIP_HOOK_ND6_GET_GW_NONE=y
# CONFIG_LWIP_HOOK_ND6_GET_GW_DEFAULT is not set
# CONFIG_LWIP_HOOK_ND6_GET_GW_CUSTOM is not set
CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_NONE=y
# CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_DEFAULT is not set
# CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_CUSTOM is not set
CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_NONE=y
# CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_DEFAULT is not set
# CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_CUSTOM is not set
CONFIG_LWIP_HOOK_IP6_INPUT_NONE=y
# CONFIG_LWIP_HOOK_IP6_INPUT_DEFAULT is not set
# CONFIG_LWIP_HOOK_IP6_INPUT_CUSTOM is not set
# end of Hooks
# CONFIG_LWIP_DEBUG is not set
# end of LWIP
#
# mbedTLS
#
CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y
# CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC is not set
# CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC is not set
CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN=16384
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=4096
# CONFIG_MBEDTLS_DYNAMIC_BUFFER is not set
# CONFIG_MBEDTLS_DEBUG is not set
#
# mbedTLS v3.x related
#
# CONFIG_MBEDTLS_SSL_PROTO_TLS1_3 is not set
# CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH is not set
CONFIG_MBEDTLS_ECDH_LEGACY_CONTEXT=y
# CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK is not set
# CONFIG_MBEDTLS_SSL_CONTEXT_SERIALIZATION is not set
CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE=y
CONFIG_MBEDTLS_PKCS7_C=y
# end of mbedTLS v3.x related
#
# Certificate Bundle
#
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE=y
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL=y
# CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN is not set
# CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE is not set
# CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE is not set
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS=200
# end of Certificate Bundle
CONFIG_MBEDTLS_ECP_RESTARTABLE=y
CONFIG_MBEDTLS_CMAC_C=y
CONFIG_MBEDTLS_HARDWARE_AES=y
CONFIG_MBEDTLS_HARDWARE_MPI=y
CONFIG_MBEDTLS_HARDWARE_SHA=y
CONFIG_MBEDTLS_ROM_MD5=y
# CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN is not set
# CONFIG_MBEDTLS_ATCA_HW_ECDSA_VERIFY is not set
CONFIG_MBEDTLS_HAVE_TIME=y
# CONFIG_MBEDTLS_PLATFORM_TIME_ALT is not set
# CONFIG_MBEDTLS_HAVE_TIME_DATE is not set
CONFIG_MBEDTLS_ECDSA_DETERMINISTIC=y
CONFIG_MBEDTLS_SHA512_C=y
CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
# CONFIG_MBEDTLS_TLS_SERVER_ONLY is not set
# CONFIG_MBEDTLS_TLS_CLIENT_ONLY is not set
# CONFIG_MBEDTLS_TLS_DISABLED is not set
CONFIG_MBEDTLS_TLS_SERVER=y
CONFIG_MBEDTLS_TLS_CLIENT=y
CONFIG_MBEDTLS_TLS_ENABLED=y
#
# TLS Key Exchange Methods
#
# CONFIG_MBEDTLS_PSK_MODES is not set
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA=y
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA=y
# end of TLS Key Exchange Methods
CONFIG_MBEDTLS_SSL_RENEGOTIATION=y
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
# CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1 is not set
# CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set
CONFIG_MBEDTLS_SSL_ALPN=y
CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS=y
CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS=y
#
# Symmetric Ciphers
#
CONFIG_MBEDTLS_AES_C=y
# CONFIG_MBEDTLS_CAMELLIA_C is not set
# CONFIG_MBEDTLS_DES_C is not set
# CONFIG_MBEDTLS_BLOWFISH_C is not set
# CONFIG_MBEDTLS_XTEA_C is not set
CONFIG_MBEDTLS_CCM_C=y
CONFIG_MBEDTLS_GCM_C=y
# CONFIG_MBEDTLS_NIST_KW_C is not set
# end of Symmetric Ciphers
# CONFIG_MBEDTLS_RIPEMD160_C is not set
#
# Certificates
#
CONFIG_MBEDTLS_PEM_PARSE_C=y
CONFIG_MBEDTLS_PEM_WRITE_C=y
CONFIG_MBEDTLS_X509_CRL_PARSE_C=y
CONFIG_MBEDTLS_X509_CSR_PARSE_C=y
# end of Certificates
CONFIG_MBEDTLS_ECP_C=y
# CONFIG_MBEDTLS_DHM_C is not set
CONFIG_MBEDTLS_ECDH_C=y
CONFIG_MBEDTLS_ECDSA_C=y
# CONFIG_MBEDTLS_ECJPAKE_C is not set
CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=y
CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED=y
CONFIG_MBEDTLS_ECP_NIST_OPTIM=y
CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y
# CONFIG_MBEDTLS_POLY1305_C is not set
# CONFIG_MBEDTLS_CHACHA20_C is not set
# CONFIG_MBEDTLS_HKDF_C is not set
# CONFIG_MBEDTLS_THREADING_C is not set
# CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI is not set
# CONFIG_MBEDTLS_SECURITY_RISKS is not set
# end of mbedTLS
#
# ESP-MQTT Configurations
#
CONFIG_MQTT_PROTOCOL_311=y
# CONFIG_MQTT_PROTOCOL_5 is not set
CONFIG_MQTT_TRANSPORT_SSL=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET=y
CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE=y
# CONFIG_MQTT_MSG_ID_INCREMENTAL is not set
# CONFIG_MQTT_SKIP_PUBLISH_IF_DISCONNECTED is not set
# CONFIG_MQTT_REPORT_DELETED_MESSAGES is not set
# CONFIG_MQTT_USE_CUSTOM_CONFIG is not set
# CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED is not set
# CONFIG_MQTT_CUSTOM_OUTBOX is not set
# end of ESP-MQTT Configurations
#
# Newlib
#
CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF=y
# CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF is not set
# CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR is not set
# CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF is not set
# CONFIG_NEWLIB_STDIN_LINE_ENDING_LF is not set
CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
# CONFIG_NEWLIB_NANO_FORMAT is not set
CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT=y
# CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC is not set
# CONFIG_NEWLIB_TIME_SYSCALL_USE_HRT is not set
# CONFIG_NEWLIB_TIME_SYSCALL_USE_NONE is not set
# end of Newlib
#
# NVS
#
# CONFIG_NVS_ASSERT_ERROR_CHECK is not set
# end of NVS
#
# OpenThread
#
# CONFIG_OPENTHREAD_ENABLED is not set
#
# Thread Operational Dataset
#
CONFIG_OPENTHREAD_NETWORK_NAME="OpenThread-ESP"
CONFIG_OPENTHREAD_MESH_LOCAL_PREFIX="fd00:db8:a0:0::/64"
CONFIG_OPENTHREAD_NETWORK_CHANNEL=15
CONFIG_OPENTHREAD_NETWORK_PANID=0x1234
CONFIG_OPENTHREAD_NETWORK_EXTPANID="dead00beef00cafe"
CONFIG_OPENTHREAD_NETWORK_MASTERKEY="00112233445566778899aabbccddeeff"
CONFIG_OPENTHREAD_NETWORK_PSKC="104810e2315100afd6bc9215a6bfac53"
# end of Thread Operational Dataset
# end of OpenThread
#
# Protocomm
#
CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0=y
CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1=y
CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2=y
# end of Protocomm
#
# PThreads
#
CONFIG_PTHREAD_TASK_PRIO_DEFAULT=5
CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
CONFIG_PTHREAD_STACK_MIN=768
CONFIG_PTHREAD_DEFAULT_CORE_NO_AFFINITY=y
# CONFIG_PTHREAD_DEFAULT_CORE_0 is not set
# CONFIG_PTHREAD_DEFAULT_CORE_1 is not set
CONFIG_PTHREAD_TASK_CORE_DEFAULT=-1
CONFIG_PTHREAD_TASK_NAME_DEFAULT="pthread"
# end of PThreads
#
# MMU Config
#
CONFIG_MMU_PAGE_SIZE_64KB=y
CONFIG_MMU_PAGE_MODE="64KB"
CONFIG_MMU_PAGE_SIZE=0x10000
# end of MMU Config
#
# SPI Flash driver
#
# CONFIG_SPI_FLASH_VERIFY_WRITE is not set
# CONFIG_SPI_FLASH_ENABLE_COUNTERS is not set
CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
CONFIG_SPI_FLASH_DANGEROUS_WRITE_ABORTS=y
# CONFIG_SPI_FLASH_DANGEROUS_WRITE_FAILS is not set
# CONFIG_SPI_FLASH_DANGEROUS_WRITE_ALLOWED is not set
# CONFIG_SPI_FLASH_SHARE_SPI1_BUS is not set
# CONFIG_SPI_FLASH_BYPASS_BLOCK_ERASE is not set
CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y
CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1
CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE=4096
# CONFIG_SPI_FLASH_SIZE_OVERRIDE is not set
# CONFIG_SPI_FLASH_CHECK_ERASE_TIMEOUT_DISABLED is not set
# CONFIG_SPI_FLASH_OVERRIDE_CHIP_DRIVER_LIST is not set
#
# SPI Flash behavior when brownout
#
CONFIG_SPI_FLASH_BROWNOUT_RESET_XMC=y
CONFIG_SPI_FLASH_BROWNOUT_RESET=y
# end of SPI Flash behavior when brownout
#
# Auto-detect flash chips
#
CONFIG_SPI_FLASH_VENDOR_XMC_SUPPORTED=y
CONFIG_SPI_FLASH_VENDOR_GD_SUPPORTED=y
CONFIG_SPI_FLASH_VENDOR_ISSI_SUPPORTED=y
CONFIG_SPI_FLASH_VENDOR_MXIC_SUPPORTED=y
CONFIG_SPI_FLASH_VENDOR_WINBOND_SUPPORTED=y
CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP=y
CONFIG_SPI_FLASH_SUPPORT_MXIC_CHIP=y
CONFIG_SPI_FLASH_SUPPORT_GD_CHIP=y
CONFIG_SPI_FLASH_SUPPORT_WINBOND_CHIP=y
# CONFIG_SPI_FLASH_SUPPORT_BOYA_CHIP is not set
# CONFIG_SPI_FLASH_SUPPORT_TH_CHIP is not set
# end of Auto-detect flash chips
CONFIG_SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE=y
# end of SPI Flash driver
#
# SPIFFS Configuration
#
CONFIG_SPIFFS_MAX_PARTITIONS=3
#
# SPIFFS Cache Configuration
#
CONFIG_SPIFFS_CACHE=y
CONFIG_SPIFFS_CACHE_WR=y
# CONFIG_SPIFFS_CACHE_STATS is not set
# end of SPIFFS Cache Configuration
CONFIG_SPIFFS_PAGE_CHECK=y
CONFIG_SPIFFS_GC_MAX_RUNS=10
# CONFIG_SPIFFS_GC_STATS is not set
CONFIG_SPIFFS_PAGE_SIZE=256
CONFIG_SPIFFS_OBJ_NAME_LEN=32
# CONFIG_SPIFFS_FOLLOW_SYMLINKS is not set
CONFIG_SPIFFS_USE_MAGIC=y
CONFIG_SPIFFS_USE_MAGIC_LENGTH=y
CONFIG_SPIFFS_META_LENGTH=4
CONFIG_SPIFFS_USE_MTIME=y
#
# Debug Configuration
#
# CONFIG_SPIFFS_DBG is not set
# CONFIG_SPIFFS_API_DBG is not set
# CONFIG_SPIFFS_GC_DBG is not set
# CONFIG_SPIFFS_CACHE_DBG is not set
# CONFIG_SPIFFS_CHECK_DBG is not set
# CONFIG_SPIFFS_TEST_VISUALISATION is not set
# end of Debug Configuration
# end of SPIFFS Configuration
#
# TCP Transport
#
#
# Websocket
#
CONFIG_WS_TRANSPORT=y
CONFIG_WS_BUFFER_SIZE=1024
# CONFIG_WS_DYNAMIC_BUFFER is not set
# end of Websocket
# end of TCP Transport
#
# Ultra Low Power (ULP) Co-processor
#
# CONFIG_ULP_COPROC_ENABLED is not set
# end of Ultra Low Power (ULP) Co-processor
#
# Unity unit testing library
#
CONFIG_UNITY_ENABLE_FLOAT=y
CONFIG_UNITY_ENABLE_DOUBLE=y
# CONFIG_UNITY_ENABLE_64BIT is not set
# CONFIG_UNITY_ENABLE_COLOR is not set
CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y
# CONFIG_UNITY_ENABLE_FIXTURE is not set
# CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL is not set
# end of Unity unit testing library
#
# Root Hub configuration
#
# end of Root Hub configuration
#
# Virtual file system
#
CONFIG_VFS_SUPPORT_IO=y
CONFIG_VFS_SUPPORT_DIR=y
CONFIG_VFS_SUPPORT_SELECT=y
CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_VFS_SUPPORT_TERMIOS=y
CONFIG_VFS_MAX_COUNT=8
#
# Host File System I/O (Semihosting)
#
CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS=1
# end of Host File System I/O (Semihosting)
# end of Virtual file system
#
# Wear Levelling
#
# CONFIG_WL_SECTOR_SIZE_512 is not set
CONFIG_WL_SECTOR_SIZE_4096=y
CONFIG_WL_SECTOR_SIZE=4096
# end of Wear Levelling
#
# Wi-Fi Provisioning Manager
#
CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES=16
CONFIG_WIFI_PROV_AUTOSTOP_TIMEOUT=30
# CONFIG_WIFI_PROV_BLE_BONDING is not set
CONFIG_WIFI_PROV_BLE_SEC_CONN=y
# CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION is not set
# CONFIG_WIFI_PROV_KEEP_BLE_ON_AFTER_PROV is not set
CONFIG_WIFI_PROV_STA_ALL_CHANNEL_SCAN=y
# CONFIG_WIFI_PROV_STA_FAST_SCAN is not set
# end of Wi-Fi Provisioning Manager
#
# esp-modem
#
CONFIG_ESP_MODEM_CMUX_DEFRAGMENT_PAYLOAD=y
CONFIG_ESP_MODEM_CMUX_DELAY_AFTER_DLCI_SETUP=0
# end of esp-modem
# end of Component config
# CONFIG_IDF_EXPERIMENTAL_FEATURES is not set
# Deprecated options for backward compatibility
# CONFIG_APP_BUILD_TYPE_ELF_RAM is not set
# CONFIG_NO_BLOBS is not set
# CONFIG_ESP32_NO_BLOBS is not set
# CONFIG_ESP32_COMPATIBLE_PRE_V2_1_BOOTLOADERS is not set
# CONFIG_ESP32_COMPATIBLE_PRE_V3_1_BOOTLOADERS is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set
CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
# CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set
CONFIG_LOG_BOOTLOADER_LEVEL=3
# CONFIG_APP_ROLLBACK_ENABLE is not set
# CONFIG_FLASH_ENCRYPTION_ENABLED is not set
# CONFIG_FLASHMODE_QIO is not set
# CONFIG_FLASHMODE_QOUT is not set
CONFIG_FLASHMODE_DIO=y
# CONFIG_FLASHMODE_DOUT is not set
CONFIG_MONITOR_BAUD=115200
# CONFIG_OPTIMIZATION_LEVEL_DEBUG is not set
# CONFIG_COMPILER_OPTIMIZATION_LEVEL_DEBUG is not set
CONFIG_OPTIMIZATION_LEVEL_RELEASE=y
CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE=y
CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
# CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set
# CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set
CONFIG_OPTIMIZATION_ASSERTION_LEVEL=2
# CONFIG_CXX_EXCEPTIONS is not set
CONFIG_STACK_CHECK_NONE=y
# CONFIG_STACK_CHECK_NORM is not set
# CONFIG_STACK_CHECK_STRONG is not set
# CONFIG_STACK_CHECK_ALL is not set
# CONFIG_WARN_WRITE_STRINGS is not set
# CONFIG_ESP32_APPTRACE_DEST_TRAX is not set
CONFIG_ESP32_APPTRACE_DEST_NONE=y
CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
# CONFIG_BLUEDROID_ENABLED is not set
CONFIG_NIMBLE_ENABLED=y
CONFIG_NIMBLE_MEM_ALLOC_MODE_INTERNAL=y
# CONFIG_NIMBLE_MEM_ALLOC_MODE_DEFAULT is not set
CONFIG_NIMBLE_MAX_CONNECTIONS=2
CONFIG_NIMBLE_MAX_BONDS=3
CONFIG_NIMBLE_MAX_CCCDS=8
CONFIG_NIMBLE_L2CAP_COC_MAX_NUM=0
CONFIG_NIMBLE_PINNED_TO_CORE_0=y
# CONFIG_NIMBLE_PINNED_TO_CORE_1 is not set
CONFIG_NIMBLE_PINNED_TO_CORE=0
CONFIG_NIMBLE_TASK_STACK_SIZE=4096
CONFIG_BT_NIMBLE_TASK_STACK_SIZE=4096
CONFIG_NIMBLE_ROLE_CENTRAL=y
CONFIG_NIMBLE_ROLE_PERIPHERAL=y
CONFIG_NIMBLE_ROLE_BROADCASTER=y
CONFIG_NIMBLE_ROLE_OBSERVER=y
# CONFIG_NIMBLE_NVS_PERSIST is not set
CONFIG_NIMBLE_SM_LEGACY=y
CONFIG_NIMBLE_SM_SC=y
# CONFIG_NIMBLE_SM_SC_DEBUG_KEYS is not set
# CONFIG_NIMBLE_DEBUG is not set
CONFIG_NIMBLE_SVC_GAP_DEVICE_NAME="nimble"
CONFIG_NIMBLE_GAP_DEVICE_NAME_MAX_LEN=31
CONFIG_NIMBLE_ATT_PREFERRED_MTU=256
CONFIG_NIMBLE_SVC_GAP_APPEARANCE=0
CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT=12
CONFIG_BT_NIMBLE_ACL_BUF_COUNT=24
CONFIG_BT_NIMBLE_ACL_BUF_SIZE=255
CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE=70
CONFIG_BT_NIMBLE_HCI_EVT_HI_BUF_COUNT=30
CONFIG_BT_NIMBLE_HCI_EVT_LO_BUF_COUNT=8
CONFIG_NIMBLE_HS_FLOW_CTRL=y
CONFIG_NIMBLE_HS_FLOW_CTRL_ITVL=1000
CONFIG_NIMBLE_HS_FLOW_CTRL_THRESH=2
CONFIG_NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT=y
CONFIG_NIMBLE_RPA_TIMEOUT=900
# CONFIG_NIMBLE_MESH is not set
CONFIG_NIMBLE_CRYPTO_STACK_MBEDTLS=y
CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY=y
# CONFIG_BTDM_CONTROLLER_MODE_BR_EDR_ONLY is not set
# CONFIG_BTDM_CONTROLLER_MODE_BTDM is not set
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN=2
CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=2
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=0
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
CONFIG_BTDM_CONTROLLER_HCI_MODE_VHCI=y
# CONFIG_BTDM_CONTROLLER_HCI_MODE_UART_H4 is not set
CONFIG_BTDM_CONTROLLER_MODEM_SLEEP=y
CONFIG_BLE_SCAN_DUPLICATE=y
CONFIG_SCAN_DUPLICATE_BY_DEVICE_ADDR=y
# CONFIG_SCAN_DUPLICATE_BY_ADV_DATA is not set
# CONFIG_SCAN_DUPLICATE_BY_ADV_DATA_AND_DEVICE_ADDR is not set
CONFIG_SCAN_DUPLICATE_TYPE=0
CONFIG_DUPLICATE_SCAN_CACHE_SIZE=100
# CONFIG_BLE_MESH_SCAN_DUPLICATE_EN is not set
CONFIG_BTDM_CONTROLLER_FULL_SCAN_SUPPORTED=y
CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_SUPPORTED=y
CONFIG_BLE_ADV_REPORT_FLOW_CONTROL_NUM=100
CONFIG_BLE_ADV_REPORT_DISCARD_THRSHOLD=20
CONFIG_ADC2_DISABLE_DAC=y
CONFIG_MCPWM_ISR_IN_IRAM=y
# CONFIG_SW_COEXIST_ENABLE is not set
# CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE is not set
# CONFIG_ESP_WIFI_SW_COEXIST_ENABLE is not set
# CONFIG_EVENT_LOOP_PROFILING is not set
CONFIG_POST_EVENTS_FROM_ISR=y
CONFIG_POST_EVENTS_FROM_IRAM_ISR=y
# CONFIG_OTA_ALLOW_HTTP is not set
# CONFIG_TWO_UNIVERSAL_MAC_ADDRESS is not set
CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
# CONFIG_ESP_SYSTEM_PD_FLASH is not set
CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
# CONFIG_ESP32_RTC_CLK_SRC_INT_RC is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC is not set
CONFIG_ESP32_RTC_CLK_SRC_EXT_CRYS=y
CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL=y
# CONFIG_ESP32_RTC_CLK_SRC_EXT_OSC is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC is not set
# CONFIG_ESP32_RTC_CLK_SRC_INT_8MD256 is not set
# CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 is not set
# CONFIG_ESP32_RTC_EXT_CRYST_ADDIT_CURRENT_NONE is not set
# CONFIG_ESP32_RTC_EXT_CRYST_ADDIT_CURRENT is not set
# CONFIG_ESP32_RTC_EXTERNAL_CRYSTAL_ADDITIONAL_CURRENT is not set
CONFIG_ESP32_RTC_EXT_CRYST_ADDIT_CURRENT_V2=y
CONFIG_ESP32_RTC_CLK_CAL_CYCLES=4096
CONFIG_ESP32_RTC_XTAL_CAL_RETRY=2
# CONFIG_ESP32_XTAL_FREQ_26 is not set
CONFIG_ESP32_XTAL_FREQ_40=y
# CONFIG_ESP32_XTAL_FREQ_AUTO is not set
CONFIG_ESP32_XTAL_FREQ=40
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
# CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION is not set
CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
CONFIG_ESP32_PHY_MAX_TX_POWER=20
CONFIG_REDUCE_PHY_TX_POWER=y
CONFIG_ESP32_REDUCE_PHY_TX_POWER=y
# CONFIG_SPIRAM_SUPPORT is not set
# CONFIG_ESP32_SPIRAM_SUPPORT is not set
# CONFIG_ESP32_DEFAULT_CPU_FREQ_80 is not set
CONFIG_ESP32_DEFAULT_CPU_FREQ_160=y
# CONFIG_ESP32_DEFAULT_CPU_FREQ_240 is not set
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=160
CONFIG_TRACEMEM_RESERVE_DRAM=0x0
# CONFIG_ESP32_PANIC_PRINT_HALT is not set
CONFIG_ESP32_PANIC_PRINT_REBOOT=y
# CONFIG_ESP32_PANIC_SILENT_REBOOT is not set
# CONFIG_ESP32_PANIC_GDBSTUB is not set
CONFIG_ESP32_RTC_XTAL_BOOTSTRAP_CYCLES=5
CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304
CONFIG_MAIN_TASK_STACK_SIZE=3584
CONFIG_CONSOLE_UART_DEFAULT=y
# CONFIG_CONSOLE_UART_CUSTOM is not set
# CONFIG_CONSOLE_UART_NONE is not set
# CONFIG_ESP_CONSOLE_UART_NONE is not set
CONFIG_CONSOLE_UART=y
CONFIG_CONSOLE_UART_NUM=0
CONFIG_CONSOLE_UART_BAUDRATE=115200
CONFIG_INT_WDT=y
CONFIG_INT_WDT_TIMEOUT_MS=300
CONFIG_INT_WDT_CHECK_CPU1=y
CONFIG_TASK_WDT=y
CONFIG_ESP_TASK_WDT=y
# CONFIG_TASK_WDT_PANIC is not set
CONFIG_TASK_WDT_TIMEOUT_S=60
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
# CONFIG_ESP32_DEBUG_STUBS_ENABLE is not set
CONFIG_ESP32_DEBUG_OCDAWARE=y
CONFIG_BROWNOUT_DET=y
CONFIG_ESP32_BROWNOUT_DET=y
CONFIG_BROWNOUT_DET_LVL_SEL_0=y
CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_0=y
# CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_1 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_2 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_3 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_4 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_5 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_6 is not set
# CONFIG_BROWNOUT_DET_LVL_SEL_7 is not set
# CONFIG_ESP32_BROWNOUT_DET_LVL_SEL_7 is not set
CONFIG_BROWNOUT_DET_LVL=0
CONFIG_ESP32_BROWNOUT_DET_LVL=0
# CONFIG_DISABLE_BASIC_ROM_CONSOLE is not set
CONFIG_IPC_TASK_STACK_SIZE=1024
CONFIG_TIMER_TASK_STACK_SIZE=3584
CONFIG_ESP32_WIFI_ENABLED=y
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
# CONFIG_ESP32_WIFI_STATIC_TX_BUFFER is not set
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
# CONFIG_ESP32_WIFI_CSI_ENABLED is not set
CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y
CONFIG_ESP32_WIFI_TX_BA_WIN=6
CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
CONFIG_ESP32_WIFI_RX_BA_WIN=6
CONFIG_ESP32_WIFI_RX_BA_WIN=6
CONFIG_ESP32_WIFI_NVS_ENABLED=y
CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
# CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 is not set
CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
CONFIG_ESP32_WIFI_IRAM_OPT=y
CONFIG_ESP32_WIFI_RX_IRAM_OPT=y
# CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE is not set
CONFIG_ESP32_WIFI_ENABLE_WPA3_OWE_STA=y
CONFIG_WPA_MBEDTLS_CRYPTO=y
CONFIG_WPA_MBEDTLS_TLS_CLIENT=y
# CONFIG_WPA_WAPI_PSK is not set
# CONFIG_WPA_SUITE_B_192 is not set
# CONFIG_WPA_11KV_SUPPORT is not set
# CONFIG_WPA_MBO_SUPPORT is not set
# CONFIG_WPA_DPP_SUPPORT is not set
# CONFIG_WPA_11R_SUPPORT is not set
# CONFIG_WPA_WPS_SOFTAP_REGISTRAR is not set
# CONFIG_WPA_WPS_STRICT is not set
# CONFIG_WPA_DEBUG_PRINT is not set
# CONFIG_WPA_TESTING_OPTIONS is not set
# CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH is not set
# CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set
CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE=y
CONFIG_TIMER_TASK_PRIORITY=1
CONFIG_TIMER_TASK_STACK_DEPTH=2048
CONFIG_TIMER_QUEUE_LENGTH=10
# CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK is not set
# CONFIG_HAL_ASSERTION_SILIENT is not set
# CONFIG_L2_TO_L3_COPY is not set
CONFIG_ESP_GRATUITOUS_ARP=y
CONFIG_GARP_TMR_INTERVAL=60
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_TCP_MAXRTX=12
CONFIG_TCP_SYNMAXRTX=12
CONFIG_TCP_MSS=1440
CONFIG_TCP_MSL=60000
CONFIG_TCP_SND_BUF_DEFAULT=5744
CONFIG_TCP_WND_DEFAULT=5744
CONFIG_TCP_RECVMBOX_SIZE=6
CONFIG_TCP_QUEUE_OOSEQ=y
CONFIG_TCP_OVERSIZE_MSS=y
# CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set
# CONFIG_TCP_OVERSIZE_DISABLE is not set
CONFIG_UDP_RECVMBOX_SIZE=6
CONFIG_TCPIP_TASK_STACK_SIZE=3072
CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
# CONFIG_TCPIP_TASK_AFFINITY_CPU0 is not set
# CONFIG_TCPIP_TASK_AFFINITY_CPU1 is not set
CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF
CONFIG_PPP_SUPPORT=y
# CONFIG_PPP_NOTIFY_PHASE_SUPPORT is not set
# CONFIG_PPP_PAP_SUPPORT is not set
# CONFIG_PPP_CHAP_SUPPORT is not set
# CONFIG_PPP_MSCHAP_SUPPORT is not set
# CONFIG_PPP_MPPE_SUPPORT is not set
# CONFIG_PPP_DEBUG_ON is not set
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_HRT=y
CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
# CONFIG_ESP32_TIME_SYSCALL_USE_RTC is not set
# CONFIG_ESP32_TIME_SYSCALL_USE_HRT is not set
# CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 is not set
# CONFIG_ESP32_TIME_SYSCALL_USE_NONE is not set
CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
CONFIG_ESP32_PTHREAD_STACK_MIN=768
CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y
# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0 is not set
# CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1 is not set
CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"
CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
# CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS is not set
# CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED is not set
# CONFIG_ESP32_ULP_COPROC_ENABLED is not set
CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
CONFIG_SUPPORT_TERMIOS=y
CONFIG_SEMIHOSTFS_MAX_MOUNT_POINTS=1
# End of deprecated options
@MisterScience5
elf
file for the watchdog device? Sure, is there a private address I could send the elf file and log too? The lof is fairly large, and I would like the not publish the elf file if possible.
Here is a log cutout with addr2line available, I had some path issues:
E (879809) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (879809) task_wdt: - status_task (CPU 0/1)
E (879809) task_wdt: Tasks currently running:
E (879809) task_wdt: CPU 0: IDLE
E (879809) task_wdt: CPU 1: IDLE
E (879809) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400EFC3F:0x3FFBFD60 0x40082FB1:0x3FFBFD90 0x4008979B:0x3FFB2520 0x400EDD65:0x3FFB2540 0x400D4A73:0x3FFB2560 0x4008CAEC:0x3FFB2580
0x400efc3f: task_wdt_timeout_handling at C:/Users/prebe/esp/esp-idf/components/esp_system/task_wdt/task_wdt.c:461
(inlined by) task_wdt_isr at C:/Users/prebe/esp/esp-idf/components/esp_system/task_wdt/task_wdt.c:585
0x40082fb1: _xt_lowint1 at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:1236
0x4008979b: xt_utils_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/xtensa/include/xt_utils.h:81
(inlined by) esp_cpu_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/esp_hw_support/cpu.c:111
0x400edd65: esp_pm_impl_waiti at C:/Users/prebe/esp/esp-idf/components/esp_pm/pm_impl.c:834
0x400d4a73: esp_vApplicationIdleHook at C:/Users/prebe/esp/esp-idf/components/esp_system/freertos_hooks.c:57
0x4008caec: prvIdleTask at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:4327
E (879809) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863BF:0x3FFC0370 0x40082FB1:0x3FFC0390 0x4008979B:0x3FFB2C80 0x400EDD65:0x3FFB2CA0 0x400D4A73:0x3FFB2CC0 0x4008CAEC:0x3FFB2CE0
0x400863bf: esp_crosscore_isr at C:/Users/prebe/esp/esp-idf/components/esp_system/crosscore_int.c:96
0x40082fb1: _xt_lowint1 at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:1236
0x4008979b: xt_utils_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/xtensa/include/xt_utils.h:81
(inlined by) esp_cpu_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/esp_hw_support/cpu.c:111
0x400edd65: esp_pm_impl_waiti at C:/Users/prebe/esp/esp-idf/components/esp_pm/pm_impl.c:834
0x400d4a73: esp_vApplicationIdleHook at C:/Users/prebe/esp/esp-idf/components/esp_system/freertos_hooks.c:57
0x4008caec: prvIdleTask at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:4327
E (939859) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (939859) task_wdt: - status_task (CPU 0/1)
E (939859) task_wdt: Tasks currently running:
E (939859) task_wdt: CPU 0: IDLE
E (939859) task_wdt: CPU 1: IDLE
E (939859) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400EFC3F:0x3FFBFD60 0x40082FB1:0x3FFBFD90 0x4008979B:0x3FFB2520 0x400EDD65:0x3FFB2540 0x400D4A73:0x3FFB2560 0x4008CAEC:0x3FFB2580
0x400efc3f: task_wdt_timeout_handling at C:/Users/prebe/esp/esp-idf/components/esp_system/task_wdt/task_wdt.c:461
(inlined by) task_wdt_isr at C:/Users/prebe/esp/esp-idf/components/esp_system/task_wdt/task_wdt.c:585
0x40082fb1: _xt_lowint1 at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:1236
0x4008979b: xt_utils_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/xtensa/include/xt_utils.h:81
(inlined by) esp_cpu_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/esp_hw_support/cpu.c:111
0x400edd65: esp_pm_impl_waiti at C:/Users/prebe/esp/esp-idf/components/esp_pm/pm_impl.c:834
0x400d4a73: esp_vApplicationIdleHook at C:/Users/prebe/esp/esp-idf/components/esp_system/freertos_hooks.c:57
0x4008caec: prvIdleTask at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:4327
E (939859) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863BF:0x3FFC0370 0x40082FB1:0x3FFC0390 0x4008979B:0x3FFB2C80 0x400EDD65:0x3FFB2CA0 0x400D4A73:0x3FFB2CC0 0x4008CAEC:0x3FFB2CE0
0x400863bf: esp_crosscore_isr at C:/Users/prebe/esp/esp-idf/components/esp_system/crosscore_int.c:96
0x40082fb1: _xt_lowint1 at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:1236
0x4008979b: xt_utils_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/xtensa/include/xt_utils.h:81
(inlined by) esp_cpu_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/esp_hw_support/cpu.c:111
0x400edd65: esp_pm_impl_waiti at C:/Users/prebe/esp/esp-idf/components/esp_pm/pm_impl.c:834
0x400d4a73: esp_vApplicationIdleHook at C:/Users/prebe/esp/esp-idf/components/esp_system/freertos_hooks.c:57
0x4008caec: prvIdleTask at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:4327
To answer question two, I have seen the watchdog issue happen on a few devices, most of the time the mesh is disabled successfully. If it is not, the watchdog triggers, but I have not so far seen a successful watchdog restart in this scenario.
I have seen several devices become unavailable on the mesh, but only two devices that I am monitoring serial data have had this watchdog issue so far, for those two the symtoms are the same.
One device is experiencing the problem significantly more frequently, but I suspect that device has a hardware issue as it sometimes browns out on wifi stop.
All devices that I have seen the issue on so far are devices without 32k crystals, I am using NodeMCU DevkitV1 devices to create a larger mesh.
hi @MisterScience5 ,could you provide the elf file and log by sending mail to sales@espressif.com , Please note that this is an issue from GitHub with the link. and please at me after you sending the email that we will know as soon as possible
@MisterScience5 If you set the RTC clock source
to RTC_CLK_SRC_INT_RC
, is the task watchdog issue still there?
@Xiehanxin I have sent the ELF file now, sorry for the delay!
@zhangyanjiaoesp I am creating a build now with the crystal disabled to test, I did try to change the failing units that failed their crystal startup to the 8MD256 clock source with the code at the bottom, but this did not work.
I did also see a crash on an ESP-WROVER-KIT which has a 32k crystal, this is the first crystal enabled device I have seen the lockup on.
However during the last 5 days I have not yet seen any lockups on production devices. We are testing with devices in production that are close enough to service rapidly. We have 34 pieces in production that have been running the new firmware for 5 days, and we are flashing up two new batches for a total of 119 production units this morning, to get more data.
esp_err_t system_check_system_clock()
{
soc_rtc_slow_clk_src_t rtc_slow_clk = rtc_clk_slow_src_get();
if (rtc_slow_clk == SOC_RTC_SLOW_CLK_SRC_XTAL32K)
{
system_status.clock_error = false;
return ESP_OK;
}
ESP_LOGE(CORE_TAG, "System clock error, could not start 32k crystal!");
rtc_clk_8m_enable(true, true);
rtc_clk_slow_src_set(SOC_RTC_SLOW_CLK_SRC_RC_FAST_D256);
if(rtc_clk_slow_src_get() == SOC_RTC_SLOW_CLK_SRC_RC_FAST_D256)
{
ESP_LOGW(CORE_TAG, "Successfully enabled 8MD256 clock source");
}
system_status.clock_error = true;
return ESP_FAIL;
}
Sadly, it seems I am now seeing production units experiencing lockups. None dropped off for the first week, but now I am seeing a number of them disappearing, 8 out of 109 devices have disappeared longer than the 24h fixed restart period. Presumably the reason they are suddenly disappearing at an increased rate is the poor wifi communications in the chain mesh provoking task watchdogs that do not complete.
So far, the test devices without the 32k crystal enabled seem stable, although they require more testing time to be sure.
Update: I caught the stuck watchdog again on a device with 32k crystal disabled, so this does not seem to make a difference. I am currently trying out the RTC watchdog enabled in the program to see if this will work as an alternative.
@MisterScience5 Thanks for your update, we will check the elf file you sent.
It seems the ELF file was bounced by the mailserver as the zipped ELF was not allowed. I have sent a new mail with a hosted link to the ELF file.
hi @MisterScience5 could you tell me your email address
My address is preben(at)dyrholm.no
@MisterScience5 Can you add this changes to your code, and test whether the lockup still exist?
Recompiled with the changes now, and disabled the RTC WDT (which so far seems to have worked, although I have yet to confirm it with a device I have serial data from). Hopefully I will get a lockup soon so I can confirm:)
Sadly the lockup persists, it took a while to hit a device I have serial logging on, but I have steadily lost devices from the mesh after implementing the changes.
I (23:19:21.154) core: Disabling mesh
I (23:19:21.174) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:0 (ESP_OK)
I (23:19:21.180) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:8 (ERROR)
I (23:19:21.195) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:106 (ERROR)
I (23:19:21.234) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (23:19:21.238) esp_mesh: <MESH_EVENT_PARENT_CONNECTED>layer:-1-->0, parent:30:c6:f7:2f:b8:8d, ID:62:74:67:6c:79:73, duty:0, rssi:-67
I (23:19:21.247) esp_mesh: Requesting TSF time from parent 30:c6:f7:2f:b8:8d
I (23:19:21.257) esp_mesh: <MESH_EVENT_TODS_REACHABLE>state:0
I (23:19:21.261) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (23:19:21.260) esp_mesh: Got new time from root, node time was 0.5249 seconds compared to root
I (23:19:21.276) esp_mesh: <MESH_EVENT_STOPPED>
E (12146295) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (12146295) task_wdt: - status_task (CPU 0/1)
E (12146295) task_wdt: Tasks currently running:
E (12146295) task_wdt: CPU 0: IDLE
E (12146295) task_wdt: CPU 1: IDLE
E (12146295) task_wdt: Print CPU 0 (current core) backtrace
Backtrace: 0x400F01A3:0x3FFBFD60 0x40082FA9:0x3FFBFD90 0x40089793:0x3FFB2520 0x400EE2C9:0x3FFB2540 0x400D4A4F:0x3FFB2560 0x4008CB00:0x3FFB2580
0x400f01a3: task_wdt_timeout_handling at C:/Users/prebe/esp/esp-idf/components/esp_system/task_wdt/task_wdt.c:442
(inlined by) task_wdt_isr at C:/Users/prebe/esp/esp-idf/components/esp_system/task_wdt/task_wdt.c:585
0x40082fa9: _xt_lowint1 at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:1240
0x40089793: xt_utils_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/xtensa/include/xt_utils.h:81
(inlined by) esp_cpu_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/esp_hw_support/cpu.c:111
0x400ee2c9: xt_utils_get_core_id at C:/Users/prebe/esp/esp-idf/components/xtensa/include/xt_utils.h:36
(inlined by) esp_cpu_get_core_id at C:/Users/prebe/esp/esp-idf/components/esp_hw_support/include/esp_cpu.h:127
(inlined by) xPortGetCoreID at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:631
(inlined by) esp_pm_impl_idle_hook at C:/Users/prebe/esp/esp-idf/components/esp_pm/pm_impl.c:777
0x400d4a4f: esp_vApplicationIdleHook at C:/Users/prebe/esp/esp-idf/components/esp_system/freertos_hooks.c:48 (discriminator 1)
0x4008cb00: prvIdleTask at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:4327
E (12146295) task_wdt: Print CPU 1 backtrace
Backtrace: 0x400863B7:0x3FFC0370 0x40082FA9:0x3FFC0390 0x40089793:0x3FFB2C80 0x400EE2C9:0x3FFB2CA0 0x400D4A4F:0x3FFB2CC0 0x4008CB00:0x3FFB2CE0
0x400863b7: esp_crosscore_isr at C:/Users/prebe/esp/esp-idf/components/esp_system/crosscore_int.c:96
0x40082fa9: _xt_lowint1 at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/xtensa_vectors.S:1240
0x40089793: xt_utils_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/xtensa/include/xt_utils.h:81
(inlined by) esp_cpu_wait_for_intr at C:/Users/prebe/esp/esp-idf/components/esp_hw_support/cpu.c:111
0x400ee2c9: xt_utils_get_core_id at C:/Users/prebe/esp/esp-idf/components/xtensa/include/xt_utils.h:36
(inlined by) esp_cpu_get_core_id at C:/Users/prebe/esp/esp-idf/components/esp_hw_support/include/esp_cpu.h:127
(inlined by) xPortGetCoreID at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:631
(inlined by) esp_pm_impl_idle_hook at C:/Users/prebe/esp/esp-idf/components/esp_pm/pm_impl.c:777
0x400d4a4f: esp_vApplicationIdleHook at C:/Users/prebe/esp/esp-idf/components/esp_system/freertos_hooks.c:48 (discriminator 1)
0x4008cb00: prvIdleTask at C:/Users/prebe/esp/esp-idf/components/freertos/FreeRTOS-Kernel/tasks.c:4327
@MisterScience5 Where is status_task
defined and what does it do?
It is defined in the same file, the status task manages periodically running a function to get a lighting setting from a configured calendar, as well as printing the current status, The program is run on battery powered street lamps.
Here is the function:
__attribute__((noreturn)) void main_status_loop(void *arg)
{
bool got_updated_lamp_settings = false;
#if SHOW_TASK_LIST
char task_list_buffer[2000] = "";
#endif
// time_t loop_start_time = esp_timer_get_time();
ESP_ERROR_CHECK(esp_task_wdt_add(NULL));
#if ENABLE_RTC_WDT
rtc_wdt_protect_off(); //Disable RTC WDT write protection
//Set stage 0 to trigger a system reset after 1000ms
rtc_wdt_set_stage(RTC_WDT_STAGE0, RTC_WDT_STAGE_ACTION_RESET_SYSTEM);
rtc_wdt_set_time(RTC_WDT_STAGE0, 60000);
rtc_wdt_enable(); //Start the RTC WDT timer
rtc_wdt_protect_on(); //Enable RTC WDT write protection
#endif
ESP_LOGI(CORE_TAG, "Subscribed system monitor task to WDT, status is %s. RTC watchdog is %s.", esp_err_to_name(esp_task_wdt_status(NULL)), (rtc_wdt_is_on())? "on":"off");
while(true)
{
#if CONFIG_ENABLE_TRACING
ESP_ERROR_CHECK(heap_trace_start(HEAP_TRACE_LEAKS));
#endif
sleep(min(10000 - (system_get_current_epoch_ms() % 10000), 10000));
#if CONFIG_ENABLE_TRACING
ESP_ERROR_CHECK(heap_trace_stop());
heap_trace_dump();
#endif
while(system_get_current_epoch_ms() % 10000 > 9800)
{
sleep(40);
}
// ESP_LOGD(CORE_TAG, "Status task reset watchdog, loop time was %lldms", (esp_timer_get_time() - loop_start_time) / 1000);
esp_task_wdt_reset();
#if ENABLE_RTC_WDT
rtc_wdt_feed();
#endif
// loop_start_time = esp_timer_get_time();
system_check_if_lamp_allowed(true);
if(system_get_current_epoch() % 30 < 5)
{
ESP_LOGI(CORE_TAG, "Mesh: %3s, connected: %3s, lamp: %hhu%%%s, free mem/block: %3luk, min mem: %3luk, uptime: %lldm, next sync: %02lldm %02llds", (esp_mesh_active)? "on":"off", (esp_mesh_connected)? "yes":"no", ledc_get_main_lamp_duty_percent(), system_check_if_lamp_allowed(false)? "":" (blocked)", esp_get_free_heap_size() / 1024, esp_get_minimum_free_heap_size() / 1024, esp_timer_get_time() / 60000000, (system_get_next_sync_time() - time_now.tv_sec) / 60, (system_get_next_sync_time() - time_now.tv_sec) % 60);
if(esp_mesh_active)
{
// esp_mesh_get_tx_pending(&tx_pending);
// esp_mesh_get_rx_pending(&rx_pending);
esp_mesh_get_parent_rssi();
mesh_addr_t(parent_address);
esp_mesh_get_parent_bssid(&parent_address);
// ESP_LOGI(MESH_TAG, "Pending TX/RX: %d/%d - (Bc: %d, Mgmt: %d, Chd: %d, ChdP2P: %d, Pa: %d, ParP2P: %d / ToSf: %d, ToDS: %d)", tx_pending.broadcast + tx_pending.mgmt + tx_pending.to_child + tx_pending.to_child_p2p + tx_pending.to_parent + tx_pending.to_parent_p2p, rx_pending.toSelf + rx_pending.toDS, tx_pending.broadcast, tx_pending.mgmt, tx_pending.to_child, tx_pending.to_child_p2p, tx_pending.to_parent, tx_pending.to_parent_p2p, rx_pending.toSelf, rx_pending.toDS);
if(esp_mesh_connected && !esp_mesh_is_root())
{
ESP_LOGI(MESH_TAG, "Connected to: " MACSTR ", RSSI: %hhd", MAC2STR(parent_address.addr), esp_mesh_get_parent_rssi());
}
}
#if SHOW_TASK_LIST
// if(!basic_settings.is_root)
// {
vTaskList(task_list_buffer);
printf("%s", task_list_buffer);
uart_wait_tx_idle_polling(UART_NUM_0);
vTaskGetRunTimeStats(task_list_buffer);
printf("%s", task_list_buffer);
uart_wait_tx_idle_polling(UART_NUM_0);
// }
#endif
}
if(!system_check_if_lamp_allowed(false))
{
ledc_set_main_lamp_with_fade(0, 500);
}
if(system_get_current_epoch() % 600 < 100)
{
if(!got_updated_lamp_settings) {
system_activate_current_lamp_settings();
got_updated_lamp_settings = true;
}
}
else
{
got_updated_lamp_settings = false;
}
}
vTaskDelete(NULL);
}
I should note that in the build that I am currently running on my test network, SHOW_TASK_LIST, ENABLE_RTC_WDT and CONFIG_ENABLE_TRACING are all disabled.
It is defined in the same file
The same file with who?
It is defined in the main program .c file, I have all my functions in a single .c file apart from library functions (esp_modem and the charger chip library for the LTC4015).
The declaration is in an accompanying .h file:
/**
* @brief Main status loop for all devices
*/
void main_status_loop(void *arg);
Have you tried to increase the value of CONFIG_ESP_TASK_WDT_TIMEOUT_S
? Oh, I'm sorry, the max value is 60s, and you have set it to 60s
Yes, it never triggers unless the wifi gets in a stuck state during the disable function.
@MisterScience5
Please check these line before esp_task_wdt_reset()
:
while(system_get_current_epoch_ms() % 10000 > 9800) { sleep(40); }
Suppose that 30 seconds of the TWDT period have expired, and you sleep for another 40. Then the watchdog will trigger 10 seconds before the task returns from sleep.
You can add some debug log near here to see whether your status_task
has fed the watchdog in time.
The watchdog triggering unexpectedly is not an issue in the code, it only triggers sometimes when an esp_mesh_disable() is called which causes the whole system to be so bogged down it starts triggering the watchdog. If I disable the watchdog, the system also stops functioning correctly indefinitely.
In fact the status task is the only task catching the malfunction, so the task_wdt is working as intended for my program except for the fact that it does not reboot the system to correct the problem leaving the system permanently unavailable until a hard reboot is performed.
If I disable the watchdog, the system also stops functioning correctly indefinitely.
So can you provide a complete log of the device that is not working properly with the task watchdog disabled?
Sure, I will reflash without the task watchdog, but it may take 1-3 days before I catch the crash
One unit froze now, however nothing much is visible in the logs, logging just stops as the device disables mesh. It seems like all or most tasks stop execution.
This is the last log lines taken this morning at 07:47, last log line is from 20:13 previous night, last time the device was seen by the mesh root was 20:12.
I (19:47:00.028) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 137m, next sync: 07m 00s
I (19:47:30.027) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 138m, next sync: 06m 30s
I (19:48:00.026) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 138m, next sync: 06m 00s
I (19:48:30.025) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 139m, next sync: 05m 30s
I (19:49:00.024) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 139m, next sync: 05m 00s
I (19:49:30.034) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 140m, next sync: 04m 30s
I (19:50:00.034) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 140m, next sync: 04m 00s
I (19:50:00.036) core: Getting current lamp settings for Wednesday 19:50
I (19:50:30.033) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 141m, next sync: 03m 30s
I (19:51:00.033) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 141m, next sync: 03m 00s
I (19:51:30.033) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 142m, next sync: 02m 30s
I (19:52:00.032) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 142m, next sync: 02m 00s
I (19:52:30.032) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 143m, next sync: 01m 30s
I (19:53:00.031) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 143m, next sync: 01m 00s
I (19:53:30.031) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 144m, next sync: 00m 30s
I (19:54:00.030) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 144m, next sync: 18m 00s
I (19:54:00.582) core: Starting node synchronization
I (19:54:00.582) esp_mesh: Starting mesh as node
I (19:54:00.809) esp_mesh: <MESH_EVENT_MESH_STARTED>ID:62:74:67:6c:79:73
I (19:54:00.809) esp_mesh: ------------------------------------------------
I (19:54:00.815) esp_mesh: Mesh connection details
I (19:54:00.820) esp_mesh: ------------------------------------------------
I (19:54:00.828) esp_mesh: Mesh type: Node
I (19:54:00.835) esp_mesh: Mesh ID: 62:74:67:6c:79:73
I (19:54:00.843) esp_mesh: Station MAC: 30:c6:f7:2f:d7:54
I (19:54:00.850) esp_mesh: Channel: 0
I (19:54:00.857) esp_mesh: Country code: NO
I (19:54:00.864) esp_mesh: Max. connected stations: 6
I (19:54:00.870) esp_mesh: AP auth mode: 0
I (19:54:00.876) esp_mesh: AP assoc expire time: 10 s
I (19:54:00.883) esp_mesh: Mesh capacity: 200
I (19:54:00.890) esp_mesh: Crypt key: btg_ilume_62_74_67
I (19:54:00.898) esp_mesh: Crypt key length: 64
I (19:54:00.904) esp_mesh: AP protocol: 802.11b802.11g802.11n
I (19:54:00.912) esp_mesh: STA protocol: 802.11b802.11g802.11n
I (19:54:00.921) esp_mesh: Max. layer: 40
I (19:54:00.927) esp_mesh: Topology: Chain
I (19:54:00.934) esp_mesh: Root fixed: Yes
I (19:54:00.941) esp_mesh: Power save enabled: No
I (19:54:00.947) esp_mesh: Max. TX power: 19.5 dBm
I (19:54:00.954) esp_mesh: Free heap: 117 kB
I (19:54:00.961) esp_mesh: Scan time: 300 ms
I (19:54:00.968) esp_mesh: MF ID: fc9cffdd-bf25-45b6-b51e-30bc18a759fd
I (19:54:00.976) esp_mesh: MF key: de00d30e-aad9-403d-8d93-9da4e703d660
I (19:54:00.985) esp_mesh: MF chan: 6b6f88f6-77e5-4886-9e6d-96a3cf68776a
I (19:54:00.993) esp_mesh: ------------------------------------------------
I (19:54:04.720) esp_mesh: <MESH_EVENT_FIND_NETWORK>new channel:11, router BSSID:00:00:00:00:00:00
I (19:54:05.575) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (19:54:05.579) esp_mesh: <MESH_EVENT_PARENT_CONNECTED>layer:-1-->3, parent:30:c6:f7:2f:b8:8d, ID:62:74:67:6c:79:73, duty:0, rssi:-74
I (19:54:05.588) esp_mesh: Requesting TSF time from parent 30:c6:f7:2f:b8:8d
I (19:54:05.604) esp_mesh: <MESH_EVENT_TODS_REACHABLE>state:0
I (19:54:05.605) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (19:54:06.234) esp_mesh: Got new time from root, node time was 1.8448 seconds compared to root
I (19:54:06.243) esp_mesh: Got status from node 41, 30:c6:f7:2f:b8:8c up 577m on v1030
I (19:54:19.422) esp_mesh: Got new time from root, node time was 0.8311 seconds compared to root
I (19:54:19.424) esp_mesh: Got status from node 41, 0c:dc:7e:c3:85:f4 up 608m on v1030
I (19:54:30.021) core: Mesh: on, connected: yes, lamp: 0%, free mem/block: 117k, min mem: 109k, uptime: 145m, next sync: 17m 30s
I (19:54:30.024) esp_mesh: Connected to: 30:c6:f7:2f:b8:8d, RSSI: -75
I (19:54:33.465) esp_mesh: Received command to send basic settings from 0c:dc:7e:c3:85:f4
I (19:54:33.466) esp_mesh: Sending basic settings to root
I (19:54:33.528) esp_mesh: Received command to send charger settings from 0c:dc:7e:c3:85:f4
I (19:54:33.529) esp_mesh: Sending charger settings to root
I (19:54:33.587) esp_mesh: Received command to send calendar 0 from 0c:dc:7e:c3:85:f4
I (19:54:33.588) esp_mesh: Sending calendar profile 0 to root
I (19:54:33.645) esp_mesh: Received command to send calendar 1 from 0c:dc:7e:c3:85:f4
I (19:54:33.646) esp_mesh: Sending calendar profile 1 to root
I (19:54:33.695) esp_mesh: Received command to send calendar 2 from 0c:dc:7e:c3:85:f4
I (19:54:33.696) esp_mesh: Sending calendar profile 2 to root
I (19:54:33.748) esp_mesh: Received command to send calendar 3 from 0c:dc:7e:c3:85:f4
I (19:54:33.749) esp_mesh: Sending calendar profile 3 to root
I (19:54:33.795) esp_mesh: Received command to send measurement data from 0c:dc:7e:c3:85:f4
I (19:54:33.796) esp_mesh: Sending base message part 0 to root
I (19:54:33.846) esp_mesh: Sending base message part 1 to root
I (19:54:33.895) esp_mesh: Sending base message part 2 to root
I (19:54:33.955) esp_mesh: Sending base message part 3 to root
I (19:54:34.976) esp_mesh: Received command to clear measurement data from 0c:dc:7e:c3:85:f4
I (19:54:39.331) esp_mesh: Got new time from root, node time was 0.6577 seconds compared to root
I (19:54:39.333) esp_mesh: Got status from node 41, 0c:dc:7e:c3:85:f4 up 609m on v1030
I (19:54:59.304) esp_mesh: Got new time from root, node time was 0.6068 seconds compared to root
I (19:54:59.305) esp_mesh: Got status from node 41, 0c:dc:7e:c3:85:f4 up 609m on v1030
I (19:55:00.023) core: Mesh: on, connected: yes, lamp: 0%, free mem/block: 117k, min mem: 109k, uptime: 145m, next sync: 17m 00s
I (19:55:00.026) esp_mesh: Connected to: 30:c6:f7:2f:b8:8d, RSSI: -75
I (19:55:15.277) esp_mesh: Received OTA SHA256 is: 2a62466620ca104d8cc23c0894ddf71d723497e707745415a0abaf448a2a87b4
I (19:55:15.278) esp_mesh: Current OTA SHA256 is: 0000000000000000000000000000000000000000000000000000000000000000
I (19:55:15.289) esp_mesh: Received SHA256 is the same as running software, ignoring update
I (19:55:16.823) esp_mesh: Received command to send OTA status from 0c:dc:7e:c3:85:f4
I (19:55:18.428) esp_mesh: Received command to resume sleep from 0c:dc:7e:c3:85:f4
I (19:55:18.912) core: Got order to sleep
I (19:55:18.913) core: Got order to sleep
I (19:55:18.913) core: Disabling mesh
I (19:55:18.932) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:0 (ESP_OK)
I (19:55:18.938) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:8 (ERROR)
I (19:55:18.963) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:106 (ERROR)
I (19:55:19.051) esp_mesh: <MESH_EVENT_STOPPED>
I (19:55:19.371) esp_mesh: ESP mesh disabled!
E (8208337) wifi:NAN WiFi stop
I (19:55:19.375) core: Node synchronization complete
I (19:55:30.915) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 146m, next sync: 16m 30s
I (19:56:00.842) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 146m, next sync: 16m 00s
I (19:56:30.858) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 147m, next sync: 15m 30s
I (19:57:00.844) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 147m, next sync: 15m 00s
I (19:57:30.858) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 148m, next sync: 14m 30s
I (19:58:00.844) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 148m, next sync: 14m 00s
I (19:58:30.858) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 149m, next sync: 13m 30s
I (19:59:00.853) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 149m, next sync: 13m 00s
I (19:59:30.848) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 150m, next sync: 12m 30s
I (20:00:00.853) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 150m, next sync: 12m 00s
I (20:00:00.855) core: Getting current lamp settings for Wednesday 20:00
I (20:00:30.840) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 151m, next sync: 11m 30s
I (20:01:00.845) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 151m, next sync: 11m 00s
I (20:01:30.850) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 152m, next sync: 10m 30s
I (20:02:00.846) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 152m, next sync: 10m 00s
I (20:02:30.852) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 153m, next sync: 09m 30s
I (20:03:00.848) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 153m, next sync: 09m 00s
I (20:03:30.844) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 154m, next sync: 08m 30s
I (20:04:00.849) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 154m, next sync: 08m 00s
I (20:04:30.846) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 155m, next sync: 07m 30s
I (20:05:00.852) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 155m, next sync: 07m 00s
I (20:05:30.859) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 156m, next sync: 06m 30s
I (20:06:00.845) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 156m, next sync: 06m 00s
I (20:06:30.851) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 157m, next sync: 05m 30s
I (20:07:00.858) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 157m, next sync: 05m 00s
I (20:07:30.845) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 158m, next sync: 04m 30s
I (20:08:00.852) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 158m, next sync: 04m 00s
I (20:08:30.848) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 159m, next sync: 03m 30s
I (20:09:00.855) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 159m, next sync: 03m 00s
I (20:09:30.851) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 160m, next sync: 02m 30s
I (20:10:00.849) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 160m, next sync: 02m 00s
I (20:10:00.850) core: Getting current lamp settings for Wednesday 20:10
I (20:10:30.855) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 161m, next sync: 01m 30s
I (20:11:00.843) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 161m, next sync: 01m 00s
I (20:11:30.840) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 162m, next sync: 00m 30s
I (20:12:00.857) core: Mesh: off, connected: no, lamp: 0%, free mem/block: 167k, min mem: 109k, uptime: 162m, next sync: 18m 00s
I (20:12:00.858) core: Starting node synchronization
I (20:12:00.864) esp_mesh: Starting mesh as node
I (20:12:01.096) esp_mesh: <MESH_EVENT_MESH_STARTED>ID:62:74:67:6c:79:73
I (20:12:01.096) esp_mesh: ------------------------------------------------
I (20:12:01.102) esp_mesh: Mesh connection details
I (20:12:01.108) esp_mesh: ------------------------------------------------
I (20:12:01.115) esp_mesh: Mesh type: Node
I (20:12:01.122) esp_mesh: Mesh ID: 62:74:67:6c:79:73
I (20:12:01.130) esp_mesh: Station MAC: 30:c6:f7:2f:d7:54
I (20:12:01.138) esp_mesh: Channel: 0
I (20:12:01.144) esp_mesh: Country code: NO
I (20:12:01.151) esp_mesh: Max. connected stations: 6
I (20:12:01.157) esp_mesh: AP auth mode: 0
I (20:12:01.164) esp_mesh: AP assoc expire time: 10 s
I (20:12:01.170) esp_mesh: Mesh capacity: 200
I (20:12:01.177) esp_mesh: Crypt key: btg_ilume_62_74_67
I (20:12:01.185) esp_mesh: Crypt key length: 64
I (20:12:01.191) esp_mesh: AP protocol: 802.11b802.11g802.11n
I (20:12:01.200) esp_mesh: STA protocol: 802.11b802.11g802.11n
I (20:12:01.208) esp_mesh: Max. layer: 40
I (20:12:01.214) esp_mesh: Topology: Chain
I (20:12:01.221) esp_mesh: Root fixed: Yes
I (20:12:01.228) esp_mesh: Power save enabled: No
I (20:12:01.234) esp_mesh: Max. TX power: 19.5 dBm
I (20:12:01.241) esp_mesh: Free heap: 118 kB
I (20:12:01.248) esp_mesh: Scan time: 300 ms
I (20:12:01.255) esp_mesh: MF ID: fc9cffdd-bf25-45b6-b51e-30bc18a759fd
I (20:12:01.263) esp_mesh: MF key: de00d30e-aad9-403d-8d93-9da4e703d660
I (20:12:01.272) esp_mesh: MF chan: 6b6f88f6-77e5-4886-9e6d-96a3cf68776a
I (20:12:01.280) esp_mesh: ------------------------------------------------
I (20:12:05.007) esp_mesh: <MESH_EVENT_FIND_NETWORK>new channel:11, router BSSID:00:00:00:00:00:00
I (20:12:05.360) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (20:12:05.364) esp_mesh: <MESH_EVENT_PARENT_CONNECTED>layer:-1-->3, parent:30:c6:f7:2f:be:d5, ID:62:74:67:6c:79:73, duty:0, rssi:-73
I (20:12:05.372) esp_mesh: Requesting TSF time from parent 30:c6:f7:2f:be:d5
I (20:12:05.391) esp_mesh: <MESH_EVENT_TODS_REACHABLE>state:0
I (20:12:05.392) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (20:12:05.918) esp_mesh: Got new time from root, node time was 1.3163 seconds compared to root
I (20:12:05.926) esp_mesh: Got status from node 51, 30:c6:f7:2f:be:d4 up 609m on v1030
I (20:12:18.986) esp_mesh: Got new time from root, node time was 1.9690 seconds compared to root
I (20:12:18.988) esp_mesh: Got status from node 41, 0c:dc:7e:c3:85:f4 up 626m on v1030
I (20:12:30.017) core: Mesh: on, connected: yes, lamp: 0%, free mem/block: 117k, min mem: 109k, uptime: 163m, next sync: 17m 30s
I (20:12:30.020) esp_mesh: Connected to: 30:c6:f7:2f:be:d5, RSSI: -73
I (20:12:38.884) esp_mesh: Got new time from root, node time was 1.7697 seconds compared to root
I (20:12:38.885) esp_mesh: Got status from node 41, 0c:dc:7e:c3:85:f4 up 627m on v1030
I (20:12:39.365) esp_mesh: Received command to send basic settings from 0c:dc:7e:c3:85:f4
I (20:12:39.366) esp_mesh: Sending basic settings to root
I (20:12:39.417) esp_mesh: Received command to send charger settings from 0c:dc:7e:c3:85:f4
I (20:12:39.418) esp_mesh: Sending charger settings to root
I (20:12:39.477) esp_mesh: Received command to send calendar 0 from 0c:dc:7e:c3:85:f4
I (20:12:39.478) esp_mesh: Sending calendar profile 0 to root
I (20:12:39.536) esp_mesh: Received command to send calendar 1 from 0c:dc:7e:c3:85:f4
I (20:12:39.537) esp_mesh: Sending calendar profile 1 to root
I (20:12:39.588) esp_mesh: Received command to send calendar 2 from 0c:dc:7e:c3:85:f4
I (20:12:39.589) esp_mesh: Sending calendar profile 2 to root
I (20:12:39.657) esp_mesh: Received command to send calendar 3 from 0c:dc:7e:c3:85:f4
I (20:12:39.658) esp_mesh: Sending calendar profile 3 to root
I (20:12:39.695) esp_mesh: Received command to send measurement data from 0c:dc:7e:c3:85:f4
I (20:12:39.697) esp_mesh: Sending base message part 0 to root
I (20:12:39.750) esp_mesh: Sending base message part 1 to root
I (20:12:39.799) esp_mesh: Sending base message part 2 to root
I (20:12:39.849) esp_mesh: Sending base message part 3 to root
I (20:12:40.893) esp_mesh: Received command to clear measurement data from 0c:dc:7e:c3:85:f4
I (20:12:58.817) esp_mesh: Got new time from root, node time was 1.6348 seconds compared to root
I (20:12:58.819) esp_mesh: Got status from node 41, 0c:dc:7e:c3:85:f4 up 627m on v1030
I (20:13:00.016) core: Mesh: on, connected: yes, lamp: 0%, free mem/block: 117k, min mem: 109k, uptime: 163m, next sync: 17m 00s
I (20:13:00.019) esp_mesh: Connected to: 30:c6:f7:2f:be:d5, RSSI: -74
I (20:13:17.450) esp_mesh: Received OTA SHA256 is: 2a62466620ca104d8cc23c0894ddf71d723497e707745415a0abaf448a2a87b4
I (20:13:17.451) esp_mesh: Current OTA SHA256 is: 0000000000000000000000000000000000000000000000000000000000000000
I (20:13:17.462) esp_mesh: Received SHA256 is the same as running software, ignoring update
I (20:13:18.735) esp_mesh: Got new time from root, node time was 1.4693 seconds compared to root
I (20:13:18.736) esp_mesh: Got status from node 41, 0c:dc:7e:c3:85:f4 up 627m on v1030
I (20:13:19.037) esp_mesh: Received command to send OTA status from 0c:dc:7e:c3:85:f4
I (20:13:20.731) esp_mesh: Received command to resume sleep from 0c:dc:7e:c3:85:f4
I (20:13:21.692) core: Got order to sleep
I (20:13:21.693) core: Got order to sleep
I (20:13:21.693) core: Disabling mesh
I (20:13:21.713) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:0 (ESP_OK)
I (20:13:21.719) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:8 (ERROR)
I (20:13:21.734) esp_mesh: <MESH_EVENT_PARENT_DISCONNECTED>reason:106 (ERROR)
I (20:13:21.762) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (20:13:21.766) esp_mesh: <MESH_EVENT_PARENT_CONNECTED>layer:-1-->0, parent:30:c6:f7:2f:be:d5, ID:62:74:67:6c:79:73, duty:0, rssi:-76
I (20:13:21.774) esp_mesh: Requesting TSF time from parent 30:c6:f7:2f:be:d5
I (20:13:21.784) esp_mesh: <MESH_EVENT_TODS_REACHABLE>state:0
I (20:13:21.788) esp_mesh: <MESH_EVENT_ROOT_ADDRESS>root address:0c:dc:7e:c3:85:f5
I (20:13:21.789) esp_mesh: Got new time from root, node time was 1.5798 seconds compared to root
I (20:13:21.805) esp_mesh: <MESH_EVENT_STOPPED>
I am rerunning the test with all logging set to debug in the hopes of catching a freeze with more info.
So far no freezes - do you have any suggestions as to any other mechanisms I can use when the watchdogs don't work?
We have a lot of units in production, and are getting a bit desperate for a solution to our stability issues.
Edit: I have found that there is a similar issue here (IDFGH-8665), I am doing a RTC_WDT_STAGE_ACTION_RESET_SYSTEM in the production units which never seems to trigger, so this might explain it. I am trying the RTC reset to see if this solves the issue - we can live with crashes, as long as the units recover.
@MisterScience5
After discussing with my colleagues, we think you need to modify the code related to RTC watchdog. You should call the following APIs outside the main_status_loop()
function:
rtc_wdt_protect_off(); // Disable RTC WDT write protection
rtc_wdt_disable(); // You forgot to call this in your code
rtc_wdt_set_length_of_reset_signal(RTC_WDT_SYS_RESET_SIG, RTC_WDT_LENGTH_3_2us);
rtc_wdt_set_stage(RTC_WDT_STAGE0, RTC_WDT_STAGE_ACTION_RESET_SYSTEM); // Reset the system on timeout
rtc_wdt_set_time(RTC_WDT_STAGE0, 60000); // RTC WDT timeout of 60s (60,000 ms)
rtc_wdt_enable(); // Start the RTC WDT timer
rtc_wdt_protect_on(); // Enable RTC WDT write protection
and still call the rtc_wdt_feed()
in the main_status_loop()
. And the task time must be shorter than the time of rtc_wdt.
Thank you, I have added the rtc_wdt_disable() and moved the setup to early in app_main which functions as a setup function.
I'm feeding the watchdog still in the main_status_loop() every 10s or less.
Will run it for a few days to see how it performs!
So far I have not caught a crash/freeze on my test system, however they are still happening on units in the wild. Hopefully I will catch one soon, after numerous changes to the code and system configuration it would be good to confirm the disappearance issue is still caused by the same problem.
I am still working on this, having tried the following:
However so far none of these have yielded a good answer to why the units lock up. The watchdog still seems to malfunction even if I run the full RTC reboot.
Luckily, we found a few units that deadlock fairly often and have been using these to test.
It seems the current deadlock happens somewhere in the vicinity of dimming up the main lamp using LEDC in response to a GPIO interrupt, however I tried to remove the use of LEDC and just run the lamp with the GPIO library with no dimming but it still crashed.
After some more testing, this seems to only happen with tickless idle / automatic light sleep enabled, so I am mounting the worst of the devices in my rig to test more.
I have finally identified the deadlock, it turns out that the unit was crashing due to motion on our motion sensor, the pertinent code was this:
esp_sleep_enable_ext0_wakeup(PIN_MOTION_SENS, 1);
io_conf.intr_type = GPIO_INTR_ANYEDGE;
io_conf.pin_bit_mask = (1ULL << PIN_MOTION_SENS);
io_conf.mode = GPIO_MODE_INPUT;
io_conf.pull_down_en = 1;
io_conf.pull_up_en = 0;
gpio_config(&io_conf);
gpio_install_isr_service(ESP_INTR_FLAG_IRAM);
gpio_isr_handler_add(PIN_MOTION_SENS, gpio_isr_handler, (void *)PIN_MOTION_SENS);
Removing the esp_sleep_enable_ext0_wakeup causes the chip to no longer crash or deadlock in these instances.
It seems that attaching an interrupt to a pin that is tagged as a wakeup pin causes a deadlock. Is this a known/expected problem, or should I make a seperate bug report for this?
I have yet to confirm whether this was the only deadlock, so please keep this bug report open for a while longer while I check that no more problems exist. So far I have not seen the original problem for a long time, but I am unsure as to why this is.
Correction, I spoke too soon, once again the interrupt crashed.
I tried replacing the interrupt with a read every 100ms of the pin, but this only made matters worse.
It seems all reads from this pin eventually deadlock the chip when light sleep is enabled. We have several units that exhibit this behaviour, but different units seem to be affected less often. Interestingly, if I use the interrupt on another pin, it behaves fine, and the oscilloscope trace of the pin seems fine.
It seems that attaching an interrupt to a pin that is tagged as a wakeup pin causes a deadlock. Is this a known/expected problem, or should I make a separate bug report for this?
Since the deadlock is related to GPIO wakeup and light sleep, please make a separate bug report for it, the colleague in charge of this section will answer your questions.
A status update for this, the error is now gone. I have tried resetting approx. 20 of the changes I made to remove the error without being able to provoke it again.
It seems clear that the error is not with the WiFi libs, but with light sleep somehow as all lockups observed were when the chip ran out of active work and started light sleep.
Sorry that I cannot give better details of the reason for the lockups, I believe the issue was probably caused by a combination of factors, and I cannot find the concrete reason for it. This thread can be closed, and if I do discover the source of the lockups I will open another report.
Thank you for your assistance!
Thanks for sharing the updates, feel free to reopen.
Answers checklist.
IDF version.
v5.1
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
Custom Board, ESP32-DEVKITV1, ESP-WROVER-KIT
Power Supply used.
USB
What is the expected behavior?
Mesh network should gracefully handle loss of connectivity or packet loss.
Any errors on loss of connectivity should be non blocking.
What is the actual behavior?
I am currently rewriting our firmware for v5.1 to hopefully fix some stability issues we've had in our previous firmware.
However, I am now facing a new problem. If there is poor mesh network connectivity, I will get the following error messages: W (154519) mesh: [mesh_schedule.c,3130] [WND-RX]max_wnd:2, 1800 ms timeout, seqno:0, xseqno:1, no_wnd_count:0, timeout_count:81
Through reading the bug reports, it seems this message means no TX window was given from the parent/root. To fix this, my units are free to disconnect from the mesh, find another parent or simply wait for the next sync window.
The problem arises because the TX window search seems to fully block my program, so I cannot disable the mesh or disconnect from the parent and search for another. I cannot gracefully restart either, the only thing I've found to be working is a task watchdog reboot.
This is my mesh enable function:
This is my mesh disable function:
Steps to reproduce.
Debug Logs.
More Information.
This problem did not seem to exist on our previos software which was running on v4.3, however as I've done a complete rewrite of the program there may be other factors affecting this.
I've also tried a lot of different things to handle this, however as far as I can tell, the moment I start getting RX window errors the only two things I've discovered that correct the problem is introducing another parent with a better signal for it to switch to automatically, or manually reboot the device.