From 098a804f73e2f8580a26d1b469f8a7012897031a Mon Sep 17 00:00:00 2001 From: Mohammad-Mohsen Aseman-Manzar Date: Tue, 11 Jun 2024 16:13:34 +0330 Subject: [PATCH] Fix stack overflow bug for `examples/bluetooth/esp_hid_device` when using esp32s3 with nimble Related to https://github.com/espressif/esp-idf/commit/60354c39a9338961adce8e2fb536f83571ebd82c --- components/esp_hid/src/nimble_hidd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hid/src/nimble_hidd.c b/components/esp_hid/src/nimble_hidd.c index 53631d980e..a70fd3a314 100644 --- a/components/esp_hid/src/nimble_hidd.c +++ b/components/esp_hid/src/nimble_hidd.c @@ -656,7 +656,7 @@ esp_err_t esp_ble_hidd_dev_init(esp_hidd_dev_t *dev_p, const esp_hid_device_conf .queue_size = 5, .task_name = "ble_hidd_events", .task_priority = uxTaskPriorityGet(NULL), - .task_stack_size = 2048, + .task_stack_size = 4096, .task_core_id = tskNO_AFFINITY }; rc = esp_event_loop_create(&event_task_args, &s_dev->event_loop_handle);