samples: Bluetooth: bap_broadcast_source nRF5340 audio dk + nRF21540 FEM
Added overlay file to support nRF5340 audio dk + nRF21540
FEM.
Build the hci_ipc with corresponding overlay file to use the
nRF21540 FEM with the bap_broadcast_source sample on nRF5340
audio kit.
Use the below commandline:
$ west build -b nrf5340_audio_dk/nrf5340/cpuapp --sysbuild \
samples/bluetooth/bap_broadcast_source \
-DDTC_OVERLAY_FILE= \
boards/nrf5340_audio_dk_nrf5340_cpuapp_nrf21540_ek.overlay \
-Dhci_ipc_DTC_OVERLAY_FILE= \
boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay
Related to commit 35ad653038
("samples: Bluetooth:
hci_uart/hci_ipc: CI coverage for nRF53+nRF21 FEM").
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
2933dea4ea
commit
d8cd8ddc51
2 changed files with 36 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
#include "../app.overlay"
|
||||
|
||||
/ {
|
||||
gpio_fwd: nrf-gpio-forwarder {
|
||||
compatible = "nordic,nrf-gpio-forwarder";
|
||||
status = "okay";
|
||||
|
||||
nrf21540-gpio-if {
|
||||
gpios = <&arduino_header 11 0>, /* tx-en-gpios */
|
||||
<&arduino_header 9 0>, /* rx-en-gpios */
|
||||
<&arduino_header 15 0>, /* pdn-gpios */
|
||||
<&arduino_header 10 0>, /* ant-sel-gpios */
|
||||
<&arduino_header 8 0>; /* mode-gpios */
|
||||
};
|
||||
|
||||
nrf21540-spi-if {
|
||||
gpios = <&arduino_header 16 0>, /* cs-gpios */
|
||||
<&gpio0 8 0>, /* SPIM_SCK */
|
||||
<&gpio0 10 0>, /* SPIM_MISO */
|
||||
<&gpio0 9 0>; /* SPIM_MOSI */
|
||||
};
|
||||
};
|
||||
};
|
|
@ -14,6 +14,17 @@ tests:
|
|||
- nrf5340dk/nrf5340/cpuapp
|
||||
tags: bluetooth
|
||||
sysbuild: true
|
||||
sample.bluetooth.bap_broadcast_source.nrf5340_audio_dk_cpuapp.fem:
|
||||
harness: bluetooth
|
||||
platform_allow:
|
||||
- nrf5340_audio_dk/nrf5340/cpuapp
|
||||
integration_platforms:
|
||||
- nrf5340_audio_dk/nrf5340/cpuapp
|
||||
extra_args:
|
||||
- DTC_OVERLAY_FILE=boards/nrf5340_audio_dk_nrf5340_cpuapp_nrf21540_ek.overlay
|
||||
- hci_ipc_DTC_OVERLAY_FILE=boards/nrf5340_audio_dk_nrf5340_cpunet_nrf21540_ek.overlay
|
||||
tags: bluetooth
|
||||
sysbuild: true
|
||||
sample.bluetooth.bap_broadcast_source.bt_ll_sw_split:
|
||||
harness: bluetooth
|
||||
platform_allow:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue