Martin Kojtal
1dbb478bbb
Merge pull request #10597 from LDong-Arm/systimer_lptimer
...
SysTimer should be buildable without lp ticker
2019-05-22 11:59:16 +01:00
Martin Kojtal
f859289634
Merge pull request #10489 from kjbracey-arm/gpio_api_nc
...
gpio_api.h: Clarify desired behaviour for NC
2019-05-21 14:36:49 +01:00
Lingkai Dong
9fc54c9774
systimer tests: do not require lp ticker
...
SysTimer can run on us ticker now. Only deep sleep test
strictly requires lp ticker and it already has build conditions
in place.
2019-05-16 17:04:22 +01:00
Martin Kojtal
3ea1c56124
Merge pull request #10147 from kjbracey-arm/atomic_bitwise
...
Assembler atomics
2019-05-13 14:18:05 +01:00
Martin Kojtal
548a40ee62
Merge pull request #10541 from guialonsoalb/master
...
Adding QSPI support to target RHOMBIO_L476DMW1K
2019-05-13 13:59:40 +01:00
Martin Kojtal
2239babf26
Merge pull request #10543 from mirelachirica/wise_1570_udp_echotest_non_recvtimeout
...
Cellular: Increase receiving timeout for UDP echo non-blocking test
2019-05-13 13:45:11 +01:00
Olli-Pekka Puolitaival
842d145d91
Py3 fixes for test scripts
2019-05-08 13:46:01 +03:00
Mirela Chirica
26facc7f9b
Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test
...
Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
2019-05-08 10:43:08 +03:00
Guillermo Alonso
70bc390410
added QSPI support to target RHOMBIO_L476DMW1K
2019-05-07 15:44:09 +02:00
Kevin Bracey
66f446b9a9
Add GPIO NC test
...
Check two items of defined behaviour - that you can initialise a
gpio_t with NC, and you can detect that state with gpio_is_connected().
2019-05-02 16:12:21 +03:00
Martin Kojtal
40f8cb95a8
Merge pull request #10435 from morser499/pr/cy-smif
...
Add support for QSPI to Cypress Boards
2019-05-02 13:41:56 +01:00
Ryan Morse
a8570ffe6c
Added support for QSPI to Cypress Boards
2019-05-01 07:09:58 -07:00
Alexander Zilberkant
117e3e82b6
Update PSA includes to autogenerated files
2019-04-30 14:41:09 +03:00
Alexander Zilberkant
ab01bea46d
Delete autogenerated files
2019-04-30 14:10:23 +03:00
Martin Kojtal
1de0712272
Merge pull request #9944 from deepikabhavnani/stm32_splitheap
...
GCC - Add support to split heap across 2-RAM banks
2019-04-30 11:02:51 +01:00
Anna Bridge
a5f1a125f1
Merge pull request #10426 from michalpasztamobica/udp_echo_error_handling
...
UDPSOCKET_ECHOTEST fails if a packet of every size was not sent
2019-04-26 13:33:25 +01:00
Kevin Bracey
4fe06e0949
Critical tests: use atomics
...
Get rid of a volatile, and use atomics to synchronise with the interrupt
routine instead.
Useful as a non-RTOS basic compilation check for the atomics - the
fuller atomic test relies on the RTOS.
2019-04-26 13:12:35 +03:00
Kevin Bracey
0fabf37564
Add some atomic tests
...
These are platform tests, but rely on the RTOS to run multiple threads
to exercise it.
(The atomics are still useful in non-RTOS, to protect against interrupt
handlers, but testing versus other threads is easier. The implementation
is the same either way, so doesn't seem worth testing non-RTOS
specifically).
2019-04-26 13:12:35 +03:00
Michal Paszta
d1017ea274
UDPSOCKET_ECHOTEST fails if a packet of any given size was not sent at least once
2019-04-18 11:38:11 +03:00
Martin Kojtal
ca887a9712
Merge pull request #10407 from kfnta/warn_fix
...
Fix warnings on PSA secure builds
2019-04-18 08:16:51 +01:00
Martin Kojtal
6b9d1573fb
Merge pull request #10096 from fkjagodzinski/test-usb-hid
...
Add USB HID tests
2019-04-17 14:06:51 +01:00
Oren Cohen
f51eb6215a
Fix warnings on PSA secure builds
2019-04-17 10:37:51 +03:00
Martin Kojtal
0b7d9af4dd
Merge pull request #10385 from michalpasztamobica/wifi_test_readme
...
README file for wifi tests gives configuration example
2019-04-16 09:10:26 +01:00
Martin Kojtal
79dddf84f0
Merge pull request #10381 from michalpasztamobica/echotests_loop_fix
...
ECHOTEST internal loop simplification and fix
2019-04-16 08:45:25 +01:00
Michal Paszta
631540a421
ECHOTEST internal loop simplification and fix
...
The loop was wrongly incrementing the index of the array after assiging
the value. Thus the first array element was used twice and the last one
was never user. The issue is fixed and the loops are refactored and
simplified to avoid such confusion in the future.
2019-04-15 11:54:03 +03:00
Michal Paszta
e87d0ce654
README file for wifi tests gives configuration example.
2019-04-12 11:36:28 +03:00
Tymoteusz Bloch
42b5680697
Multihoming fixed according to new LWIP implementation.
2019-04-11 20:54:48 -05:00
Cruz Monrreal
b1e48db242
Merge pull request #10225 from kjbracey-arm/memorypool_blocking_alloc
...
Mail/MemoryPool: blocking alloc
2019-04-11 20:21:44 -05:00
Deepika
56154c096d
Update the test case to check multiple bank heap regions
2019-04-09 12:08:49 -05:00
Filip Jagodzinski
852390fcdc
Tests: USBHID: Make report test optional on Linux
...
This test case uses `hidapi` -- a cross-platform Python module.
To keep the initial Mbed setup as simple as possible, the `hidapi`
module is skipped on Linux hosts because of its external dependancies
for this platform.
The module can be easily installed following instructions from the
README file.
The test case is skipped if the host machine lacks `hidapi` module.
2019-04-09 17:03:22 +02:00
Filip Jagodzinski
111f485cbe
Tests: USBHID: Remove unnecessary wait_ready call
...
Every test case waits at greentea_parse_kv() anyway.
2019-04-09 17:03:22 +02:00
Filip Jagodzinski
36eb700ede
Tests: USBHID: Handle variable driver setup time
...
Wait for the host driver to finish setup before sending any HID reports
from the device.
USBHID::wait_ready() blocks until the device reaches 'configured' state,
but the state of the host HID driver remains unknown to the device.
2019-04-09 17:03:22 +02:00
Filip Jagodzinski
4f880691fb
Tests: USBHID: Reuse VID & PID from basic test
...
To successfully use pyusb on Windows hosts, a Zadig configuration has to
be performed. Since config for basic tests has already been provided,
use it again.
2019-04-09 17:03:22 +02:00
Filip Jagodzinski
572beb6731
Tests: USBHID: Add tests
2019-04-09 17:03:21 +02:00
Martin Kojtal
af3a7656a4
Merge pull request #10330 from michalpasztamobica/greentea_test_fixes
...
Reduce greentea socket tests failures related to network issues
2019-04-09 11:03:33 +02:00
Michal Paszta
872edd4964
Relax TLSSOCKET_RECV_TIMEOUT sigio timeout
2019-04-08 12:56:41 +03:00
Michal Paszta
3505923d02
Test udpsocket_recv_timeout does not check packet reception ratio
2019-04-08 12:56:29 +03:00
Qinghao Shi
2603e295e8
FastModel: Skip low-power ticker time drifting test for models
...
FastModels are a software simulator for Arm platform/cores.
They mean to be used as a tool for testing or early prototype stage development.
Due to the nature of software simulator can't grantee the timing accuracy like HW.
So time drifting test is skipped for software models.
2019-04-03 16:51:02 +01:00
Anna Bridge
0f6a8357e7
Merge pull request #10037 from michalpasztamobica/tcp_skip_if_unsupported
...
TCP/TLS Socket tests will skip if TCP is not supported
2019-03-29 13:30:37 +00:00
Cruz Monrreal
8e819de43e
Merge pull request #10030 from jamesbeyond/fm_test
...
TESTS: skip timing accuracy test on FastModels
2019-03-28 17:58:51 -05:00
Cruz Monrreal
53920a62b7
Merge pull request #9904 from michalpasztamobica/greentea_packet_size_fix
...
Handle oversized packets in tcp and udp socket tests.
2019-03-28 17:01:52 -05:00
Michal Paszta
09183c94b9
TCP/TLS Socket tests will skip if TCP is not supported
2019-03-28 10:08:53 +02:00
Cruz Monrreal
1549c5c425
Merge pull request #10160 from itayzafrir/crypto-access-control-additional-tests
...
Crypto access control additional tests
2019-03-27 17:09:08 -05:00
Michal Paszta
266d4c43a2
Handle oversized packets in tcp, tls and udp socket tests
2019-03-27 11:01:16 +02:00
Cruz Monrreal
d26fe0fe55
Merge pull request #10184 from mirelachirica/wise_1570_udp_echotest_nonblocking
...
Cellular: Increase receiving timeout for UDP echo non-blocking test
2019-03-27 00:34:47 -05:00
itayzafrir
75e4210633
Fix typos
2019-03-26 15:27:22 +02:00
Kevin Bracey
b8d90fb1dc
MemoryPool: Add timeout and wake tests
2019-03-26 14:12:59 +02:00
Mirela Chirica
ec3c6f37f9
Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test
...
Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
2019-03-26 09:10:02 +02:00
Martin Kojtal
e7987a9f04
Merge pull request #10166 from cmonr/astyle-fix
...
Travis CI: Tweak astyle to not over-exclude files
2019-03-22 06:36:07 +01:00
Martin Kojtal
db8a018fec
Merge pull request #9959 from michalpasztamobica/refactor_socket_stats_usage
...
Refactor socket stats to reduce boiler plate
2019-03-21 10:46:15 +01:00