boards: nrf_bsim: Add new nrf5340 board definitions

With the proper structure for the hwmv2, and matching the
real HW ones.
Also add a note about the old ones being just a middle step
for backwards compatibility.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras
2024-02-16 16:19:36 +01:00
committed by Carles Cufi
parent b53c6f412c
commit a63ff71bcb
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config BOARD_NRF5340BSIM
select SOC_POSIX

View File

@@ -3,6 +3,16 @@ boards:
vendor: Zephyr
socs:
- name: native
- name: nrf5340bsim
vendor: Zephyr
socs:
# Note this is referring to the real SOC yaml, but we only use its name and cpu-cluster definition
# In practice this board uses the same native SOC (SOC_POSIX) as the nrf52_bsim
- name: nrf5340
# These two board definitions below, together with their respective
# Kconfig.nrf5340bsim_nrf5340_cpu[app,net] exist for backwards compatibility with hwmv1 usage
# Once all their usage in tree is removed, or aliases have been introduced they can be removed.
- name: nrf5340bsim_nrf5340_cpuapp
vendor: Zephyr
socs: