File tree Expand file tree Collapse file tree 4 files changed +12
-44
lines changed
tests/bluetooth/bsim/nrf_auraconfig Expand file tree Collapse file tree 4 files changed +12
-44
lines changed Original file line number Diff line number Diff line change 6
6
7
7
source "share/sysbuild/Kconfig"
8
8
9
- config NET_CORE_BOARD
10
- string
11
- default "nrf5340bsim/nrf5340/cpunet" if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP"
12
-
9
+ config NRF_DEFAULT_IPC_RADIO
10
+ bool
11
+ default y
13
12
14
13
config NATIVE_SIMULATOR_PRIMARY_MCU_INDEX
15
14
int
Original file line number Diff line number Diff line change 4
4
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
5
#
6
6
7
- if (NOT ("${SB_CONFIG_NET_CORE_BOARD} " STREQUAL "" ))
8
- set (NET_APP ipc_radio)
9
- set (NET_APP_SRC_DIR ${ZEPHYR_BASE} /../nrf/applications/${NET_APP} )
10
-
11
- ExternalZephyrProject_Add(
12
- APPLICATION ${NET_APP}
13
- SOURCE_DIR ${NET_APP_SRC_DIR}
14
- BOARD ${SB_CONFIG_NET_CORE_BOARD}
15
- )
16
-
17
- set (${NET_APP} _CONF_FILE
18
- ${NET_APP_SRC_DIR} /overlay-bt_hci_ipc.conf
19
- prj.conf
20
- CACHE INTERNAL "" )
21
-
22
- native_simulator_set_primary_mcu_index(${DEFAULT_IMAGE} ${NET_APP} )
23
-
24
- native_simulator_set_child_images(${DEFAULT_IMAGE} ${NET_APP} )
7
+ if (SB_CONFIG_NET_CORE_BOARD)
8
+ native_simulator_set_primary_mcu_index(${DEFAULT_IMAGE} ${SB_CONFIG_NETCORE_IMAGE_NAME} )
9
+ native_simulator_set_child_images(${DEFAULT_IMAGE} ${SB_CONFIG_NETCORE_IMAGE_NAME} )
25
10
endif ()
26
11
27
12
native_simulator_set_final_executable(${DEFAULT_IMAGE} )
Original file line number Diff line number Diff line change 6
6
7
7
source "share/sysbuild/Kconfig"
8
8
9
- config NET_CORE_BOARD
10
- string
11
- default "nrf5340bsim/nrf5340/cpunet" if $(BOARD_TARGET_STRING) = "NRF5340BSIM_NRF5340_CPUAPP"
12
-
9
+ config NRF_DEFAULT_IPC_RADIO
10
+ bool
11
+ default y
13
12
14
13
config NATIVE_SIMULATOR_PRIMARY_MCU_INDEX
15
14
int
Original file line number Diff line number Diff line change 4
4
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
5
#
6
6
7
- if (NOT ("${SB_CONFIG_NET_CORE_BOARD} " STREQUAL "" ))
8
- set (NET_APP ipc_radio)
9
- set (NET_APP_SRC_DIR ${ZEPHYR_BASE} /../nrf/applications/${NET_APP} )
10
-
11
- ExternalZephyrProject_Add(
12
- APPLICATION ${NET_APP}
13
- SOURCE_DIR ${NET_APP_SRC_DIR}
14
- BOARD ${SB_CONFIG_NET_CORE_BOARD}
15
- )
16
-
17
- set (${NET_APP} _CONF_FILE
18
- ${NET_APP_SRC_DIR} /overlay-bt_hci_ipc.conf
19
- prj.conf
20
- CACHE INTERNAL "" )
21
-
22
- native_simulator_set_primary_mcu_index(${DEFAULT_IMAGE} ${NET_APP} )
23
-
24
- native_simulator_set_child_images(${DEFAULT_IMAGE} ${NET_APP} )
7
+ if (SB_CONFIG_NET_CORE_BOARD)
8
+ native_simulator_set_primary_mcu_index(${DEFAULT_IMAGE} ${SB_CONFIG_NETCORE_IMAGE_NAME} )
9
+ native_simulator_set_child_images(${DEFAULT_IMAGE} ${SB_CONFIG_NETCORE_IMAGE_NAME} )
25
10
endif ()
26
11
27
12
native_simulator_set_final_executable(${DEFAULT_IMAGE} )
You can’t perform that action at this time.
0 commit comments