Commit Graph

34 Commits (2e1627d31e7936ba672c0080787f6d4c5accf02e)

Author SHA1 Message Date
Rajkumar Kanagaraj ca84e11a22 Fix CI build issue with GCC_ARM and ARMC6 toolchain 2020-07-22 10:23:12 -07:00
Rajkumar Kanagaraj d956116c36 Update greentea config, header reference 2020-07-20 07:33:52 -07:00
Martin Kojtal fa7c32c29d
Merge pull request #13207 from jamesbeyond/fpga_fix
TEST: update NRF52840_DK with correct FPAG configuration
2020-07-03 10:17:02 +02:00
Qinghao Shi a5f1895c5b TEST: update NRF52840_DK with correct FPAG configration 2020-06-30 16:03:44 +01:00
toyowata ee5ef0b3ed Add spif-driver support for baremetal test build 2020-06-25 11:57:45 +09:00
Jaeden Amero 6c9d16843c test: Add an experimental API config
It's important we still continue to run `mbed test` tests for APIs
considered experimental. Add a new test config which enables all
experimental APIs for test purposes.

For example, to run mbed test including experimental APIs on K64F:
    mbed test -m K64F -t GCC_ARM --app-config TESTS/configs/experimental.json
2020-06-23 13:48:03 +01:00
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
jeromecoutant 1a64d6e525 FPGA UART test: disable 7 bits test for K64F 2020-05-18 11:48:27 +02:00
jeromecoutant 64f9a7a8ba FPGA UART test: disable 9 bits test for K64F 2020-05-18 11:48:26 +02:00
jeromecoutant 6900ec69dd FPGA test shield: UART test capability update 2020-05-18 11:48:25 +02:00
Martin Kojtal 631e81e07e
Merge pull request #12916 from rajkan01/usb_basic_hid_greentea
USB basic and hid greentea test cleanup and enable to the bare metal profile
2020-05-12 14:06:07 +02:00
Rajkumar Kanagaraj f7f0681c7b USB hid and basic test
- Enable the USB hid and basic test for bare metal profile.
- Remove the partially (The green tea test host side implementation is missing on pyusb_basic.py ) implemented USB control transfer VENDOR_TEST_CTRL_NONE_DELAY request type test case as it is becoming obsolete.
- Remove high priority event queue which is used by that request type test case.
2020-05-11 11:48:23 +01:00
Veijo Pesonen b81f069df9 baremetal: include littlefsv2 2020-05-05 14:24:44 +03:00
Darryl Green 0d16ca4d8a Remove references to mbed-crypto
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:20 +01:00
Evelyne Donnaes 8be00a1ff8 Override c_lib to small for all targets.
Small C libraries should be used with the bare metal profile
to save memory.
2020-04-20 18:01:51 +01:00
jeromecoutant 2309a1749a FPGA CI TEST SHIELD: add test config json file 2020-03-30 18:03:12 +02:00
Evelyne Donnaes ebf5d27788 Add "rtos-api" to bare metal 2020-03-16 11:40:49 +00:00
Martin Kojtal a8188bfd4d
Merge pull request #12166 from hugueskamba/hk-baremetal-NRF52840_DK-fix
NRF52840_DK: Fix baremetal linker error
2020-02-14 08:21:27 +00:00
Hugues Kamba 65fbee1d33 NRF52840_DK: Fix baremetal linker error
Compile in the inclusion of cryptocell310 only if the library is included
in the build
2020-02-10 15:18:46 +00:00
Rajkumar Kanagaraj 8a0fdd24d9 Rename "default_lib" to "c_lib". 2020-01-17 08:05:48 -08:00
Rajkumar Kanagaraj 6d081eeb70 Fixed the build tools test case failure,incorporated review comments 2019-12-23 03:54:18 -08:00
Rajkumar Kanagaraj 957dca2082 Enabling small C library option and deprecating uARM toolchain
- By default, Mbed OS build tools use standard C library for all supported toolchains.
   It is possible to use smaller C libraries by overriding the "target.default_lib" option
   with "small". This option is only currently supported for the GCC_ARM toolchain.
   This override config option is now extended in the build tool for ARM toolchain.
 - Add configuration option to specify libraries supported for each toolchain per targets.
 - Move __aeabi_assert function from rtos to retarget code so it’s available for bare metal.
 - Use 2 memory region model for ARM toolchain scatter file for the following targets:
   NUCLEO_F207ZG, STM32F411xE, STM32F429xI, NUCLEO_L073RZ, STM32F303xE
 - Add a warning message in the build tools to deprecate uARM toolchain.
 - NewLib-Nano C library is not supporting floating-point and printf with %hhd,%hhu,%hhX,%lld,%llu,%llX
   format specifier so skipping those green tea test cases.
2019-12-19 10:05:11 -08:00
Tymoteusz Bloch 0859ff7b79 Netsocket tests timeouts and JSON and TLS configuration adjusted to pass under mesh Wisun.
Netsocket timeouts increased due to long node join on current Wisun implementation.
2019-12-11 17:42:29 +01:00
Martin Kojtal 0175a9f845
Merge pull request #12039 from evedon/ed-baremetal-nrf52840
Fix build errors for bare metal greentea tests on NRF52840_DK
2019-12-06 15:48:32 +01:00
Evelyne Donnaes c6454156da Enable bare metal greentea tests on NRF52840_DK 2019-12-05 16:25:36 +00:00
Veijo Pesonen 060a1c6df7 NVStore: deprecated implementation removed 2019-12-03 15:36:31 +02:00
Evelyne Donnaes f32292952e Compilation fixes 2019-11-28 14:45:07 +00:00
Martin Kojtal a99d9be3bb
Merge pull request #11875 from rajkan01/feature_arm_greentea_test
Baremetal: Fix ARM toolchain Greentea test compilation for NUCLEO_F411RE
2019-11-21 11:15:45 +01:00
Hugues Kamba dfae4e72bd DISCO_L475VG_IOT01A: Fix baremetal profile Greentea tests
The build was missing the `"qspif"` lib to sucessefully build
2019-11-18 14:32:20 +00:00
RAJKUMAR KANAGARAJ 0e4d9d9a6a Removed the nanostack lib service and mbed-trace fea ipv6 to false to remove dependency issue on greentea test for bare metal with ARM toolchain 2019-11-15 09:19:16 -08:00
RAJKUMAR KANAGARAJ 6437f99a11 Error message correction and rx_lib header filer removed on systimer test case 2019-11-08 16:11:11 -08:00
RAJKUMAR KANAGARAJ f1139ebd8e Incorporated the review comments
-Added "rtos-api" in TESTS/configs/baremetal.json
-some test case used thread_sleep_for instead Thisthread::sleep_for
-Added the EOF character
-Disable completely the non supported test cases
2019-11-07 07:19:13 -08:00
RAJKUMAR KANAGARAJ 302f595c28 - Emac,NFC-EEPROM,PSA-CRYPTO components build issue fixed
- RTOS supported test case guarded with MBED_CONF_RTOS_PRESENT flag
 - Added the #error to non supported test case for bare metal
2019-11-06 01:57:29 -08:00
RAJKUMAR KANAGARAJ 3fc8905315 Fixed the greentea test dependency and incorporated the review comments
-Added the mbedtls,crypto,psa,filesystem,fat,littlefs in baremetal.json to resolve compiler issue
 -Disable metrics that are not available for bare metal
 -Moved the baremetal.json inside TESTS/configs directory
2019-11-05 08:49:27 -08:00