Commit Graph

1803 Commits (aa882d3e5f2911bcffa516bf265c361f1e80ed1b)

Author SHA1 Message Date
Qinghao Shi 0bacd5b8e1 TESTS: update test with explicit skip message 2020-07-28 14:15:51 +01:00
Martin Kojtal 6bd52719f6
Merge pull request #13335 from rajkan01/netsocket_dir_restructure
Restructure netsocket directory
2020-07-27 14:35:27 +01:00
Rajkumar Kanagaraj f745224c63 Move greentea test closure to library 2020-07-23 06:15:09 -07:00
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 2b60c871d8
Merge pull request #13264 from ashok-rao/rtos-refactor
Moving around a few items within \rtos
2020-07-20 10:39:19 +01:00
Ashok Rao 3a1b0744ba Moving around a few items within \rtos 2020-07-09 15:57:29 +01:00
Martin Kojtal 338e5ea1b5
Merge pull request #13213 from jeromecoutant/PR_LED2
Reduce LED use in automatic CI tests
2020-07-06 15:55:54 +02:00
Martin Kojtal fe2fb48907
Merge pull request #13210 from dustin-crossman/pr/sleep_test_fix
Fix hal-sleep/sleep_manager Tests on Cypress Targets
2020-07-03 10:36:22 +02: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
Dustin Crossman 0ae7516cac Fix serial wait bug in sleep test.
During the sleep_usticker_test and the deepsleep_lpticker_test a sleep
was placed above the main testing loop in order to give the device some
time to finish the Green Tea UART transmissions before entering sleep
mode. Since there is a Green Tea transmission at the end of each
iteration of this test loop, this sleep should be called for each loop
instead of just once before it.
2020-07-01 10:49:49 -07:00
jeromecoutant eac3c95303 LED1 and LED2 removed from tests-mbed_drivers-ticker
not really useful for automatic CI test
2020-07-01 16:00:49 +02:00
jeromecoutant 2cc72e7342 Remove LED2 in integration tests
- LED1 is sufficient
- Use MBED_CONF_APP_NO_LED json config if LED1 doesn't exist
2020-07-01 15:59:49 +02:00
Martin Kojtal a0fd81bcd0
Merge pull request #13188 from toyowata/fix_baremetal_build
TEST: Add spif-driver support for baremetal test build
2020-07-01 11:48:18 +02:00
Martin Kojtal 76831a95f4
Merge pull request #13174 from jeromecoutant/PR_FPGA_WATCHDOG
tests-mbed_timing_fpga_ci_test_shield-watchdog update with clock accuracy
2020-07-01 11:47:25 +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
jeromecoutant 4d7db01d01 tests-mbed_timing_fpga_ci_test_shield-watchdog update with clock accuracy information
Test is checking the exact time for watchdog,
which is based on a non accurate clock...

Correction is then taken into account clock information from API.
2020-06-24 14:20:24 +02:00
Martin Kojtal 846fbfb0fd
Merge pull request #13175 from Patater/remove-tfm-kvstore-adapter
psa: Remove not needed TF-M ITS KVStore adapter
2020-06-24 10:14:20 +02: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
Roman Okhrimenko 9be0baf406 Remove ES10 targets from flash_config header in tests, remove mbed_app.json 2020-06-19 16:16:54 +03:00
Martin Kojtal 802c89707e
Merge pull request #12905 from kjbracey-arm/timer_tweaks
Timer: minor revisions
2020-06-18 22:23:56 +02:00
Martin Kojtal 3e42991289
Merge pull request #13046 from hugueskamba/hk_use_chrono
Use std::chrono based functions
2020-06-18 22:16:00 +02:00
Hugues Kamba 2b934a228f Fix tests-netsocket-udp
Use std::chrono literals and variables where it makes sense
2020-06-18 18:10:10 +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
Martin Kojtal 62c2431344
Merge pull request #12824 from kjbracey-arm/faultasm
Optimise fault handler assembly
2020-06-18 09:43:00 +02:00
Hugues Kamba a3f4cf212d Use std::chrono based functions
The chrono based functions improve readability. Using them also removes
warnings related to usage of deprecated warnings.
2020-06-17 14:52:50 +01:00
Martin Kojtal 698fc09b4c
Merge pull request #12615 from jeromecoutant/PR_FPGA_UART
FPGA UART test cases addition with 7 and 9 bits data length
2020-06-10 13:51:18 +02:00
Martin Kojtal 867cd0f0b6
Merge pull request #13016 from jeromecoutant/PR_RTCTEST
tests-mbed_hal-rtc patch to match IAR compilation issue
2020-06-05 15:52:08 +02:00
Martin Kojtal 8ff3c95b2d
Merge pull request #13030 from kjbracey-arm/thisthreadgetname
Fix ThisThread::get_name definition
2020-06-05 10:39:34 +02:00
Martin Kojtal ab439624ed
Merge pull request #12979 from LDong-Arm/stack_size_expectation_from_config
stack_size_unification test: set expected stack sizes from config
2020-06-04 14:39:08 +02:00
Darryl Green e5f8dd8798 Move import to after TARGET_PSA define check
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:19:12 +01:00
Jaeden Amero b44a263729 psa: Put Mbed PSA implementation into MBED_PSA_SRV
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-05-29 13:19:11 +01:00
Kevin Bracey 922b656d39 Fix ThisThread::get_name definition 2020-05-29 11:46:58 +03:00
jeromecoutant ccfb099255 tests-mbed_hal-rtc patch to match IAR compilation issue 2020-05-26 10:26:45 +02: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 ba94adbf65 FPGA test: Add ReadMe file 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
jeromecoutant 864c96efd4 FGGA UART test: add test cases with 7 and 9 bits data length 2020-05-18 11:47:31 +02:00
Lingkai Dong 4ecd99f6a4 stack_size_unification test: set expected stack sizes from config 2020-05-15 14:42:27 +01:00
Martin Kojtal 6cbe22dc59
Merge pull request #12623 from toyowata/baremetal_lpc1114
LPC1114: baremetal profile support
2020-05-15 13:17:52 +02:00
Anna Bridge 90a8fef7d0
Merge pull request #12942 from kjbracey-arm/chrono-timeout-test
Add Timeout rescheduling test
2020-05-15 11:13:25 +01:00
Martin Kojtal 37ee008b90
Merge pull request #12961 from MarceloSalazar/remove_nrf51
Remove nRF51 targets
2020-05-15 08:08:26 +02:00
Martin Kojtal 595754dffa
Merge pull request #12917 from rajkan01/usb_serial_greentea
Bare metal profile: Enable USB serial greentea test
2020-05-14 10:49:39 +02:00
Rajkumar Kanagaraj 15dd18a058 Incorporated the review comment 2020-05-13 16:47:35 +01:00
Rajkumar Kanagaraj 3ee6d8993b Incorporated the review comment 2020-05-13 14:11:36 +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
Martin Kojtal 0b4b2afaf4
Merge pull request #12901 from kjbracey-arm/mailchrono
Rationalise Mail/Queue/MemoryPool timing APIs
2020-05-12 17:10:43 +02:00
Martin Kojtal 15ade20b4d
Merge pull request #12909 from kyle-cypress/pr/cypress-misc-fixes
Cypress: Misc target updates
2020-05-12 14:27:34 +02:00