Browse Source
With a new board.yml file and reorganizing their Kconfig options. Note: the nrf5340 variants remain as their own targets, instead of being variants of the base ones to avoid breakage in this commit (while not having a massime commit) Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>pull/69687/head
50 changed files with 69 additions and 42 deletions
@ -1,31 +0,0 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
|
||||||
|
|
||||||
config BOARD_NRF52_BSIM |
|
||||||
bool "NRF52 simulation model" |
|
||||||
select SOC_SERIES_BSIM_NRF52X |
|
||||||
select SOC_COMPATIBLE_NRF52833 |
|
||||||
select NRF_RTC_TIMER |
|
||||||
select CLOCK_CONTROL |
|
||||||
help |
|
||||||
Will produce a console Linux process which can be executed natively. |
|
||||||
It needs the BabbleSim simulator both in compile time and to execute |
|
||||||
|
|
||||||
config BOARD_NRF5340BSIM_NRF5340_CPUNET |
|
||||||
bool "Simulated NRF53 Network core" |
|
||||||
select SOC_SERIES_BSIM_NRF53X |
|
||||||
select SOC_COMPATIBLE_NRF5340_CPUNET |
|
||||||
select NRF_RTC_TIMER |
|
||||||
select CLOCK_CONTROL |
|
||||||
help |
|
||||||
Will produce a console Linux process which can be executed natively. |
|
||||||
It needs the BabbleSim simulator both in compile time and to execute |
|
||||||
|
|
||||||
config BOARD_NRF5340BSIM_NRF5340_CPUAPP |
|
||||||
bool "Simulated NRF53 Application core" |
|
||||||
select SOC_SERIES_BSIM_NRF53X |
|
||||||
select SOC_COMPATIBLE_NRF5340_CPUAPP |
|
||||||
select NRF_RTC_TIMER |
|
||||||
select CLOCK_CONTROL |
|
||||||
help |
|
||||||
Will produce a console Linux process which can be executed natively. |
|
||||||
It needs the BabbleSim simulator both in compile time and to execute |
|
@ -0,0 +1,5 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NRF52_BSIM |
||||||
|
select SOC_POSIX |
@ -0,0 +1,5 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NRF5340BSIM_NRF5340_CPUAPP |
||||||
|
select SOC_POSIX |
@ -0,0 +1,5 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
|
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
|
config BOARD_NRF5340BSIM_NRF5340_CPUNET |
||||||
|
select SOC_POSIX |
@ -0,0 +1,13 @@ |
|||||||
|
boards: |
||||||
|
- name: nrf52_bsim |
||||||
|
vendor: Zephyr |
||||||
|
socs: |
||||||
|
- name: native |
||||||
|
- name: nrf5340bsim_nrf5340_cpuapp |
||||||
|
vendor: Zephyr |
||||||
|
socs: |
||||||
|
- name: native |
||||||
|
- name: nrf5340bsim_nrf5340_cpunet |
||||||
|
vendor: Zephyr |
||||||
|
socs: |
||||||
|
- name: native |
@ -1,7 +1,6 @@ |
|||||||
|
# Copyright (c) 2024 Nordic Semiconductor ASA |
||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_POSIX=y |
|
||||||
CONFIG_BOARD_NRF52_BSIM=y |
|
||||||
CONFIG_CONSOLE=y |
CONFIG_CONSOLE=y |
||||||
CONFIG_NO_OPTIMIZATIONS=y |
CONFIG_NO_OPTIMIZATIONS=y |
||||||
CONFIG_LOG_BACKEND_UART=n |
CONFIG_LOG_BACKEND_UART=n |
@ -1,6 +1,4 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_POSIX=y |
|
||||||
CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUAPP=y |
|
||||||
CONFIG_CONSOLE=y |
CONFIG_CONSOLE=y |
||||||
CONFIG_NO_OPTIMIZATIONS=y |
CONFIG_NO_OPTIMIZATIONS=y |
@ -1,6 +1,4 @@ |
|||||||
# SPDX-License-Identifier: Apache-2.0 |
# SPDX-License-Identifier: Apache-2.0 |
||||||
|
|
||||||
CONFIG_SOC_POSIX=y |
|
||||||
CONFIG_BOARD_NRF5340BSIM_NRF5340_CPUNET=y |
|
||||||
CONFIG_CONSOLE=y |
CONFIG_CONSOLE=y |
||||||
CONFIG_NO_OPTIMIZATIONS=y |
CONFIG_NO_OPTIMIZATIONS=y |
Loading…
Reference in new issue