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:14 UTC
(mynewt-nimble) 02/02: ci: Use proper NuttX sample for testing
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