Skip to content

Commit

Permalink
samples: bluetooth: peripheral_urat: Add nrf54h20 rpc_host build
Browse files Browse the repository at this point in the history
Add possibility to build the sample application targeted to nrf54h20
with use of Bluetooth API wrapped with RPC Host client. The Radio
core application in such case must be rpc_host. That reqires change
to sysbuild configuration.

Signed-off-by: Piotr Pryga <[email protected]>
  • Loading branch information
ppryga-nordic committed Jun 4, 2024
1 parent 15c47f9 commit 07e6f20
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion samples/bluetooth/peripheral_uart/Kconfig.sysbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,19 @@

source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"

config NRF_IPC_RADIO_RPC_HOST
bool "Enable building RPC Host for Radio domain"
help
The option enables building sample rpc_host application for Radio
domain. This sysbuild configuration option should be selected only if
an Application core application is build with CONFIG_BT_RPC_STACK
enabled.

config NRF_DEFAULT_IPC_RADIO
default y

config NETCORE_IPC_RADIO_BT_HCI_IPC
default y
default y if !NRF_IPC_RADIO_RPC_HOST

config NRF_DEFAULT_RPC_HOST
default y if NRF_IPC_RADIO_RPC_HOST
13 changes: 12 additions & 1 deletion samples/bluetooth/peripheral_uart/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,18 @@ tests:
- CONFIG_BT_RPC_STACK=y
integration_platforms:
- nrf5340dk/nrf5340/cpuapp
platform_allow: nrf5340dk/nrf5340/cpuapp
- nrf54h20dk/nrf54h20/cpuapp
platform_allow: nrf5340dk/nrf5340/cpuapp nrf54h20dk/nrf54h20/cpuapp
tags: bluetooth ci_build sysbuild
sample.bluetooth.peripheral_uart_ble_rpc.54h20:
sysbuild: true
build_only: true
extra_configs:
- SNIPPET=nordic-rpc-host
- SB_CONFIG_NRF_IPC_RADIO_RPC_HOST=y
integration_platforms:
- nrf54h20dk/nrf54h20/cpuapp
platform_allow: nrf54h20dk/nrf54h20/cpuapp
tags: bluetooth ci_build sysbuild
sample.bluetooth.peripheral_uart.security_disabled:
sysbuild: true
Expand Down

0 comments on commit 07e6f20

Please sign in to comment.