Commit Graph

1824 Commits (ad40b1b2672d59b058f7c104fdc612d0dddf3ac3)

Author SHA1 Message Date
Lingkai Dong ca40038073 Baremetal test config: no need to explicitly disable ipv6 anymore 2020-09-21 15:44:19 +01:00
Lingkai Dong 8acb2c345b Baremetal test config: "mbed-trace" is now available by default 2020-09-21 15:40:38 +01:00
Rajkumar Kanagaraj a74120ca2e Move greentea test closure to library 2020-09-16 13:04:21 +01:00
Rajkumar Kanagaraj 8ee029c84f Remove duplicate and move usb host tests script closure to the library 2020-09-07 10:20:09 +01:00
Martin Kojtal 1778c6d501
Merge pull request #13501 from jeromecoutant/PR_USB_TEST
USB-DEVICE tests: move host scripts
2020-09-07 09:37:41 +01:00
jeromecoutant ccece2fdee Move USB host tests 2020-08-27 11:13:16 +02:00
Rajkumar Kanagaraj 159410bea7 Move greentea tests closure to library 2020-08-25 15:15:53 +01:00
Lingkai Dong 2f92378642 Move TESTS/usb_device -> drivers/tests/TESTS/usb_device 2020-08-14 17:57:13 +01:00
Lingkai Dong bf3e1237aa Move mbed_functional tests into platform/tests/TESTS 2020-08-14 17:53:19 +01:00
Martin Kojtal 327fe532b2
Merge pull request #13410 from ashok-rao/lorawan-refactor
Refactoring \lorawan --> moving it inside \connectivity.
2020-08-14 14:27:48 +01:00
Martin Kojtal 6dd3e057a5
Merge pull request #13414 from LDong-Arm/refactor_nfc
Refactor NFC directory structure
2020-08-13 13:40:33 +01:00
Ashok Rao da9fd2a11b Mbed OS will soon be changing directory structure to the below:
```
connectivity
├── netsocket
├── lorawan
│   ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│   ├── lorastack
│   ├── tests
├── nanostack
├── cellular
├── ...

```

This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \lorawan.
2020-08-12 11:06:36 +01:00
Lingkai Dong e81e897e50 Move NFC Greentea tests into connectivity/nfc/tests/TESTS 2020-08-11 16:24:37 +01:00
George Psimenos 97f31c8d01 Fix baremetal targets 2020-08-11 11:32:09 +01:00
George Psimenos bf3cf13cde Move mbedtls greentea tests 2020-08-11 11:32:08 +01:00
Anna Bridge c85b76ad05
Merge pull request #13298 from ashok-rao/platform-refactor
Refactoring \platform directory
2020-08-05 13:32:42 +01:00
Ashok Rao a78554ebfa Fixing .astyleignore conflict 2020-07-31 15:50:03 +01:00
George Psimenos 0a759aaa38 Move drivers greentea tests 2020-07-31 10:04:36 +01:00
Martin Kojtal f20f93a648
Merge pull request #13333 from gpsimenos/gp-events-restruct
Events directory restructuring
2020-07-29 12:44:17 +01:00
Qinghao Shi 0bacd5b8e1 TESTS: update test with explicit skip message 2020-07-28 14:15:51 +01:00
Ashok Rao 09734a861d Refactoring \platform as per directory structure proposal.
Mbed OS will soon be changing directory structure to the below:

```
[component name]
├── mbed_lib.json
├── CMakeList.txt
├── README.md
├── include
│   └── [component name]
│       └── internal
├── source
└── tests
    ├── <framework>
    │   └── <test suite one>
    ├── UNITTESTS
    │   └── <unit test suite one>
    └── TESTS
        └── <greentea test suite one>
```
This PR implements the above new directory structure for the current \platform directory.
**NOTE:** This PR does NOT include the refactoring of UNITTESTS as shown in the above directory structure. This will be done in a subsequent PR.
2020-07-28 10:14:44 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +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