This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 932515310a3b92cf65b16b7c01a799dd74e63226
Author: raiden00pl <[email protected]>
AuthorDate: Wed Oct 14 15:02:11 2026 +0200

    wireless/bluetooth/nimble: Add event queue size option.
    
    Add NIMBLE_EVENTQ_SIZE for the depth of the NuttX NPL event queues.
    Mesh needs a deeper queue: with 16 entries the host deadlocks during
    provisioning, so default to 32 when NIMBLE_MESH is enabled.
    
    Tested: nrf54lm20-dk NimBLE mesh provisioning (32), nrf54l15-tag
    NimBLE peripheral (16).
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: raiden00pl <[email protected]>
---
 wireless/bluetooth/nimble/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/wireless/bluetooth/nimble/Kconfig 
b/wireless/bluetooth/nimble/Kconfig
index cf0bd947f..9a84dcb2f 100644
--- a/wireless/bluetooth/nimble/Kconfig
+++ b/wireless/bluetooth/nimble/Kconfig
@@ -29,6 +29,13 @@ config NIMBLE_CALLOUT_THREAD_STACKSIZE
        int "Stack size of NimBLE NPL callout thread"
        default DEFAULT_TASK_STACKSIZE
 
+config NIMBLE_EVENTQ_SIZE
+       int "NimBLE NPL event queue size"
+       default 32 if NIMBLE_MESH
+       default 16
+       ---help---
+               Maximum number of events pending in a NimBLE event queue.
+
 if DEBUG_FEATURES
 
 config NIMBLE_DEBUG_ERROR

Reply via email to