mbed-os/platform/source
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
..
TARGET_CORTEX_M Streamline crash data access 2020-04-24 10:59:13 +03:00
minimal-printf Removed mbed_minimal_formatted_string_character 2020-03-23 13:51:47 +00:00
ATCmdParser.cpp busy s... fix (ONME-4352) 2019-12-12 09:36:34 +02:00
CThunkBase.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
CriticalSectionLock.cpp Remove the deprecated CriticalSectionLock APIs 2020-02-28 07:19:19 -08:00
DeepSleepLock.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
FileBase.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
FileHandle.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
FilePath.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
FileSystemHandle.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
LocalFileSystem.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
Stream.cpp mbed_retarget: Add a minimal console implementation to provide basic functionalities 2019-11-11 15:14:00 +00:00
SysTimer.cpp Add Chrono support to Kernel and SysTimer 2020-04-27 10:19:08 +03:00
SysTimer.h More Chrono test fixes 2020-04-27 10:19:08 +03:00
mbed_alloc_wrappers.cpp add dummy SUPER_REALLOC/CALLOC calls to alloc wrappers 2020-02-04 12:29:53 +01:00
mbed_application.c Remove ARMC5 reference from Mbed OS platform 2020-03-19 10:48:14 -07:00
mbed_assert.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_atomic_impl.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_board.c Remove nRF51 targets 2020-05-13 10:36:50 +01:00
mbed_crash_data_offsets.h Streamline crash data access 2020-04-24 10:59:13 +03:00
mbed_critical.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_error.c Streamline crash data access 2020-04-24 10:59:13 +03:00
mbed_error_hist.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_error_hist.h Change Doxygen groups structure, splitting first by Public/Internal (#11105) 2019-08-02 12:23:47 +01:00
mbed_interface.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_mem_trace.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_mktime.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_mpu_mgmt.c platform: fix SPDX identifiers 2020-02-21 07:00:58 +00:00
mbed_os_timer.cpp OS timer uses LPTICKER by default, then USTICKER 2020-05-19 12:34:11 +02:00
mbed_os_timer.h Correct core RTOS sleep routine timing 2020-05-07 11:43:01 +03:00
mbed_poll.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_power_mgmt.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_retarget.cpp psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
mbed_rtc_time.cpp Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_sdk_boot.c Disable write buffering on debug builds. 2020-01-30 16:19:28 +02:00
mbed_semihost_api.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_stats.c Platform: Separate internal APIs from public APIs 2019-08-02 12:23:47 +01:00
mbed_thread.cpp Add Chrono support to Kernel and SysTimer 2020-04-27 10:19:08 +03:00
mbed_wait_api_no_rtos.c Remove mbed wait deprecated APIs 2020-04-08 10:35:07 +01:00