mbed-os/features
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
..
FEATURE_BLE Merge pull request #13040 from paul-szczepanek-arm/cordio-tx-power 2020-06-16 13:59:50 +02:00
FEATURE_BOOTLOADER General clean-up of unsupported targets 2020-04-09 15:36:21 +01:00
FEATURE_EXPERIMENTAL_API psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
cellular Merge pull request #13098 from AriParkkila/cell-free-stack 2020-06-17 13:24:17 +02:00
cryptocell/FEATURE_CRYPTOCELL310 NRF52840_DK: Fix baremetal linker error 2020-02-10 15:18:46 +00:00
deprecated_warnings Squashed 'features/nanostack/coap-service/' changes from 086e7ba..3c79829 2019-05-21 14:21:19 +03:00
device_key DeviceKey: Fix test code with key size change in generate_root_of_trust() 2020-05-04 09:11:42 +08:00
frameworks Move frameworks/TARGET_PSA to TARGET_EXPERIMENTAL_API 2020-05-29 13:19:12 +01:00
lorawan Remove explicit include of mbedtls/config.h 2020-02-27 09:45:22 +02:00
lwipstack Ensure all overridden virtual functions are marked with `override` 2020-06-01 10:39:42 +01:00
mbedtls psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
nanostack Merge pull request #13115 from NXPmicro/MXRT1050_USB 2020-06-18 09:56:47 +02:00
netsocket STM32H7 STM32Cube FW V1.5.0 => V1.7.0 2020-06-08 14:33:10 +02:00
nfc NFC: Convert to Chrono 2020-04-30 13:28:29 +03:00
storage Remove unused variable to fix compliation warning 2020-06-15 14:00:42 +01:00