Kyle Kearney
8c82524517
Remove hard-coded instruction ids from QSPI Tests
...
Replace with macros from the test flash_config header, consistent with
how most commands are built in this test.
2019-11-18 15:48:17 +00:00
Matthew Macovsky
fa2ef8be96
Update QSPI test to reflect fixes in QSPIFBlockDevice
2019-11-18 15:48:17 +00:00
Ryan Morse
c4ac78b7aa
Added CYW9P62S1_43012EVB_01 board Notes: - CRC and TRNG are disabled on this board since the MCU on this board does not have the required hardware. - QSPI and QSPIF are temporarily removed due to issues related to supporting the new S25FS512S flash chip we have on this board. These will be enabled as soon as we can get the issues resolved. https://github.com/ARMmbed/mbed-os/issues/11722
2019-11-18 15:42:08 +00:00
Maciej Bocianski
e7d1a90cc4
hal qspi test: adjust min frequency for EFM32GG11
...
according to the driver limitations
2019-11-18 15:42:08 +00:00
Maciej Bocianski
4f83b577e4
hal qspi test: fix frequency setting test
...
Prevent setting frequency below QSPI_MIN_FREQUENCY
2019-11-18 15:42:08 +00:00
Kyle Kearney
a114cd30bc
Restore old qspi_alt_size_t values as compatibility macros
2019-11-18 15:42:08 +00:00
Matthew Macovsky
08a2709993
Allow for arbitrary QSPI alt sizes
...
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-10-16 11:58:32 +01:00
int_szyk
a19d3693fa
Change reset_reason timeout.
...
Changed mbed_drivers-reset_reason and mbed_hal-reset_reason tests
because sometimes for some devices it was a little bit to short.
2019-10-16 11:53:52 +01:00
Martin Kojtal
453122944c
Merge pull request #11366 from 0xc0170/dev_rollup
...
Rollup part 2 for 5.14
2019-08-29 09:28:49 +02:00
Kyle Kearney
364df397e7
Add QSPI flash configs for several Cypress targets
2019-08-28 10:56:15 -07:00
Martin Kojtal
96d9a8fea9
Merge branch 'MX25LM51245G_QSPI_test_config' of git://github.com/LMESTM/mbed into dev_rollup
2019-08-28 18:37:17 +01:00
Laurent Meunier
1c291361ec
MX25LM51245G test config: explicitely remove unsupported commands
2019-08-23 14:47:21 +02:00
Laurent Meunier
4f22a10978
Add MX25LM51245G Serial Flash test config file
2019-08-22 15:15:53 +02:00
Laurent Meunier
ac085926dc
QSPI test: Add condition to multiple IO read support
...
For memories like MX25LM51245G that do not support dual or quad read (in
this case because it supports single and octo-IO modes)
2019-08-22 15:15:53 +02:00
Laurent Meunier
7dddf643ed
Add QSPIF test flash config for TARGET_DISCO_L4R9I
2019-08-22 15:10:19 +02:00
Martin Kojtal
398515a367
Merge pull request #11236 from hugueskamba/hk-iotcore-1315-remove-floating-point-ticker
...
Force inline Timer::attach() to get rid of floating-point instructions
2019-08-20 11:47:54 +02:00
Martin Kojtal
3b631fd752
Merge pull request #11172 from Tharazi97/Watchdog_fail
...
make watchdog kick reset test pass CI (LSI problem)
2019-08-20 09:42:24 +02:00
Hugues Kamba
3373d78ec8
Rename hal/rtc test callback to avoid overloading
2019-08-19 16:13:14 +01:00
Martin Kojtal
80556a01fd
Merge pull request #11167 from Tharazi97/Lp_ticker_tests
...
Fix lp ticker and common ticker tests
2019-08-13 11:10:10 +02:00
Martin Kojtal
69bfc3460b
Merge pull request #11157 from mprse/us_ticker_freq_fix
...
Relax us ticker frequency requirement + test update
2019-08-13 11:02:16 +02:00
int_szyk
da70c886c1
tweak watchdog kick reset test
...
Change the value of KICK_ADVANCE_MS so targets pass the test in worst cases
2019-08-13 08:16:24 +02:00
int_szyk
21590320a6
tweak overflow_protect() common_tickers()
2019-08-06 11:29:08 +02:00
George Psimenos
3b23edb78c
Fix CI for branch feature-public-headers ( #11093 )
...
* Fix rtos include path in NRFCordioHCIDriver
* Flatten USB driver directory structure
* Add missing include for us_ticker
* Add more missing includes for us_ticker
* Fix mbed_hal_fpga_ci_test_shield/uart test
* Fix bare-metal build
* Fix Watchdog UNITTEST
* Fix Mbed OS 2 build for Public/Internal headers relocating
2019-08-02 12:32:40 +01:00
Evelyne Donnaes
8013af2f1e
Fixing include files due to latest rebase
2019-08-02 12:23:47 +01:00
Przemyslaw Stekiel
6faf480aba
tests-mbed_hal-us_ticker: adapt to the new requirements (relax us ticker frequecy).
2019-08-02 13:23:32 +02:00
Seppo Takalo
818c1d6f0f
Merge pull request #11130 from Tharazi97/NotSupportedTest
...
Updated testcases
2019-08-02 13:27:54 +03:00
int_szyk
afddbbf2dc
tweaked overflow_protect() lp_ticker()
2019-08-02 10:42:12 +02:00
int_szyk
ae6f8be146
Newline at the end of files
2019-08-01 08:44:58 +02:00
int_szyk
17a4c1b2e9
Update main.cpp
2019-07-31 11:41:57 +02:00
int_szyk
8b68a1ea58
Updated testcases
2019-07-31 10:46:38 +02:00
Filip Jagodzinski
0e40e89b7f
Add a sanity check for the GPIO-IRQ pinmap
2019-07-25 10:56:04 +02:00
Seppo Takalo
3d5489a6f8
Merge pull request #10644 from fkjagodzinski/hal-gpio_pinmap
...
Add a gpio pinmap
2019-07-17 14:39:40 +03:00
Seppo Takalo
987533859a
Merge pull request #10104 from kjbracey-arm/sleep_api
...
Sleep rework, RTOS API for bare metal, wait deprecations
2019-07-17 14:37:53 +03:00
Kevin Bracey
a522dcfa0a
Replace deprecated wait calls
2019-07-15 10:13:50 +03:00
Chun-Chieh Li
81dd2aa787
Fix mbed_hal-watchdog failing with OOM
...
This is to fix OOM error on targets with just 16KiB RAM.
2019-07-10 14:32:03 +08:00
Martin Kojtal
ccb63d771e
Merge pull request #10857 from ARMmbed/feature-watchdog
...
Add Watchdog and ResetReason
2019-07-03 11:43:52 +01: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
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
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
Martin Kojtal
e40a76575f
watchdog: fix copyright
2019-06-26 09:43:21 +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
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
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
Anna Bridge
d8c17b5fab
Merge pull request #10536 from mprse/stm_lptim_issue
...
Changes required by the ST low power ticker wrapper.
2019-06-19 12:08:21 +01:00
Laurent Meunier
d6c3d79a9d
Increase DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US
...
now that sleep_manager_can_deep_sleep_test_check() is based on wait_ns
2019-06-19 11:00:33 +02:00
Przemyslaw Stekiel
d577e7f186
Further modifications in Sleep Manager test.
...
Changes:
- restore the original form of setup/teardown handlers,
- test_lock_unlock_test_check(): do not use common ticker layer (Timer, Timeout). Use only ticker HAL layer.
- Increase DEEP_SLEEP_TEST_CHECK_WAIT_DELTA_US delta.
2019-06-18 18:06:02 +02:00
Filip Jagodzinski
c5ad70c1e5
Tests: Watchdog: Update timing test
...
Skip test cases with unsupported timeout values.
2019-06-14 10:59:06 +02:00