mbed-os/targets/TARGET_ARM_SSG/TARGET_MUSCA_A1
Devaraj Ranganna 76e911c5ef psa: Replace Mbed PSA with TF-M
Add TF-M to Mbed OS, replacing the previous PSA implementation for
TF-M-capable targets. This commit adds files imported from TF-M, without
modification. The version of TF-M imported can be found in
`features/FEATURE_PSA/TARGET_TFM/VERSION.txt`.

These changes switch to TF-M as the sole PSA implementation for v8-M and
dual core targets, with TF-M running on the secure side and Mbed OS
running on the non-secure side. Single core v7-M targets will continue
to have PSA implemented via PSA emulation, implemented by Mbed OS.

Move or remove many PSA-implementing files, as PSA will be provided by
TF-M on non-single-v7-M targets. Delete any files that are not relevant
for PSA emulation mode.
 - Remove imported TF-M SPM
 - Remove Mbed SPM and tests
 - Remove Mbed-implemented PSA services and tests
 - Remove PSA_SRV_IMPL, PSA_SRV_IPC, PSA_SRV_EMUL and NSPE.
 - Replace PSA_SRV_EMUL and PSA_SRV_IMPL with MBED_PSA_SRV
 - Remove any files autogenerated by
   "tools/psa/generate_partition_code.py", which no longer exists.

Add new feature `PSA` to support PSA in Mbed OS.

Move the Mbed OS implementation of PSA services for v7-M targets (which
employ PSA emulation, and don't yet use TF-M) to
features/FEATURE_PSA/TARGET_MBED_PSA_SRV. Update the `requires`
attribute in TESTS/configs/baremetal.json to avoid breaking baremetal
testing builds.

Update .astyleignore to match new directory structure

Update Mbed TLS importer to place files into FEATURE_PSA

Create the following generic PSA targets:

* `PSA_Target` (Root level PSA generic target)
* `PSA_V7_M` (Single v7-M PSA generic target)
* `PSA_DUAL_CORE` (Dual-core PSA generic target)
* `PSA_V8_M` (v8-M PSA generic target)

Flatten MUSCA_NS and private MUSCA targets into public MUSCA targets.

Move mcuboot.bin to flat location (removing prebuilt folder)

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-06-18 12:16:20 +01:00
..
device psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
partition musca_a1: Add TF-M compatibility 2020-04-30 11:35:05 +01:00
LICENSE Add license files 2019-05-22 17:17:24 +03:00
LICENSE-BSD-3-Clause Add ARM_MUSCA_B1 as a new target platform 2020-02-21 14:34:39 +01:00
LICENSE-permissive-binary-license-1.0.txt psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
PeripheralNames.h Update target license headers 2019-05-22 17:17:22 +03:00
PinNames.h Fix PinMap_UART_XX 2019-05-22 17:17:25 +03:00
README.md psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
device.h Update target license headers 2019-05-22 17:17:22 +03:00
gpio_api.c gpio: indent fix 2019-05-22 17:17:27 +03:00
gpio_irq_api.c psa: Remove v8-M S targets 2020-04-27 09:51:09 +01:00
gpio_object.h Update target license headers 2019-05-22 17:17:22 +03:00
lp_ticker.c psa: Remove v8-M S targets 2020-04-27 09:51:09 +01:00
mcuboot.bin psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
objects.h psa: Remove v8-M S targets 2020-04-27 09:51:09 +01:00
pinmap.c Fix PinMap_UART_XX 2019-05-22 17:17:25 +03:00
s_veneers.o psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
serial_api.c psa: Remove v8-M S targets 2020-04-27 09:51:09 +01:00
sleep_api.c psa: Remove v8-M S targets 2020-04-27 09:51:09 +01:00
tfm_s.axf psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
tfm_s.bin psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
us_ticker.c psa: Remove v8-M S targets 2020-04-27 09:51:09 +01:00

README.md

MUSCA_A1_NS prebuilt secure binaries

This directory tree contains Secure images released under Permissive Binary License.

Built by mbed-cli using GNU Arm Embedded - version 6.3.1

These images were compiled by the following command:

mcuboot.bin

Repository

https://github.com/ARMmbed/trusted-firmware-m.git

Commit SHA

Contained in features/FEATURE_PSA/TARGET_TFM/VERSION.txt

cmake ../ -G"Unix Makefiles" -DTARGET_PLATFORM=MUSCA_A -DCOMPILER=ARMCLANG -DCMAKE_BUILD_TYPE=Debug
make

tfm.bin

mbed compile -t GCC_ARM -m ARM_MUSCA_A1_S --app-config tools/psa/tfm/mbed_app.json --profile release

To update the prebuilt binaries run the previous commands.