Commit Graph

1367 Commits (b0e9fd7438386ea40950a5b51dcde0aa066b52df)

Author SHA1 Message Date
Marcin Tomczyk a7054d7b93 UDPSOCKET_ECHOTEST change to tolerate duplicate packets 2019-11-18 15:42:08 +00:00
Jayasankar Nara c5fbea79cc Add API to get ipv6 link local address.
Protocols like mdns requires IPv6 link local address to be advertised in its
records (AAAA record). LWIP::Interface::bringup() API is creating IPv6 link
local address;But as of now there is no API exposed by mbed-os to get the
IPv6 link local address.

This new API is required to deliver mDNS library support on mbed-os for Cypress
platforms. Unit tested it by invoking get_ipv6_link_local_address with a simple
application.
2019-11-18 15:42:08 +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
Filip Jagodzinski f5481f0876 Test: Fix the reset_reason host test in the CI
Use a BaseHostTestAbstract.reset() method instead of
BaseHostTestAbstract.reset_dut() for more consistent behavior with
various platforms in the CI.

In contrast to a local setup, the reset_dut() method flashes the binary
again after performing the reset in a remote setup (RaaS). This was not
intentional in reset_reason tests. Moreover, this led to a different
behavior (a different reset_reason) for different flashing methods which
are target specific.
2019-11-18 15:42:08 +00:00
Mike Naberezny 268e956c30 FlashIAP: Get erase value from HAL instead of hardcoding it 2019-11-18 15:42:08 +00:00
Maciej Bocianski b4bddf67ed fpga i2c test: limit tested peripherals
Due to lack of i2c_free function switching between peripherals
cause i2c tests failures on some targets.
For now limit testing to single peripheral.
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
Hugues Kamba a77464d596 minimal-printf: Fix handling of the two character sequence %%
The two character sequence %% is used in standard implementations of
printf to print a single %. This is because % is essentially printf's
escape character for format specifiers and as \% cannot work printf
uses %%.
Therefore to be compatible with string buffers containing
%%, minimal-printf also needs to only print a single %.
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
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