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

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

commit 18823c8b3258eb3f7861766d3872b799895fd798
Author: raiden00pl <raide...@railab.me>
AuthorDate: Tue Sep 2 14:43:31 2025 +0200

    bluetooth/nimble: update to the latest master
    
    Update NimBLE to the latest master. This includes fixing the debug log 
control,
    which was broken since:
    
      
https://github.com/apache/mynewt-nimble/commit/da4e2f0f12859079f1bde47cbd69f39026c3cc73
    
    The debug log was always enable and it wasn't possible to disable it.
    
    Signed-off-by: raiden00pl <raide...@railab.me>
---
 wireless/bluetooth/nimble/CMakeLists.txt | 10 ++++++++--
 wireless/bluetooth/nimble/Kconfig        |  2 +-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/wireless/bluetooth/nimble/CMakeLists.txt 
b/wireless/bluetooth/nimble/CMakeLists.txt
index 7733a8698..1abf4a576 100644
--- a/wireless/bluetooth/nimble/CMakeLists.txt
+++ b/wireless/bluetooth/nimble/CMakeLists.txt
@@ -48,8 +48,14 @@ if(CONFIG_NIMBLE)
       mynewt-nimble/porting/nimble/src/mem.c
       mynewt-nimble/porting/nimble/src/nimble_port.c
       mynewt-nimble/porting/nimble/src/os_mbuf.c
-      mynewt-nimble/porting/nimble/src/os_mempool.c
-      mynewt-nimble/porting/nimble/src/os_msys_init.c)
+      mynewt-nimble/porting/nimble/src/os_mempool.c)
+
+  # os_msys_init.c is obsolete
+  if(EXISTS mynewt-nimble/porting/nimble/src/os_msys_init.c)
+    list(APPEND SRCS_PORTING mynewt-nimble/porting/nimble/src/os_msys_init.c)
+  else()
+    list(APPEND SRCS_PORTING mynewt-nimble/porting/nimble/src/os_msys.c)
+  endif()
 
   set(SRCS_NPL
       mynewt-nimble/porting/npl/nuttx/src/os_atomic.c
diff --git a/wireless/bluetooth/nimble/Kconfig 
b/wireless/bluetooth/nimble/Kconfig
index 88b0f12c0..b679ec6bd 100644
--- a/wireless/bluetooth/nimble/Kconfig
+++ b/wireless/bluetooth/nimble/Kconfig
@@ -15,7 +15,7 @@ if NIMBLE
 
 config NIMBLE_REF
        string "Version"
-       default "fb15c844542e812ceb49ab5ac8502dc93c167b90"
+       default "b6831813cfe6da9b25c8be7136b40ce060bf9710"
        ---help---
                Git ref name to use when downloading from NimBLE repo
 

Reply via email to