Commit Graph

97 Commits (241b062cdff0f4a568882a593a67f295f2ad7f8b)

Author SHA1 Message Date
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
Marcelo Salazar ccd95f1e14 Remove nRF51 targets
The following public nRF51 targets are being removed:

- NRF51822
- NRF51_DK
- NRF51_MICROBIT
2020-05-13 10:36:50 +01:00
Marcelo Salazar 84bad91489 Remove NRF51_DONGLE target 2020-04-30 09:56:37 +01:00
Marcelo Salazar 6899f6903c Remove TY51822R3 target 2020-04-30 09:56:37 +01:00
Marcelo Salazar 7c8b16f3c9 Remove HRM1017 target 2020-04-30 09:56:36 +01:00
Marcelo Salazar 7925a468a9 Remove KL05Z target 2020-04-30 09:56:36 +01:00
Marcelo Salazar cbe6cc79cb Remove NRF51822_Y5_MBUG 2020-04-30 09:56:36 +01:00
Marcelo Salazar e2136cc395 Remove MAXWSNENV target 2020-04-30 09:56:36 +01:00
Marcelo Salazar a770e65a05 Remove WALLBOT_BLE target 2020-04-30 09:56:36 +01:00
MarceloSalazar 5d63b0f5a0 Remove K20D50M target 2020-04-30 09:56:33 +01:00
MarceloSalazar 3ed5491ae5 Remove LPC1549 target 2020-04-30 09:56:33 +01:00
MarceloSalazar 20997ca6cb Remove RBLAB targets 2020-04-30 09:56:32 +01:00
MarceloSalazar 5dcfe57c41 Remove LPC4088 based targets 2020-04-30 09:56:32 +01:00
MarceloSalazar 12bb9d34bb Remove DELTA_DFCM_NNN40 target 2020-04-30 09:56:32 +01:00
Martin Kojtal 5f1c77741a tools: fix SPDX identifiers 2020-02-21 07:01:48 +00:00
Graham Hammond d2b968142d Updates to *.py in 'tools/' for Python 3 2019-11-21 16:06:59 +00:00
Jimmy Brisson 2a4a73cab6 Add the only part of the "data" module that was used 2019-04-08 10:58:45 -05:00
Jimmy Brisson 424ad856a9 Python2+3: make.py -n 2018-02-05 11:07:37 -06:00
Jimmy Brisson 45bdd98a85 Python2+3: tests import correctly 2018-02-05 11:04:36 -06:00
Jimmy Brisson 68737f2762 Python2+3: Things import 2018-02-05 11:03:44 -06:00
TomoYamanaka 47acc9e551 Add GR_LYCHEE as a new target board in terget.json, build_travis.py and tests.py
I added GR-LYCHEE's configuration in targets.json file. Also, I added GR_LYCHEE as a Renesas new target board in build_travis.py and tests.py.
2018-01-16 13:25:17 +09:00
Adam Heinrich da81229186 NUCLEO_F413ZH: Add support for the NUCLEO-F413ZH board
Merged from the existing TARGET_DISCO_F413ZH code (which has the same MCU)
and TARGET_NUCLEO_F412ZG code (which has the same Nucleo-144 board and
pinout).
2017-12-29 15:30:10 +01:00
arostm 45d42336ce DISCO_F413ZH: add terget.json, build_travis.py and test.py changes 2017-06-22 09:16:32 +02:00
bcostm 8c7000cce4 Add "01A" suffix in target name 2017-06-12 17:03:12 +02:00
bcostm b26eae581d Add DISCO_L475VG_IOT in build, export and tests python files 2017-06-12 17:03:12 +02:00
Sam Grove d11289b576 Merge pull request #4165 from adustm/can_init
fix #3863 Add an mbed API that allows the init of the CAN at the bus frequency
2017-05-26 10:45:19 -05:00
adustm f9b94d5f6c Add NUCLEO_F303ZE in MBED_A30 test list 2017-05-15 14:27:22 +02:00
jeromecoutant f027cf429b Add new CAN API test MBED_A30 2017-05-15 14:27:22 +02:00
Martin Kojtal 2977d0c387 tools: remove usb host from mbed 2 scripts
usb host has dependency on rtos1 that is no longer in the
code base.
2017-05-12 14:51:49 -05:00
Martin Kojtal 8c4258ceb5 tools: remove all rtos1 references
These references are removed from mbed 2 scripts, including travis script.
2017-05-12 14:51:47 -05:00
Bartek Szatkowski 2ddf4b33cb CMSIS5: Remove ARM7 support and targets 2017-05-12 13:48:43 -05:00
Martin Kojtal d4cd403039 tools: remove net libraries
Remove any reference to net libraries that are unsupported. As we removed net libraries, these are no longer in the codebase.
2017-05-11 17:51:01 -05:00
Alexis ROCHE a59c4ff8a7 DISCO_L072CZ_LRWAN1: add LRWAN1 to the name 2017-05-02 12:53:25 +02:00
Alexis ROCHE 19109d9404 DISCO_L072CZ: Modifications and verifications to build 2017-05-02 11:50:24 +02:00
Brian Daniels 4d4e4a3ef9 Removing old filesystem test 2017-04-06 14:18:37 -05:00
Simon Hughes 7b7db588ff STORAGE: remove RTOS_9 test from tests.py. 2017-02-23 16:39:53 +00:00
Simon Hughes e43f667174 STORAGE: PR 3762 fix to remove FAT_FS, SD_FS, FS_LIBRARY from tools/libraries.py and tools/tests.py 2017-02-23 16:39:44 +00:00
Simon Hughes 840c77793b STORAGE: Pull request 3762 review feedback changes.
- Fixing code formatting errors with astyle tool.
- Replaced use of TOOLCHAIN_xxx macros with compiler emitted macros.
- Added const to BlockDevice::get_xxx_size() member functions.
- Added documentation for FAT filesystem thread support.
- Added documentation for fat_filesystem_set_errno().
- Added documentation clarifying the reasons for errno/stat symbol definitions in retarget.h.
- Removed FAT filesystem from mbed 2 testing.
- Fixed FATMisc.h Copyright (c) 2016 year to 2017 as its a new file.
- Removed #ifndef NDEBUG from HeapBlockDevice.cpp.
- Removed unnecessary todo comment in retarget.cpp.
2017-02-23 16:39:42 +00:00
Martin Kojtal e592c8a8b2 Merge pull request #3571 from jeromecoutant/PR_DISCO_F769NI
DISCO_F769NI introduction
2017-01-16 16:38:20 +00:00
jeromecoutant 66c3f8ed44 DISCO_F769NI: Add analog loop test support 2017-01-12 15:38:05 +01:00
bcostm f6c93d3241 Remove automated flag for MBED_29/30 tests 2017-01-10 11:22:51 +01:00
bcostm ead72934ef Add CAN feature and activate CAN tests for this platform 2017-01-10 11:22:51 +01:00
Sam Grove 3019688406 Merge pull request #3513 from bcostm/rtos_nucleo-f412zg
NUCLEO_F412ZG - Add platform in RTOS tests + build_travis
2017-01-09 10:19:27 -06:00
bcostm 3e499e21e4 Add platform in RTOS tests + build_travis 2017-01-02 17:40:49 +01:00
Michel Jaouen 815194a98b USBHOST : add mouse test 2017-01-02 09:48:17 +01:00
Michel Jaouen 72dae26774 USBHOST : test mass storage 2017-01-02 09:48:16 +01:00
Martin Kojtal e7361ebc44 Merge pull request #3365 from OpenNuvoton/nuvoton_usb
[NUC472/M453] Support USB device
2016-12-30 12:43:53 +01:00
Martin Kojtal 08509e75df Merge pull request #3339 from jamike/USBAudio_CB_RX_TX
USB audio callback  rx and tx
2016-12-21 14:58:52 +00:00
Michel Jaouen 71f570fbc7 USB_8 : audio loopback test at 16khz stereo 16bits
- Callback TX and RX interface is used.
2016-12-16 15:16:56 +01:00
Jared Szechy f5f3dc8143 Enable CAN on DISCO_F303VC 2016-12-11 22:03:29 -05:00