Commit Graph

1358 Commits (b9d824d67cb15cf43a205aa5c78336aaa2aaeecf)

Author SHA1 Message Date
Kyle Kearney a114cd30bc Restore old qspi_alt_size_t values as compatibility macros 2019-11-18 15:42:08 +00:00
Marcin Tomczyk 91806101c3 Disable emac multicast filtering for unimplemented/unsupported/unworking boards 2019-11-18 15:42:08 +00:00
Kimmo Vaisanen a0b33ee1a4 Cellular: Remove old deprecated tests
Cellular tests have been replaced with generic mbed-os netsocket and network interface tests.
2019-10-16 11:58:32 +01: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
Filip Jagodzinski d8b88dc5dd Tests: USB: Move control endpoint buffers to heap
This fixes the stack overflow error during the basic USB tests.

Update the ctrl_buf member of the USBTester and USBEndpointTester test
classes to be allocated on the heap. This saves 2 KB of a main stack.
2019-10-16 11:58:32 +01:00
Michal Paszta 39e17a111f Increase the timeout for DNS tests as their number increased 2019-10-16 11:58:32 +01:00
Michal Paszta 0039cfb743 Increase timeout in DNS_TIMEOUTS test for ESP8266
The test floods the device with UDP requests (it skips the 100 ms delay to simulate instant timeout). ESP8266 starts responding with "busy p..." message. It needs more time to process the data and recover for subsequent tests.
2019-10-16 11:58:32 +01:00
Qinghao Shi a7038fb818 TEST: change intefration fs test format and mount order 2019-10-16 11:53:52 +01:00
Filip Jagodzinski 12e5955771 Tests: USB: Remove outdated docs from basic test 2019-10-16 11:53:52 +01:00
Filip Jagodzinski 0f896fa97d Tests: USB: Update error formatting in basic test 2019-10-16 11:53:52 +01:00
Filip Jagodzinski 85c495f451 Tests: USB: Extract common code in basic test 2019-10-16 11:53:52 +01:00
Filip Jagodzinski 11dc3d2f78 Tests: USB: Distinguish failure/error in basic test 2019-10-16 11:53:52 +01:00
Filip Jagodzinski c9c7dbbaf0 Tests: USB: Clean up test failure output
Catch all pyusb errors and report failures to the device. Printing full
tracebacks was more confusing than useful.
2019-10-16 11:53:52 +01:00
Filip Jagodzinski e6363486dd Tests: USB: Fix Python 3 compatibility
Use integer division explicitly in basic test.
Convert bytes to str for Python 3 in serial test.
2019-10-16 11:53:52 +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
Filip Jagodzinski 2c2a91ce87 Tests: USBHID: Use libusb0 backend on Windows
libusb0 supports all features used for testing. A newer version
(libusb1) does not have a complete implementation for Windows.
2019-10-16 11:53:52 +01:00
Filip Jagodzinski 7aeb5c97dd Tests: USB: Use libusb0 backend on Windows
libusb0 supports all features used for testing. A newer version
(libusb1) does not have a complete implementation for Windows.
2019-10-16 11:53:52 +01:00
int_szyk bd756ab906 Tweak equeue chain tests
Changed the order of destroying queues because it is needed to destroy
queues in specified order when they are chained.
2019-10-16 11:53:52 +01:00
Hugues Kamba 3bf1979d74 minimal-printf: Add capability to run floating point tests manually 2019-10-16 11:53:52 +01:00
Michal Paszta 9f947e34c0 Fix compilation warnings from GCC 2019-10-16 11:53:52 +01:00
Marcin Tomczyk 227db159fa Add missing documentation about tls testing - review comments fixes 2019-10-16 11:53:52 +01:00
Amanda Butler a26835d9ac Edit README.md
Edit document.
2019-10-16 11:53:52 +01:00
Marcin Tomczyk 82cc1801d3 Add missing documentation about tls testing 2019-10-16 11:53:52 +01:00
Tymoteusz Bloch 5cce3afc1b DNS cache synchronous fix - Non zero TTL test server change 2019-10-16 11:53:52 +01:00
int_szyk 9c1d3978fb Change stack sizes.
Change stack sizes in test stats_cpu and mbedmicro-rtos-mbed-threads.
The value 384 was declared to make this test pass on STM32F070RB,
but its main stack value has been changed to 3KB so now it passes
this test with 512 stack size. The change was needed to make GR_LYCHEE
pass this test on ARM compiler.
2019-10-16 11:53:52 +01:00
Dustin Crossman 3ee36cb855 Fixed byte string related TypeError if using python3. 2019-10-16 11:53:52 +01:00
George Psimenos 7df8b58e27 Move source files and add Doxygen labels 2019-09-12 17:18:37 +01:00
Martin Kojtal e001216b55
Merge pull request #11315 from Patater/psa-crypto-api-1.0b3
Update Mbed OS for PSA Crypto API 1.0b3
2019-09-03 09:20:15 +02:00
Jaeden Amero 3d1b8363db Use PSA Crypto API 1.0b3
The PSA Crypto API has moved on from 1.0b2 to 1.0b3, bringing along with
it some breaking changes. Update Mbed OS to use the 1.0b3 API.
2019-09-02 17:10:59 +01:00
Martin Kojtal bdd6cb8dee
Merge pull request #11342 from maciejbocianski/event_queue_static_alloc
add queue static allocation support
2019-08-30 20:14:02 +02:00
Maciej Bocianski b45d6d6a76 queue test: add counter overflow protect
without this fix test_equeue_break_no_windup was failing on IAR
2019-08-30 14:04:43 +02:00
Maciej Bocianski 6440aea843 queue test: add user allocated events test 2019-08-30 14:04:42 +02:00
Maciej Bocianski e7e5cd2aa4 equeue tests: add user allocated events tests 2019-08-29 15:02:41 +02:00
Evelyne Donnaes d9f32639eb Changed minimal-printf to call fputc so that it does not bypass the retargetting code
Removed minimal-printf-console-output
2019-08-29 11:30:34 +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
Martin Kojtal d2c05915ac
Merge pull request #11276 from ARMmbed/sip-workshop
Add integration tests
2019-08-28 07:13:30 +02:00
Qinghao Shi 701e1a7589 Intefrations Tests: remove docs 2019-08-23 22:15:27 +01:00
Martin Kojtal f1a8eeca4d
Merge pull request #11289 from michalpasztamobica/unity_replace_macro
Replace TEST_ASSERT_INT_WITHIN usage in netsocket tests
2019-08-23 15:43:39 +02:00
Laurent Meunier 1c291361ec MX25LM51245G test config: explicitely remove unsupported commands 2019-08-23 14:47:21 +02:00
Martin Kojtal 48b5939b33
Merge pull request #11152 from OpenNuvoton/nuvoton_fpga-ci
Nuvoton: Fix FPGA CI test failing
2019-08-23 10:02:19 +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
Michal Paszta 05e94afca3 Replace TEST_ASSERT_INT_WITHIN usage in netsocket tests
IPCore's netsocket tests are expected to run all tests even if some of them fail. The TEST_ASSERT_INT_WITHIN macro sets a global variable Unity.CurrentTestFailed which prevents further checks and gives incorrect failure count. Other assertion macros in Unity do not do that.
2019-08-22 14:32:59 +03:00
Qinghao Shi 8d7c100fa1 fix docs issue 2019-08-22 10:17:52 +01:00
Martin Kojtal 5c09ff12ac
Merge pull request #11220 from jarvte/fix_cellular_dns_test
Fix cellular dns test with IAR compiled binary
2019-08-22 10:57:22 +02:00
Qinghao Shi e2a77a6a33 TEST: add integration tests for connectivity and storage 2019-08-21 15:09:29 +01:00
Martin Kojtal 590ce2c958
Merge pull request #11194 from dmaziec1/Wifi_test_connect_nonblock
Greentea testing wifi connect nonblocked
2019-08-21 16:00:58 +02:00