Skip to content

Commit

Permalink
boards: arm: lpcxpresso55s16: rename board definition
Browse files Browse the repository at this point in the history
Rename the NXP LPCXpresso55S16 board definition from
lpcxpresso55s16_ns (non-secure) to lpcxpresso55s16 and remove TF-M
configuration options.

While the LPC55S16 does have Arm TrustZone support, there is no TF-M
support available upstream yet.

Fixes #35100

Signed-off-by: Henrik Brix Andersen <[email protected]>
  • Loading branch information
henrikbrixandersen authored and galak committed May 19, 2021
1 parent 85ad497 commit 34904e5
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 16 deletions.
6 changes: 3 additions & 3 deletions boards/arm/lpcxpresso55s16/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Other hardware features are not currently enabled.

Currently available targets for this board are:

- *lpcxpresso55s16_ns* non-secure (NS) address space
- *lpcxpresso55s16*

Connections and IOs
===================
Expand Down Expand Up @@ -176,7 +176,7 @@ Here is an example for the :ref:`hello_world` application.

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: lpcxpresso55s16_ns
:board: lpcxpresso55s16
:goals: flash

Open a serial terminal, reset the board (press the RESET button), and you should
Expand All @@ -185,7 +185,7 @@ see the following message in the terminal:
.. code-block:: console
***** Booting Zephyr OS v2.2.0 *****
Hello World! lpcxpresso55s16_ns
Hello World! lpcxpresso55s16
Debugging
=========
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
#include "lpcxpresso55s16_common.dtsi"

/ {
model = "NXP LPCXpresso55S16 board (non-secure)";
model = "NXP LPCXpresso55S16 board";
compatible = "nxp,lpc55xxx", "nxp,lpc";
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#

identifier: lpcxpresso55s16_ns
identifier: lpcxpresso55s16
name: NXP LPCXpresso55S16
type: mcu
arch: arm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,4 @@ CONFIG_PINMUX=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=96000000
CONFIG_ARM_MPU=y

# TrustZone-M non-secure
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_ARM_TRUSTZONE_M=y

CONFIG_RUNTIME_NMI=y
2 changes: 1 addition & 1 deletion samples/sensor/fxos8700/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sample:
tests:
sample.sensor.fxos8700.hybrid:
platform_allow: frdm_k64f hexiwear_k64 warp7_m4 frdm_kw41z
rv32m1_vega_ri5cy twr_ke18f lpcxpresso55s16_ns
rv32m1_vega_ri5cy twr_ke18f lpcxpresso55s16
mimxrt685_evk_cm33 frdm_k22f
integration_platforms:
- frdm_k64f
Expand Down
2 changes: 1 addition & 1 deletion samples/shields/x_nucleo_iks01a2/sensorhub/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ tests:
harness: shield
tags: shield
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns stm32mp157c_dk2
platform_exclude: disco_l475_iot1 lpcxpresso55s16 stm32mp157c_dk2
2 changes: 1 addition & 1 deletion samples/shields/x_nucleo_iks01a2/standard/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ tests:
harness: shield
tags: shield
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns stm32mp157c_dk2
platform_exclude: disco_l475_iot1 lpcxpresso55s16 stm32mp157c_dk2
2 changes: 1 addition & 1 deletion samples/shields/x_nucleo_iks01a3/sensorhub/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ tests:
harness: shield
tags: shield
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns
platform_exclude: disco_l475_iot1 lpcxpresso55s16
2 changes: 1 addition & 1 deletion samples/shields/x_nucleo_iks01a3/standard/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ tests:
harness: shield
tags: shield
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns
platform_exclude: disco_l475_iot1 lpcxpresso55s16
2 changes: 1 addition & 1 deletion samples/shields/x_nucleo_iks02a1/sensorhub/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ tests:
harness: shield
tags: shield
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns stm32mp157c_dk2
platform_exclude: disco_l475_iot1 lpcxpresso55s16 stm32mp157c_dk2
2 changes: 1 addition & 1 deletion samples/shields/x_nucleo_iks02a1/standard/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ tests:
harness: shield
tags: shield
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1 lpcxpresso55s16_ns stm32mp157c_dk2
platform_exclude: disco_l475_iot1 lpcxpresso55s16 stm32mp157c_dk2

0 comments on commit 34904e5

Please sign in to comment.