You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2026/06/26 07:48:12 UTC

(mynewt-nimble) branch master updated (855c03636 -> 8ff692846)

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

sjanc pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


    from 855c03636 porting: Update ports syscfg
     new 5dd816797 nimble/porting: Update example to latest NuttX changes
     new 8ff692846 ci: Use proper NuttX sample for testing

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/build_ports.yml | 6 +++++-
 porting/examples/nuttx/main.c     | 6 ------
 2 files changed, 5 insertions(+), 7 deletions(-)


(mynewt-nimble) 01/02: nimble/porting: Update example to latest NuttX changes

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 5dd816797044a1af4bd1541d190fd4feec747371
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Tue Jun 9 11:44:25 2026 +0200

    nimble/porting: Update example to latest NuttX changes
    
    Architecture-specific initialization is no longer required from
    application code.
---
 porting/examples/nuttx/main.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/porting/examples/nuttx/main.c b/porting/examples/nuttx/main.c
index 2c7412260..440284fb4 100644
--- a/porting/examples/nuttx/main.c
+++ b/porting/examples/nuttx/main.c
@@ -73,12 +73,6 @@ int main(int argc, char *argv[])
         ble_hci_sock_set_device(atoi(argv[1]));
     }
 
-#ifndef CONFIG_NSH_ARCHINIT
-    /* Perform architecture-specific initialization */
-
-    boardctl(BOARDIOC_INIT, 0);
-#endif
-
 #ifndef CONFIG_NSH_NETINIT
     /* Bring up the network */
 


(mynewt-nimble) 02/02: ci: Use proper NuttX sample for testing

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 8ff69284601f96a1e4d26e13885d037e5da0e7f4
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Tue Jun 9 11:52:11 2026 +0200

    ci: Use proper NuttX sample for testing
    
    Select example app from NimBLE tree instead of Nuttx upstream. Also
    properly tune build for PR hash and include upstream NimBLE
    configuration with sample. This is due to NuttX not following our
    master branch but selected snapshots/releases with custom
    configuration.
---
 .github/workflows/build_ports.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build_ports.yml b/.github/workflows/build_ports.yml
index d182de2e6..0ce1c03f5 100644
--- a/.github/workflows/build_ports.yml
+++ b/.github/workflows/build_ports.yml
@@ -87,5 +87,9 @@ jobs:
              git clone --depth=1 https://github.com/apache/nuttx.git nuttx-build/nuttx
              git clone --depth=1 https://github.com/apache/nuttx-apps nuttx-build/apps
              ./nuttx-build/nuttx/tools/configure.sh -l nrf52840-dk:sdc_nimble
-             sed -i 's|CONFIG_NIMBLE_REF :=.*|CONFIG_NIMBLE_REF := ${{ github.sha }}|' nuttx-build/apps/wireless/bluetooth/nimble/Makefile
+             kconfig-tweak --file nuttx-build/nuttx/.config --set-str NIMBLE_REF ${{ github.sha }}
+             kconfig-tweak --file nuttx-build/nuttx/.config --enable NIMBLE_PORTING_EXAMPLE
+             echo '#include "../../../../mynewt-nimble/porting/examples/nuttx/include/syscfg/syscfg.h"'\
+               >> nuttx-build/apps/wireless/bluetooth/nimble/include/syscfg/syscfg.h
+             make -C nuttx-build/nuttx olddefconfig
              make -C nuttx-build/nuttx