Amir Cohen
6d8dab8e74
Fix trng_len loop
2018-09-05 17:36:55 +03:00
Amir Cohen
780d9c6dbf
Remove NVstore unused mechanism
2018-09-05 17:36:54 +03:00
David Saada
b2b14ca26f
Fix TRNG test to use reset from python script and not from code
2018-09-05 17:36:53 +03:00
Amir Cohen
9b0b63169c
Fix messages
2018-09-05 17:36:51 +03:00
Amir Cohen
11f1aaf978
Fix pithy library
2018-09-05 17:36:50 +03:00
Amir Cohen
5f7a6401b8
Fix Compilation problems
2018-09-05 17:36:49 +03:00
Amir Cohen
5256e963f0
Fix IAR issues
2018-09-05 17:36:48 +03:00
Amir Cohen
225a3bfb90
Erase debug prints
2018-09-05 17:36:47 +03:00
Amir Cohen
1f4405c644
Reduce Debug prints
2018-09-05 17:36:45 +03:00
Amir Cohen
1466518644
Fixing PR comments
2018-09-05 17:36:44 +03:00
Amir Cohen
abe2b00fac
Fix var declaration problem
2018-09-05 17:36:43 +03:00
Amir Cohen
6dadbd897a
Repalce compression libs for license issues
2018-09-05 17:36:42 +03:00
Amir Cohen
4d1d1a0313
Fix lisence and style
2018-09-05 17:36:40 +03:00
Amir Cohen
669b618ea1
Add TRNG API test
2018-09-05 17:36:39 +03:00
Anna Bridge
c2fdc0d972
Merge pull request #7423 from mprse/mutex_lock_assert
...
Fix issue #6872 - Mutex lock has possibility to fail at runtime (returning status flag)
2018-09-03 14:14:24 +01:00
Ron Eldor
5817d71ad8
Change mbedtls_platform_context parameter to NULL
...
Change the parameter being sent to `mbedtls_platform_setup()` and
`mbedtls_platfrm_teardown()` to NULL, as it is now being unused
in Mbed OS.
2018-09-03 08:38:57 +03:00
Cruz Monrreal
48232be98e
Merge pull request #7872 from kjbracey-arm/thisthread
...
Add ThisThread namespace and deprecate static Thread methods
2018-09-02 15:10:18 -05:00
Cruz Monrreal
f82feecc51
Merge pull request #7822 from donatieng/nfc-impl
...
Add initial NFC support to Mbed OS
2018-08-31 19:01:25 -05:00
Cruz Monrreal
00b7700be2
Merge pull request #7875 from c1728p9/feature_CMSIS_5_0b521765
...
Update CMSIS to 5.4.0
2018-08-31 11:31:37 -05:00
Jarno Lamsa
bc2166e62d
Temporarily move SYNCHRONOUS_DNS_CACHE test to extended set until issues fixed with it
2018-08-31 16:12:51 +03:00
Maciej Bocianski
cffd581308
qspi_hal_test - adjust used memory sector count
...
set flash sector count to 1024 for EFM32GG11_STK3701(MX25R3235F)
set flash sector count to 2048 for NRF52840_DK(MX25R6435F)
2018-08-31 11:27:42 +02:00
Maciej Bocianski
3a64383de5
fix qspi address sending for nrf52
...
fix address sending in qspi_command_transfer
now address is send MSB first
2018-08-31 10:48:37 +02:00
paul-szczepanek-arm
be5527bca4
fix gt test
2018-08-30 08:37:00 +01:00
Maciej Bocianski
c836b79e37
qspi_hal_test - remove unused variables
2018-08-30 07:39:41 +02:00
Cruz Monrreal
1e3e69463f
Merge pull request #7781 from deepikabhavnani/crc_safety
...
Add thread safety to CRC class
2018-08-29 15:42:23 -05:00
Donatien Garnier
bfd433984f
Re-run astyle
2018-08-29 16:59:45 +01:00
Maciej Bocianski
b41ce6c090
qspi_hal_test - randomize flash RW addres
...
randomize flash address during test to extend flash life
2018-08-29 17:10:29 +02:00
Maciej Bocianski
82c81900bf
qspi_hal_test add DPI and QPI support
2018-08-29 17:10:00 +02:00
Cruz Monrreal
7d871bfff5
Merge pull request #7879 from jarlamsa/synchronous_dns_tests
...
Add tests for synchronous dns
2018-08-29 09:38:41 -05:00
Qinghao Shi
b98bd91a98
increase timeout for rtostimer test to 10s
2018-08-29 13:07:42 +01:00
paul-szczepanek-arm
57b6cca240
fixed define name for test
2018-08-29 10:48:41 +01:00
Maciej Bocianski
db8cee04fc
qspi_hal_test refactoring
...
- code refactoring and preparation for enabling DPI/QPI tests
- reduced multiple test count to 4
- use common flash config header for all MX25RXX35F chips
- fix sector erase max time on N25Q128A
2018-08-29 09:32:50 +02:00
Martin Kojtal
32445ae326
Merge pull request #7880 from juhaylinen/fix-greentea-emac-timeout
...
Update Greentea EMAC tests
2018-08-28 14:38:08 +02:00
Kevin Bracey
1330eeecd0
Add ThisThread
2018-08-28 13:25:17 +03:00
paul-szczepanek-arm
17b5e2ef3e
require EEPROM define to eclude from CI builds
2018-08-28 09:59:15 +01:00
paul-szczepanek-arm
5513d29da6
simplify command to function call translation
2018-08-28 09:59:14 +01:00
paul-szczepanek-arm
21c5132482
added test for writing and reading outside set size
2018-08-28 09:59:14 +01:00
paul-szczepanek-arm
8cfe61d949
added check for running out of steps
2018-08-28 09:59:13 +01:00
paul-szczepanek-arm
f548de17ea
check size was set
2018-08-28 09:59:13 +01:00
paul-szczepanek-arm
1e01fedadd
nfc eeprom driver green tea test
2018-08-28 09:59:13 +01:00
Cruz Monrreal
91354184dc
Merge pull request #7825 from SiliconLabs/siliconlabs-qspi
...
Silicon Labs QSPI HAL implementation
2018-08-27 13:51:38 -05:00
Cruz Monrreal
1b051c7687
Merge pull request #7402 from kegilbert/mem-tracing-config-patch
...
Replace mbed_mem_tracing_enabled macro with config option
2018-08-27 10:34:24 -05:00
Amanda Butler
940c4b891d
Copy edit requested section of README.md
...
Copy edit for active voice, inclusion of articles and U.S. spelling.
2018-08-27 10:18:36 -05:00
Deepika
4e263b17b9
Refactor circular buffer test to platform folder
2018-08-27 09:33:07 -05:00
Jarno Lamsa
0c758b9ee1
Add tests for synchronous dns
2018-08-27 15:05:41 +03:00
Martin Kojtal
a24cecfc94
Merge pull request #7805 from jamesbeyond/fm_test
...
Skip Greentea tests for Mbed OS code coverage on Fast Models
2018-08-27 10:39:43 +02:00
Martin Kojtal
ce28c91405
Merge pull request #7534 from bentcooke/mote_L152_en_os5
...
enable MOTE_L152 for OS5
2018-08-27 10:27:36 +02:00
Steven
845a5beb30
Initial commit of Silicon Labs QSPI HAL implementation
...
* For EFM32GG11, since that is the only Silicon Labs target with QSPI per today
* Verified working using the on-board flash and tests-mbed_hal-qspi
2018-08-27 10:03:08 +02:00
Przemyslaw Stekiel
6a5062c5e3
Adapt `tests-mbedmicro-rtos-mbed-mutex` test - use new void unlock(void) function
2018-08-27 08:50:00 +02:00
Przemyslaw Stekiel
f65bba9a23
Adapt `tests-mbedmicro-rtos-mbed-mutex` test - use new lock(void) function instead of deprecated one.
2018-08-27 08:48:59 +02:00
Russ Butler
c3f5b64b79
Remove double free RTOS tests
...
Remove the double free RTOS tests since this was never defined
behavior of CMSIS-RTOS. This allows testing to pass.
The RTX commit which caused this test to start failing is:
c3b123ef4256f65537e2597af475fc20ec9a383e
RTX5: updated MemoryPoolFree (removed count check) [SDCMSIS-801]
Note - Double freeing an element from a memory pool was never safe.
The error return value when double freeing was misleading since memory
corruption may still be occurring in that case. For more information
on this see SDCMSIS-801.
2018-08-26 12:54:32 -05:00
Cruz Monrreal
5ffcc01be1
Merge pull request #7812 from mikaleppanen/greentea_def_interf
...
Update greentea tests to use default interface
2018-08-24 19:31:00 -05:00
Maciej Bocianski
9a41043c0b
adjust hal QSPI test to new pin names
2018-08-24 12:40:59 +02:00
Mika Leppänen
fef021810e
Added greentea tests for network interface status and connect/disconnect
...
Added tests:
NETWORKINTERFACE_STATUS
NETWORKINTERFACE_STATUS_NONBLOCK
NETWORKINTERFACE_STATUS_GET
NETWORKINTERFACE_CONN_DISC_REPEAT
2018-08-24 13:21:48 +03:00
Juha Ylinen
4a66eb6bb1
Update Greentea EMAC tests
...
Increase timeout for EMAC tests. Old timeout (600 seconds) was not
enough for slower devices to complete the tests.
Check that connection was successful when running test case
emac_test_initialize.
2018-08-24 12:55:04 +03:00
Martin Kojtal
812c6d5c88
Merge pull request #7783 from maciejbocianski/feature-qspi_merging
...
merge QSPI feature branch
2018-08-24 10:50:18 +02:00
Qinghao Shi
c9ac4868ac
move test skipping macro for FastModels to top of the test
2018-08-23 22:30:55 +01:00
Cruz Monrreal
deb905da1d
Merge pull request #7815 from donatieng/shared_ptr
...
Re-add Shared Pointer Class into platform features
2018-08-23 10:09:02 -05:00
Cruz Monrreal
e530939f47
Merge pull request #7744 from davidsaada/david_threads_test_fix
...
RTOS threads test: Handle out of memory cases
2018-08-23 10:08:39 -05:00
Ben Cooke
42a49a5022
Increase max func exec time to allow slower sys clock
2018-08-22 11:49:26 -05:00
Qinghao Shi
0ad1934f32
move test skipping macro to case array section
2018-08-22 17:48:03 +01:00
Maciej Bocianski
883ea2f1d1
astyle fixes on QSPI API/driver/tests
2018-08-22 15:02:15 +02:00
Maciej Bocianski
c94f22c7ad
mbed_hal-qspi test code refactoring after PR 7783 review
...
- refactoring of status/config register logging code,
- make QspiCommand a class,
2018-08-22 15:02:14 +02:00
Maciej Bocianski
e6923342ef
hal-qspi test: add F413ZH support
2018-08-22 15:02:12 +02:00
Maciej Bocianski
948d1a3013
hal-qspi test: code refactoring
2018-08-22 15:02:12 +02:00
Maciej Bocianski
893cf2a5f5
hal-qspi_test: remove STM workaround
...
after feature-qspi branch rebase, everything works fine and workaround is not needed anymore
2018-08-22 15:02:10 +02:00
Maciej Bocianski
e5e05df66c
hal-qspi test: fix QSPI preprocessor guard
2018-08-22 15:02:07 +02:00
Maciej Bocianski
de46a547fa
hal-qspi test refactoring
...
Main idea of introduced changes is to ease adding support for new flash chips
Major changes:
- move implementation of all memory chip specific functions to memory config file (no weak functions)
- add support for 1-2-2 write
2018-08-22 15:02:06 +02:00
Maciej Bocianski
443273785f
add hal-qspi test
2018-08-22 15:02:06 +02:00
deepikabhavnani
986411ccb0
Add thread safety to CRC class
...
Thread safety is added to serialize the hardware CRC and will not
impact the software CRC.
2018-08-21 15:26:05 -05:00
Cruz Monrreal
e02466a77a
Merge pull request #7524 from c1728p9/tickless_fix
...
Fixes for tickless and LPTICKER_DELAY_TICKS
2018-08-21 10:03:41 -05:00
Cruz Monrreal
c10ad7f544
Merge pull request #7212 from davidsaada/david_flashiap_test_small_flash
...
FlashIAP & NVStore tests: Skip test if overwriting code in flash
2018-08-21 09:41:51 -05:00
Mika Leppänen
93eb0c2872
Fixed emac test function parameter errors
2018-08-21 10:55:49 +03:00
Mika Leppänen
06302cb10e
Set greentea wifi tests to set channel back to any after channel tests
2018-08-21 10:55:49 +03:00
Mika Leppänen
970a21fa9a
Updated greentea Wifi tests to use default interface
2018-08-21 10:55:49 +03:00
Mika Leppänen
3c03feff08
Updated greentea UDP tests to use default interface
2018-08-21 10:55:49 +03:00
Mika Leppänen
3f47963aff
Updated greentea TCP tests to use default interface
2018-08-21 10:55:49 +03:00
Mika Leppänen
aa80d6d14b
Updated greentea DNS tests to use default interface
2018-08-21 10:55:49 +03:00
Mika Leppänen
5fa2edc73f
Updated greentea EMAC tests to use default interface
2018-08-21 10:55:49 +03:00
Donatien Garnier
3c599feee7
Add Greentea tests for shared pointer
2018-08-20 18:49:26 +01:00
Russ Butler
00b8e24446
Fix rollover handling in ticker frequency test
...
To handle timer rollovers the test tests-mbed_hal-common_tickers_freq
calls intf->set_interrupt(0). For this to work correctly the ticker
implementation must fire an interrupt on every rollover event though
intf->set_interrupt(0) was called only once. Whether an interrupt will
fire only once or multiple times is undefined behavior which
cannot be relied upon.
To avoid this undefined behavior this patch continually schedules an
interrupt and performs overflow detection on every read. This also
removes the possibility of race conditions due to overflowCounter
incrementing at the wrong time.
2018-08-17 11:59:01 -05:00
Russ Butler
f68958df4e
Fix tests to work with LPTICKER_DELAY_TICKS
...
Fix the HAL common_tickers and sleep tests so they work correctly when
the define LPTICKER_DELAY_TICKS is set.
2018-08-17 11:58:55 -05:00
Qinghao Shi
3c302d9d9b
Increase the thread stack size on FastModel targets
...
The thread stack size was restricted due to some boards have really limited RAM sizes,
and out of heap memory on multiple threads tests.
The side effect was on the debug profile build, the tests will get stack overflow.
We need the build the test with debug profile in order to do the code coverage analysis.
So increased the thread stack size on FastModel targets.
2018-08-17 17:46:29 +01:00
Qinghao Shi
891c4ed244
Skip time drifting test on FastModels targets
...
FastModels targets are simulator running on the x86 hosts.
As the nature of non-RealTime x86 OS and FastModels, timing accuracy is not guaranteed
So skipping the time drifting tests on FastModel targets
2018-08-17 17:46:28 +01:00
Russ Butler
472ababfef
Update deep sleep lock check in tests
...
When the define LPTICKER_DELAY_TICKS is set deep sleep can be randomly
disallowed when using the low power ticker. This is because a Timer
object, which locks deep sleep, is used to protect from back-to-back
writes to lp tickers which can't support that. This causes tests which
assert that deep sleep is allowed to intermittently fail.
To fix this intermittent failure this patch adds the function
sleep_manager_can_deep_sleep_test_check() which checks if deep sleep
is allowed over a duration. It updates all the tests to use
sleep_manager_can_deep_sleep_test_check() rather
than sleep_manager_can_deep_sleep() so the tests work even if deep
sleep is spuriously blocked.
2018-08-17 09:29:41 -05:00
Russ Butler
1bbf43ad38
Add test for ticker suspend and resume
...
Unit test the functions ticker_suspend and ticker_resume.
2018-08-17 09:29:40 -05:00
Cruz Monrreal
3c25b96441
Merge pull request #7786 from mikaleppanen/dns_repeat_to_ext
...
Moved ASYNCHRONOUS_DNS_SIMULTANEOUS_REPEAT under mbed extended tests
2018-08-16 17:57:36 -05:00
David Saada
876b5f755b
FlashIAP & NVStore tests: Skip test if overwriting code in flash.
2018-08-16 21:59:45 +03:00
Cruz Monrreal
3795d394e5
Merge pull request #7741 from mprse/disable_ticker_free_tests
...
tests-mbed_hal-common_tickers: disable ticker free test cases.
2018-08-16 09:07:09 -05:00
Seppo Takalo
0bb791ed0d
Add Socket test plan
...
I'm submitting a test plan for Mbed OS sockets, so that we have
reference that describes wanted behaviour, required test environment,
and priorities of test cases.
This servers as a both documentation and specification. It needs to live
with source code, as opposed to Handbook, because it will be extend, modified
and fixed for faster cycle than what should be done for Handbook.
Part of this document (How to run -section) will be submitted to Handbook
with links to this.
2018-08-16 13:13:47 +03:00
Nir Sonnenschein
2b8eb5ec0e
Merge pull request #7752 from maciejbocianski/timer_test_fix
...
tests-mbed_drivers-timer: change delay method
2018-08-14 19:42:43 +03:00
Mika Leppänen
199244cf9c
Moved ASYNCHRONOUS_DNS_SIMULTANEOUS_REPEAT under mbed extended tests
...
Test is giving problems in some networks. Could be that DNS server
is regarding repeated DNS enquiries on the test to be caused by
malfunctioning device.
2018-08-14 10:21:48 +03:00
Maciej Bocianski
efe9e44208
tests-mbed_drivers-timer: change delay method
2018-08-10 09:52:07 +02:00
David Saada
75bc3d36cc
RTOS threads test: Handle out of memory cases
2018-08-09 17:32:48 +03:00
Przemyslaw Stekiel
20f3d87283
tests-mbed_hal-common_tickers: disable ticker free test cases.
...
This is solution to issue #7724 .
Ticker free tests have been removed since ticker free function has been implemented only for CI boards.
Implementation for the remaining platforms will be done on feature branch feature-hal-ticker-free.
2018-08-09 14:27:05 +02:00
jeromecoutant
f532159b61
Timeout tests : unstable result
...
RTX waits, such as sem.wait(N), delays for between N-1 and N cycles.
As lp_ticker is not so accurate as us_ticker,
sometines, wait is expiring just before the lp_timeout.
2018-08-09 10:13:17 +02:00
kegilbert
9b53d1256f
Replace mbed_mem_tracing_enabled macro with config option
2018-08-06 13:44:12 -05:00
Martin Kojtal
5f3923250c
crc test: manual fix cases
...
Leave as it is for readability
2018-08-03 11:24:31 +01:00
Martin Kojtal
e52bb68f93
tests: astyle fix
...
All tests should comply to our coding standard now
2018-08-03 10:23:38 +01:00
Cruz Monrreal
8f7024a226
Merge pull request #7383 from davidsaada/david_flashiap_timing_test
...
FlashIAP: Add timing test
2018-08-02 23:08:54 -05:00