Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Kevin Bracey
89eba7303f
Timed sleep rework
2019-07-15 10:13:49 +03:00
Kevin Bracey
20451082c1
Move SysTimer to platform, for non-RTOS use
2019-07-15 10:13:49 +03:00
Evelyne Donnaes
2d6db332e6
Merge pull request #11010 from jeromecoutant/PR_ASYNCSPI
...
FPGA SPI: ASYNC issue
2019-07-12 16:34:42 +01:00
Kevin Bracey
d53bd6120d
Merge pull request #10274 from kjbracey-arm/atomic_template
...
Add Atomic<T> template
2019-07-12 14:26:03 +03:00
Arto Kinnunen
237ad40093
Merge pull request #10963 from devran01/pr/10888/fix
...
PSA TESTS: Include mbedtls/config.h before evaluating MBEDTLS_PSA_CRYPTO_C
2019-07-11 15:49:57 +03:00
Russ Butler
8fffb94be2
Remove FPGA analog out test
...
Remove the analog out test temporarily due to limitations of the
FPGA rev 2 hardware.
2019-07-10 07:39:30 +01:00
jeromecoutant
d14d934f8d
FPGA SPI: ASYNC issue
2019-07-10 00:30:13 +02:00
Kevin Bracey
c9faf244ea
Test Atomic<T> with user T
2019-07-09 19:09:02 +03:00
Kevin Bracey
e2f65ec4a9
Make atomic test use Atomic<T>
...
Make the atomic functional test use `Atomic<T>` rather than the
standalone functions - this then tests both layers simultaneously.
2019-07-09 19:09:02 +03:00
Martin Kojtal
ee5b6d2c74
Merge pull request #10976 from vmedcy/tests-mbed_drivers-ticker
...
Fix error in tests-mbed_drivers-ticker when LED2 is not connected
2019-07-09 08:33:25 +01:00
Martin Kojtal
358046e472
Merge pull request #10989 from mprse/spi_fpga_basic_test_ext
...
SPI FPGA test extension + SPI driver fix (K64F)
2019-07-08 20:42:47 +01:00
Devaraj Ranganna
7ead3fedb8
Include psa/crypto.h instead of mbedtls/config.h.
...
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-08 16:28:58 +01:00
Arto Kinnunen
cd4283e5fb
Merge pull request #10977 from vmedcy/tests-mbedmicro-rtos-mbed-malloc
...
Fix out-of-bounds array access in tests-mbedmicro-rtos-mbed-malloc
2019-07-08 16:39:22 +03:00
Przemyslaw Stekiel
6490ac75d8
FPGA SPI test: Fix typo
2019-07-08 15:23:21 +02:00
Przemyslaw Stekiel
6112ca8c64
FPGA SPI test: Fix unsupported transfer case
...
Co-Authored-By: Filip Jagodziński <fkjagodzinski@gmail.com>
2019-07-08 14:54:33 +02:00
Przemyslaw Stekiel
17d5e6d00a
Extend FPGA SPI test
...
Add test cases for:
- async mode,
- different frequencies,
- block write
2019-07-08 14:54:33 +02:00
Martin Kojtal
1c91d03d9b
Merge pull request #10975 from fkjagodzinski/fix-fpga_ci_test_shield-tests
...
Restrict FPGA tests to Arduino form factor
2019-07-08 13:47:55 +01:00
Russ Butler
e74e3dd124
FPGA test shield: Allow any defined form factor
...
Build in the FPGA tests if either MBED_CONF_TARGET_DEFAULT_FORM_FACTOR
or TARGET_FF_ARDUINO is defined.
2019-07-08 09:42:30 +02:00
Russ Butler
d5cc17ff8c
Skip form factor pins marked as NC
...
The gpio and gpio_irq FPGA tests run on form factor pins that are
marked as NC. This patch changes that behavior so they skip NC
pins.
2019-07-05 16:54:38 -05:00
Neil Tuttle
81f85296e8
Fix out-of-bounds array access in tests-mbedmicro-rtos-mbed-malloc
2019-07-05 14:33:40 +01:00
Neil Tuttle
09b8d7fc5b
Fix error in tests-mbed_drivers-ticker when LED not available
2019-07-05 14:26:15 +01:00
Filip Jagodzinski
d425dc9ba4
FPGA test shield: Restrict tests to Arduino FF only
...
Currently only the Arduino form factor is supported. Support for other
form factors will be added in the future.
2019-07-05 14:51:18 +02:00
Martin Kojtal
c709955aff
Merge pull request #10820 from mprse/bring_fpga_tests_master
...
Bring FPGA-Test-Shield tests into Mbed-os master.
2019-07-04 15:02:21 +01:00
Devaraj Ranganna
6e590cd3e7
Include mbedtls/config.h before evaluating MBEDTLS_PSA_CRYPTO_C
...
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-07-04 16:44:19 +03:00
Przemyslaw Stekiel
d2d3d5f35d
FPGA uart test: Remove unsupported test cases
...
Not all uart features are supported by specific platforms.
2019-07-04 14:55:02 +02:00
Przemyslaw Stekiel
879d8917c4
FPGA Analogin test: Remove test case which can not be executed
...
The test case which checks full range cannot be executed at the moment due to a hardware bug in FPGA-Test-Shield.
This test case will be restored when the final version of FPGA-Test-Shield is ready.
2019-07-04 13:52:19 +02:00
Martin Kojtal
ccb63d771e
Merge pull request #10857 from ARMmbed/feature-watchdog
...
Add Watchdog and ResetReason
2019-07-03 11:43:52 +01:00
Przemyslaw Stekiel
c016f2ab76
FPGA Analogout test: mark dead code as debug code, increase tolerance
2019-07-03 12:34:22 +02:00
Przemyslaw Stekiel
852456006b
FPGA Analogin test: Remove usage of FULL_TEST_SHIELD symbol, increase tolerance
...
Keep "AnalogIn - full test" disabled due to hardware issue in the first rev of FPGA Test Shield.
2019-07-03 12:27:25 +02:00
Przemyslaw Stekiel
261e67b687
FPGA I2C test update.
...
Divide one test case to four test cases to increase readability.
Adapted to the last version of the FPGA CI Test Shield API.
2019-07-03 10:23:06 +02:00
Filip Jagodzinski
b89eeb7ec5
Test: Watchdog: Fix test_restart case
...
Watchdog::stop() is called in this test. If the target does not support
stopping the watchdog this case needs to be skipped.
Also improve handling ignored test cases.
2019-07-02 12:46:23 +01:00
Filip Jagodzinski
9e2a1816bb
Test: Watchdog: Fix astyle errors
2019-07-02 12:46:23 +01:00
Filip Jagodzinski
7ab0a35fdf
Test: WatchdogManager: Remove tests
...
This component no longer exists in Mbed OS.
2019-07-02 12:46:23 +01:00
Filip Jagodzinski
a5ad5e04ca
Test: Watchdog: Add new driver tests
2019-07-02 12:46:23 +01:00
Martin Kojtal
85c477c1dc
Merge pull request #10609 from kjbracey-arm/us_ticker_optimise
...
wait_us optimization
2019-06-28 14:29:00 +01:00
Martin Kojtal
dfdf70b873
Merge pull request #10767 from maciejbocianski/msd_test_windows_unmount_fix
...
usb_device-msd test: fix powershell unmount script issue
2019-06-28 14:24:53 +01:00
Martin Kojtal
a2c9152441
Merge pull request #10700 from LMESTM/hal_sleep_manager_test_update
...
Update HAL Sleep manager test to cope with STM32 LPTIM HW
2019-06-28 13:19:10 +01:00
Filip Jagodzinski
e2ba0bb533
ResetReason: Update the header file
...
Minor doxygen fixes.
2019-06-26 09:58:24 +01:00
Martin Kojtal
e40a76575f
watchdog: fix copyright
2019-06-26 09:43:21 +01:00
Filip Jagodzinski
4e35e368b2
Test: watchdog_mgr: Remove dead code
2019-06-26 09:09:59 +01:00
Filip Jagodzinski
94181a9930
Test: update reset_reason driver test
...
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
Use a SERIAL_FLUSH_TIME_MS value consistent with other tests.
2019-06-26 09:09:59 +01:00
Filip Jagodzinski
ee202dafd8
Test: update HAL watchdog-timing test
...
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
2019-06-26 09:09:59 +01:00
Filip Jagodzinski
81898af2b5
Test: update HAL watchdog-reset test
...
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
Remove explicit calls to sleep.
2019-06-26 09:09:59 +01:00
Filip Jagodzinski
777a863ac8
Test: update HAL watchdog test
...
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
2019-06-26 09:09:59 +01:00
Filip Jagodzinski
68e536b368
Test: update HAL reset_reason test
...
Update the watchdog timing requirements:
1. The watchdog should trigger at, or after the timeout value.
2. The watchdog should trigger before twice the timeout value.
2019-06-26 09:09:59 +01:00
Maciej Bocianski
b4138d1102
usb_device-msd test: OS type detection fix
2019-06-24 22:12:20 +02:00
Filip Jagodzinski
8d8383b23c
Tests: SleepManager: Fix test_check for NRF5X
...
Add missing `lp_ticker_clear_interrupt()` in the interrput handler used
in `test_lock_unlock_test_check()` test.
Remove redefined `us_to_ticks()`.
2019-06-24 18:24:01 +02:00
Maciej Bocianski
60ef4a0854
usb_device-msd test: astyle fix
2019-06-19 15:37:09 +02:00
Laurent Meunier
8476be6285
Update test_lock_unlock_test_check() assertion to cope with new timings
...
With the DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US increased,
we now have TEST_ASSERT_UINT64_WITHIN(delta=1000, expected=1000, actual=1000)
so this assertion needed to be updated.
What we need is the deep sleep to be enabled after the programed interrupt
has fired and before a 2ms timeout expiration, which means >= 1000 and < 2000.
2019-06-19 15:33:34 +02:00