boards nrf5340bsim: Remove hwmv1 compatible board definitions

To use this functionality one must now use the hwmv2 naming
(nrf5340bsim/nrf5340/cpu{app,net}).
The old hwmv1 compatible names for these targets,
were left provisionally while all tests in tree were ported.
That being now done, these old names can be removed.

After this change one cannot build anymore
targeting nrf5340bsim_nrf5340_cpu{app,net}
but must instead build targeting
nrf5340bsim/nrf5340/cpu{app,net}
For twister tests the old name were already not valid.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-03-22 10:07:25 +01:00 committed by David Leach
parent 2fdf88f71c
commit 96d5544670
4 changed files with 6 additions and 22 deletions

View File

@ -446,6 +446,12 @@ set(nrf5340_audio_dk_nrf5340_cpuapp_ns_DEPRECATED
set(nrf5340_audio_dk_nrf5340_cpunet_DEPRECATED
nrf5340_audio_dk/nrf5340/cpunet
)
set(nrf5340bsim_nrf5340_cpuapp_DEPRECATED
nrf5340bsim/nrf5340/cpuapp
)
set(nrf5340bsim_nrf5340_cpunet_DEPRECATED
nrf5340bsim/nrf5340/cpunet
)
set(nrf5340dk_nrf5340_cpuapp_DEPRECATED
nrf5340dk/nrf5340/cpuapp
)

View File

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

View File

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

View File

@ -9,15 +9,3 @@ boards:
# 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:
- name: native
- name: nrf5340bsim_nrf5340_cpunet
vendor: zephyr
socs:
- name: native