mbed-os/rtos/source/TARGET_CORTEX
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
..
TOOLCHAIN_ARM_MICRO Enabling small C library option and deprecating uARM toolchain 2019-12-19 10:05:11 -08:00
TOOLCHAIN_ARM_STD - Remove the pre-processor directive __ARMCC_VERSION >= 6010050 2020-03-27 14:37:01 +00:00
TOOLCHAIN_GCC_ARM Move TARGET directories to source 2019-08-08 11:59:16 +01:00
TOOLCHAIN_IAR rtos: fix iar vector table type 2020-03-30 13:37:15 +01:00
rtx4 CMSIS/RTX: Patch RTX4 to preserve osThreadDef compatibility 2020-05-11 11:17:54 +01:00
rtx5 rtos: do not include RTE_Component header 2020-05-12 12:10:48 +01:00
mbed_boot.c ST boards: Fix sleep tracing 2020-06-01 15:31:09 +01:00
mbed_boot.h ST boards: Fix sleep tracing 2020-06-01 15:31:09 +01:00
mbed_lib.json Define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE properly in rtos mbed_lib.json 2020-05-15 15:16:44 +01:00
mbed_rtos_rtx.c psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
mbed_rtx_conf.h rtos: Improve CMSIS-RTOSv2 app compatibility 2020-04-15 18:08:14 +01:00
mbed_rtx_handlers.c Prevent unreachable statements and correct variable sizes. 2019-09-12 11:51:26 +01:00
mbed_rtx_idle.cpp OS timer uses LPTICKER by default, then USTICKER 2020-05-19 12:34:11 +02:00
mbed_rtx_storage.h rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00