mbed-os/TESTS/mbed_hal
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
..
common_tickers enable common tickers & lp_tickers hal tests in baremetal mode 2020-04-17 15:01:56 +01:00
common_tickers_freq enable common tickers & lp_tickers hal tests in baremetal mode 2020-04-17 15:01:56 +01:00
crc test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
critical_section Remove nRF51 targets 2020-05-13 10:36:50 +01:00
flash/functional_tests Tests: Remove support for ARM Compiler 5 2020-03-25 18:22:00 +00:00
gpio Add GPIO NC test 2019-05-02 16:12:21 +03:00
lp_ticker enable common tickers & lp_tickers hal tests in baremetal mode 2020-04-17 15:01:56 +01:00
minimum_requirements test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
mpu test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
pinmap tests-mbed_hal-pinmap: Remove testing GPIO pinmaps (GPIO pinmaps are removed) 2020-02-24 14:57:09 +01:00
qspi Remove CYW943012P6EVB_01 target 2020-04-30 11:12:00 -07:00
reset_reason Fix the CI build issue 2020-04-08 10:35:07 +01:00
rtc tests-mbed_hal-rtc patch to match IAR compilation issue 2020-05-26 10:26:45 +02:00
rtc_reset test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
rtc_time Fix the CI build issue 2020-04-08 10:35:07 +01:00
rtc_time_conv tests: astyle fix 2018-08-03 10:23:38 +01:00
sleep test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
sleep_manager tests-mbed_hal-sleep_manager: fix counter wraparound handling 2020-02-26 14:05:46 +01:00
sleep_manager_racecondition test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
stack_size_unification stack_size_unification test: set expected stack sizes from config 2020-05-15 14:42:27 +01:00
ticker test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
trng psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
us_ticker test: fix SPDX identifier 2020-02-21 07:00:59 +00:00
watchdog Fix the CI build issue 2020-04-08 10:35:07 +01:00
watchdog_reset Fixed greentea tests 2020-03-02 17:27:17 +00:00
watchdog_timing Merge pull request #12233 from bulislaw/minimal_printf_default 2020-03-10 12:13:11 +00:00