boards: arm: v2m_musca_b1: Rename NS target

This commit update the NS board variant from
`v2m_musca_b1_nonsecure` to `v2m_musca_b1_ns` to maintain
consistency across zephyr.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
This commit is contained in:
Kevin Townsend 2021-07-07 11:21:11 +02:00 committed by Anas Nashif
parent 257f6b532c
commit ccc595836a
11 changed files with 10 additions and 10 deletions

View file

@ -5,7 +5,7 @@ if BOARD_MUSCA_B1
config BOARD
default "musca_b1" if TRUSTED_EXECUTION_SECURE || !TRUSTED_EXECUTION_NONSECURE
default "musca_b1_nonsecure"
default "musca_b1_ns"
if GPIO

View file

@ -1,4 +1,4 @@
identifier: v2m_musca_b1_nonsecure
identifier: v2m_musca_b1_ns
name: ARM V2M MUSCA B1 NonSecure
type: mcu
arch: arm

View file

@ -30,12 +30,12 @@ It can be built and executed on Musca B1 CPU 0 as follows:
:goals: run
:compact:
This project outputs 'IPM MHU sample on v2m_musca_b1_nonsecure' to the console.
This project outputs 'IPM MHU sample on v2m_musca_b1_ns' to the console.
It can be built and executed on Musca B1 CPU 1 as follows:
.. zephyr-app-commands::
:zephyr-app: samples/subsys/ipc/ipm_mhu_dual_core
:board: v2m_musca_b1_nonsecure
:board: v2m_musca_b1_ns
:goals: run
:compact:

View file

@ -5,4 +5,4 @@ sample:
tests:
sample.ipc.ipm.ipm_mhu_dual_core:
tags: ipm
platform_allow: v2m_musca_b1 v2m_musca_b1_nonsecure
platform_allow: v2m_musca_b1 v2m_musca_b1_ns

View file

@ -15,7 +15,7 @@ elseif("${BOARD}" STREQUAL "mps2_an521")
set(QEMU_EXTRA_FLAGS "-device;loader,file=${REMOTE_ZEPHYR_DIR}/zephyr.elf")
set(BOARD_REMOTE "mps2_an521_remote")
elseif("${BOARD}" STREQUAL "v2m_musca_b1")
set(BOARD_REMOTE "v2m_musca_b1_nonsecure")
set(BOARD_REMOTE "v2m_musca_b1_ns")
else()
message(FATAL_ERROR "${BOARD} was not supported for this sample")
endif()

View file

@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.13.1)
if(("${BOARD}" STREQUAL "lpcxpresso54114_m0")
OR "${BOARD}" STREQUAL "lpcxpresso55s69_cpu1"
OR "${BOARD}" STREQUAL "mps2_an521_remote"
OR "${BOARD}" STREQUAL "v2m_musca_b1_nonsecure")
OR "${BOARD}" STREQUAL "v2m_musca_b1_ns")
message(INFO " ${BOARD} compiles as remote in this sample")
else()
message(FATAL_ERROR "${BOARD} was not supported for this sample")

View file

@ -15,7 +15,7 @@ elseif("${BOARD}" STREQUAL "mps2_an521")
set(QEMU_EXTRA_FLAGS "-device;loader,file=${REMOTE_ZEPHYR_DIR}/zephyr.elf")
set(BOARD_REMOTE "mps2_an521_remote")
elseif("${BOARD}" STREQUAL "v2m_musca_b1")
set(BOARD_REMOTE "v2m_musca_b1_nonsecure")
set(BOARD_REMOTE "v2m_musca_b1_ns")
else()
message(FATAL_ERROR "${BOARD} was not supported for this sample")
endif()

View file

@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.13.1)
if("${BOARD}" STREQUAL "nrf5340dk_nrf5340_cpunet"
OR "${BOARD}" STREQUAL "lpcxpresso54114_m0"
OR "${BOARD}" STREQUAL "mps2_an521_remote"
OR "${BOARD}" STREQUAL "v2m_musca_b1_nonsecure")
OR "${BOARD}" STREQUAL "v2m_musca_b1_ns")
message(INFO " ${BOARD} compile as slave in this sample")
else()
message(FATAL_ERROR "${BOARD} was not supported for this sample")

View file

@ -7,7 +7,7 @@ tests:
tags: introduction tfm
platform_allow: mps2_an521_ns lpcxpresso55s69_ns
nrf5340dk_nrf5340_cpuappns nrf9160dk_nrf9160ns nucleo_l552ze_q_ns
stm32l562e_dk_ns v2m_musca_s1_nonsecure v2m_musca_b1_nonsecure bl5340_dvk_cpuapp_ns
stm32l562e_dk_ns v2m_musca_s1_nonsecure v2m_musca_b1_ns bl5340_dvk_cpuapp_ns
harness: console
harness_config:
type: multi_line