From 8887599119af4e5dbba1edd4e0b76377870279f5 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 eec5fc4abf..dc37302e05 100644 --- a/components/esp_hid/src/nimble_hidd.c +++ b/components/esp_hid/src/nimble_hidd.c @@ -657,7 +657,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);