mbed-os/targets/TARGET_Cypress/TARGET_PSOC6
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
..
COMPONENT_SCL Update COMPONENT_SCL to version 1.0.0 2020-05-15 15:52:09 -07:00
COMPONENT_WHD Merge pull request #12943 from kyle-cypress/pr/asset-update-ww2019 2020-05-12 14:30:51 +02:00
TARGET_CY8CKIT_062S2_43012 Update PSoC 6 BSPs to verion 1.2 2020-05-07 10:08:50 -07:00
TARGET_CY8CKIT_062_BLE Update PSoC 6 BSPs to verion 1.2 2020-05-07 10:08:50 -07:00
TARGET_CY8CKIT_062_WIFI_BT Update PSoC 6 BSPs to verion 1.2 2020-05-07 10:08:50 -07:00
TARGET_CY8CKIT_064S2_4343W psa: Replace Mbed PSA with TF-M 2020-06-18 12:16:20 +01:00
TARGET_CY8CPROTO_062S3_4343W Update PSoC 6 BSPs to verion 1.2 2020-05-07 10:08:50 -07:00
TARGET_CY8CPROTO_062_4343W Update PSoC 6 BSPs to verion 1.2 2020-05-07 10:08:50 -07:00
TARGET_CY8CPROTO_064_SB Fix BOOT_HEADER_SIZE allocation in ARM scatter files (#13058) 2020-06-10 10:25:41 +03:00
TARGET_CYESKIT_064B0S2_4343W Fix BOOT_HEADER_SIZE allocation in ARM scatter files (#13058) 2020-06-10 10:25:41 +03:00
TARGET_CYSBSYSKIT_01 Update CYSBSYSKIT_01 board init 2020-05-15 15:52:44 -07:00
TARGET_CYW9P62S1_43012EVB_01 Update PSoC 6 BSPs to verion 1.2 2020-05-07 10:08:50 -07:00
TARGET_CYW9P62S1_43438EVB_01 Update PSoC 6 BSPs to verion 1.2 2020-05-07 10:08:50 -07:00
TESTS Addressed comments 2020-01-13 14:46:32 +02:00
common Update whd-bsp-integration to v1.0.1 2020-05-07 10:08:50 -07:00
psoc6cm0p Update psoc6cm0p to v1.1.2 2020-05-07 10:08:50 -07:00
psoc6csp Merge pull request #12943 from kyle-cypress/pr/asset-update-ww2019 2020-05-12 14:30:51 +02:00
psoc6pdl Update psoc6pdl to v1.5.2 2020-05-15 11:50:18 +01:00
sb-tools cypress: psoc64: Add TF-M compatibility (again) 2020-06-18 12:16:10 +01:00
PeripheralNames.h Standardize target pin defines in cybsp_types.h. Make PinNames.h/PeripheralNames.h use standard defines 2019-11-19 07:46:27 -08:00
PeripheralPins.h PSOC6: cleanup DEVICE_QSPI mappings 2019-07-11 12:50:56 +03:00
PinNames.h Cypress: Minor fix for mbed astyle 2019-11-26 13:20:35 +02:00
PinNamesTypes.h Cypress: fix gpio mode none 2019-10-30 12:03:53 +02:00
PortNames.h Added support for PSA target to WIFI_BT board 2019-03-07 08:40:20 -08:00
cmsis.h PSOC6: move cmsis.h and device.h out from psoc6pdl directory 2019-05-24 15:16:37 +03:00
cy_analogin_api.c Cypress: Add implementation of free() for gpio i2c analogin: #11830 2019-11-07 11:01:16 +02:00
cy_analogout_api.c Fix incorrect integer division in analogout_read 2019-09-18 12:06:33 -07:00
cy_crc_api.c Fix inconsistency between mbed crc and psoc6 crc implementations. 2020-01-24 18:23:25 +00:00
cy_flash_api.c Update CSP to latest 2019-08-27 15:10:34 -07:00
cy_gpio_api.c Fix for Cypress GPIO driver 2019-11-15 10:10:29 +01:00
cy_gpio_irq_api.c Update CSP to latest 2019-08-27 15:10:34 -07:00
cy_i2c_api.c I2C byte read/write transmition improvement. Added CY_SCB_I2C_READ_XFER to clear CY_SCB_I2C_WRITE_XFER status in i2c_byte_write() API. 2019-11-21 11:41:40 +02:00
cy_lp_ticker_api.c rework cypress lptimer hal 2019-11-27 12:20:37 -08:00
cy_mbed_post_init.h Add optional post-bsp-init hook 2020-06-16 11:07:34 -07:00
cy_port_api.c fix 'enumerated type mixed with another type' IAR warnings 2019-12-12 17:05:11 -08:00
cy_pwmout_api.c Fix for issue #11769 (Cypress: PWM FPGA test wrong assert) 2019-10-30 15:26:56 +01:00
cy_qspi_api.c Cypress: Remove qspi_frequency() call. 2019-12-05 16:12:14 +02:00
cy_reset_reason_api.c Implemented reset reason api. 2020-02-21 09:48:26 -08:00
cy_rtc_api.c PSOC6: fix license headers per review feedback 2019-07-08 18:25:03 +03:00
cy_serial_api.c fix 'enumerated type mixed with another type' IAR warnings 2019-12-12 17:05:11 -08:00
cy_sleep_api.c Stop the us_ticker timer before deepsleep 2020-06-16 11:07:34 -07:00
cy_spi_api.c Cypress: Fix unitialized memory in spi_master_write 2020-04-16 16:54:12 -07:00
cy_trng_api.c Update CSP to latest 2019-08-27 15:10:34 -07:00
cy_us_ticker.h Stop the us_ticker timer before deepsleep 2020-06-16 11:07:34 -07:00
cy_us_ticker_api.c Stop the us_ticker timer before deepsleep 2020-06-16 11:07:34 -07:00
cy_usb_phy.cpp USB-Cypress: Lock sleep when USB is initialized 2019-10-17 13:12:58 +01:00
cy_usb_phy_hw.h Use consistant naming for Cypress USB target files. 2019-08-16 15:42:43 +01:00
cy_watchdog_api.c Add watchdog clock accuracy to Cypress targets. 2019-09-30 08:10:24 +02:00
device.h Update CSP to latest 2019-08-27 15:10:34 -07:00
gpio_object.h Fix for Cypress GPIO driver 2019-11-15 10:10:29 +01:00
mbed_overrides.c Add optional post-bsp-init hook 2020-06-16 11:07:34 -07:00
mbed_rtx.h Update CSP to latest 2019-08-27 15:10:34 -07:00
objects.h Update HAL CRC API 2019-12-02 14:45:37 +02:00
pinmap.c Update CSP to latest 2019-08-27 15:10:34 -07:00