From bd0329f1771c2ac957ebe37bb0322366e24f9466 Mon Sep 17 00:00:00 2001 From: Victor Chavez Date: Sat, 13 Apr 2024 17:57:45 +0200 Subject: [PATCH] fixed sample overlay for native posix and pipeline build --- .github/workflows/build_test.yml | 6 +++++- samples/uptime/prj.conf | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 64a6303..ab21ecb 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -15,6 +15,7 @@ jobs: env: CMAKE_PREFIX_PATH: /opt/toolchains ZEPHYR_VERSION: 3.6.0 + # Board to use with renode BOARD: nrf52840dk_nrf52840 steps: - name: Checkout @@ -25,20 +26,23 @@ jobs: west init --mr v$ZEPHYR_VERSION west update -o=--depth=1 -n + # Sample as DUT for testing with Renode - name: Build Uptime Sample working-directory: /tmp/ run: | west build $GITHUB_WORKSPACE/samples/uptime -b $BOARD --build-dir $GITHUB_WORKSPACE/samples/uptime/build + # BLE Central for testing with Renode - name: Build Central working-directory: /tmp/ run: | west build $GITHUB_WORKSPACE/tests/renode/ble_central -b $BOARD --build-dir $GITHUB_WORKSPACE/tests/renode/ble_central/build + # Posix build for debugging with bluetooth virtual controller - name: Build Posix working-directory: /tmp/ run: | - west build $GITHUB_WORKSPACE/samples/uptime -b native_posix_64 --build-dir $GITHUB_WORKSPACE/samples/uptime/build_posix + west build $GITHUB_WORKSPACE/samples/uptime -b native_posix_64 --build-dir $GITHUB_WORKSPACE/samples/uptime/build_posix -- -DOVERLAY_CONFIG=$GITHUB_WORKSPACE/samples/uptime/boards/native_posix_64.conf - name : Upload Firmware uses: actions/upload-artifact@v4 diff --git a/samples/uptime/prj.conf b/samples/uptime/prj.conf index 6294cf8..fea6d49 100644 --- a/samples/uptime/prj.conf +++ b/samples/uptime/prj.conf @@ -16,5 +16,4 @@ CONFIG_NEWLIB_LIBC=y CONFIG_BLE_UTILS=y CONFIG_BT_ASSERT=n CONFIG_LOG=y -CONFIG_BT_EXT_ADV=y -CONFIG_BT_HCI_ACL_FLOW_CONTROL=n \ No newline at end of file +CONFIG_BT_EXT_ADV=y \ No newline at end of file