Commit Graph

1596 Commits (68f9196b44e2d3221b28316b48bb57a9d40f7207)

Author SHA1 Message Date
Chun-Chieh Li 68f9196b44 FPGA: Enlarge timeout with mbed_hal_fpga_ci_test_shield-i2c
Meet timeout error on some slow target. Enlarge the timeout configuration.
2020-02-10 17:39:54 +08:00
Martin Kojtal e3ad1cae55
Merge pull request #12334 from AriParkkila/cell-c030-r412m
Update cellular drivers/tests for UBLOX_C030_R412M
2020-02-05 12:50:11 +00:00
Martin Kojtal 5165559a2c
Merge pull request #12142 from kjbracey-arm/thread_rm510
Thread: remove methods deprecated in 5.10
2020-02-03 15:09:34 +00:00
Martin Kojtal f7c58221be
Merge pull request #12333 from tymoteuszblochmobica/udpfix
UDP echotests  fix  in case of no memory or device busy.
2020-02-03 12:35:58 +00:00
Kevin Bracey 268096dd79
Merge pull request #12296 from jeromecoutant/PR_FPGA_FORCE
FPGA_CI_TEST_SHIELD : force all peripheral to be tested
2020-01-31 15:00:20 +02:00
Kevin Bracey ba5dd4d8c1
Merge pull request #12153 from mprse/spi_fpga_test_extend
Hackathon: Increase coverage of the SPI master FPGA test
2020-01-31 15:00:02 +02:00
Kevin Bracey e01aeccc55
Merge pull request #12308 from michalpasztamobica/multihoming_tests_trace_header
Tests: add missing mbed_trace.h multihoming header
2020-01-31 14:59:35 +02:00
Tymoteusz Bloch a185d6c277 UDP echotests hold in case of no memory or device busy status.
This  gives possibility of freeing memory and mesh device recover from busy state.
2020-01-30 15:26:52 +01:00
Ari Parkkila 4da93bf979 Add UBLOX_C030_R412M in CellularInterface.json 2020-01-30 04:30:54 -08:00
jeromecoutant 84b48410f0 STM32: enable QSPI test with MX25LM51245G octo SPI 2020-01-29 16:18:38 +01:00
Ari Parkkila cd6d9e6e8c Enable SYNCHRONOUS_DNS_CACHE just for NSAPI_PPP_AVAILABLE 2020-01-29 03:19:21 -08:00
Ari Parkkila 72281a57b3 Fix UDPSOCKET_ECHOTEST to handle oversized packets 2020-01-29 03:06:55 -08:00
Przemyslaw Stekiel 4b6c844be9 Extend FPGA-Test-Shield SPI master test
Increase coverage of the SPI master FPGA test:
 - check supported frequencies (based on the device capabilities),
 - add support for manual CS handling and test cases,
 - add test cases for rx/tx buffers with different length (based on the device capabilities),
 - add test case for one symbol transmission,
 - add test cases for different symbol sizes (based on the device capabilities).
2020-01-29 08:23:49 +01:00
Tymoteusz Bloch 17c5f3ecd7 Greentea DNS tests workaround due to NSAPI DNS bug/deadlock with Nanostack.
Tests sequence swaped:
ASYNCHRONOUS_DNS_TIMEOUTS
ASYNCHRONOUS_DNS_INVALID_HOST
This is temporary solution to prevent Jenkins fail until root cause will be fixed.
2020-01-24 13:26:29 +01:00
Michal Paszta 39fd30e46f Tests: add missing mbed_trace.h multihoming header 2020-01-24 09:21:07 +02:00
Anna Bridge ee1d998d43
Merge pull request #12278 from rajkan01/feature_rename_default_lib
Rename "default_lib" to "c_lib".
2020-01-21 16:39:11 +00:00
Anna Bridge 40a0b28068
Merge pull request #12225 from evedon/ed-heap-stack-test
Fix baremetal heap and stack initialisation
2020-01-21 16:27:37 +00:00
jeromecoutant 0a1875924b FPGA_CI_TEST_SHIELD : force all peripheral to be tested 2020-01-21 17:17:55 +01:00
Anna Bridge 80fe861f1d
Merge pull request #12035 from kjbracey-arm/callback_prep
Preparation for Callback changes
2020-01-21 11:50:43 +00:00
Evelyne Donnaes 3e3af70afc Fixed baremetal heap and stack initialisation.
Enabled heap_and_stack test for baremetal.
Added a test to check that global variables are initialised.

In mbed_sdk_boot:
- Added initialisation for mbed_stack_isr_start/size and mbed_heap_start/size for all toolchains.
- ARM toolchain:
   - Added call to mbed_toolchain_init() to initialise global variables.
   - Moved microlib initialisation code from mbed_retarget.cpp to mbed_sdk_boot.c.
- IAR toolchain: there is no equivalent to a software init hook that can be called. __low_level_init() was used but since this function is called before RAM initialisation, it cannot be used to initialize global variables. Defined a new __mbed_init() function called from IAR startup file instead.
2020-01-21 10:13:16 +00:00
Rajkumar Kanagaraj 8a0fdd24d9 Rename "default_lib" to "c_lib". 2020-01-17 08:05:48 -08:00
Ari Parkkila 031d90a3ce Fix UDP socket test cases
Fix UDP socket test cases to check more strictly on failure,
and lower trace levels to not print errors on successful cases.
2020-01-17 01:24:51 -08:00
Martin Kojtal 31988d85fe
Merge pull request #12139 from fkjagodzinski/hal-reset_reason-get_capabilities
HAL: Add a get_capabilities() function to ResetReason API
2020-01-16 14:44:31 +00:00
Martin Kojtal 18c941cc84
Merge pull request #12207 from hugueskamba/hk-add-buffered_serial
Add BufferedSerial class to replace UARTSerial
2020-01-16 10:06:22 +00:00
Filip Jagodzinski e8bbbaf1fb Test: LP_Ticker: Increase the UART flush wait 2020-01-15 13:34:50 +01:00
Filip Jagodzinski fa7eb7d888 Test: Sleep: Increase the UART flush wait 2020-01-15 13:34:45 +01:00
Filip Jagodzinski 7f1ed02291 Test: ResetReason: Increase the UART flush wait 2020-01-15 13:34:42 +01:00
Filip Jagodzinski 7d575af4b9 Test: Watchdog: Increase the UART flush wait 2020-01-15 13:34:28 +01:00
Martin Kojtal 40b6f12dfd
Merge pull request #12239 from tymoteuszblochmobica/testfix
Fix DNS multiple query hints to perform both IP4 and IP6 tests
2020-01-15 13:02:43 +01:00
Martin Kojtal f4842c7c6d
Merge pull request #12157 from michalpasztamobica/esp8266_send_retry
ESP8266: Avoid duplicate data sends
2020-01-15 12:57:12 +01:00
Martin Kojtal 4922d10d9f
Merge pull request #11433 from fkjagodzinski/fpga-watchdog_timing
FPGA CI shield: Add a watchdog timing test
2020-01-15 12:56:23 +01:00
Hugues Kamba 18f677e91c Implement the BufferedSerial class to replace UARTSerial
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class.
2020-01-13 13:20:57 +00:00
Tymoteusz Bloch d30dba29ec Fix DNS multiple query hints to perform both IP4 and IP6 tests 2020-01-10 17:54:39 +01:00
Evelyne Donnaes 8a4bba33bd Fixed baremetal build failures 2020-01-10 13:20:59 +00:00
Kevin Bracey 33d9abe762 Merge callback tests 2020-01-09 14:52:50 +02:00
Martin Kojtal 8c4ed4a6cb
Merge pull request #11897 from kjbracey-arm/crc
MbedCRC: improve init value handling and tests
2020-01-09 13:31:30 +01:00
Martin Kojtal d7b7223bcd
Merge pull request #12218 from mprse/ticker_interrupt_test_fix
tests-mbed_hal-common_tickers: adapt ticker_interrupt_test() test case for high frequency tickers - WIP
2020-01-09 13:16:16 +01:00
Przemyslaw Stekiel db8e77672f tests-mbed_hal-common_tickers: adapt ticker_interrupt_test() test case for high frequency tickers
On some targets with very fast counters used for us ticker (e.g. 26 MHz) tested interrupt delays provided in the ticker_timeout array may be too short (execution of the set_interrupt() function takes longer than the tested delay).
We will skip tested ticker delay if the delay is less than assumed max set_interrupt() function execution time (20 us).
Also, the test array will be extended.
2020-01-09 08:32:30 +01:00
Kevin Bracey d23db1a1e4 Change signals test to test new methods 2020-01-08 16:47:18 +02:00
Kevin Bracey ccd2a32ad1 MbedCRC: improve default constructors
Original default constructor implementation wasn't quite working
properly; it didn't cope with the new "mode_limit" parameter.

Change mechanism so that this now works:

    MbedCRC<POLY32_BIT_ANSI_CRC, 32, CrcMode::TABLE> crc;
2020-01-08 13:36:17 +02:00
Kevin Bracey 83a9606140 CRC tests: increase parameter reflection coverage
CRC tests failed to exercise handling of the initial and final-xor
values with respect to reflection parameters. Add tests covering this.

Expected behaviour is that the initial value is always non-reflected and
the final-xor happens after the optional output reflection.
2020-01-08 13:36:17 +02:00
Kevin Bracey c46a2ad6ba MbedCRC HAL test: remove duplicates 2020-01-08 13:36:17 +02:00
Martin Kojtal fab9e3b6c7
Merge pull request #12176 from OpenNuvoton/nuvoton_usbd
Nuvoton: Support usbd
2020-01-07 16:38:39 +01:00
Martin Kojtal 3e790cc9ab
Merge pull request #12065 from AriParkkila/cell-fea-nidd
Non-IP socket implementation for NIDD over CP
2020-01-07 15:55:15 +01:00
Martin Kojtal 9d16a17e7e
Merge pull request #11653 from tymoteuszblochmobica/multiple
Add  Getaddrinfo interface for multiple DNS adresses
2020-01-07 14:53:36 +01:00
Martin Kojtal 39daa5fd77
Merge pull request #12109 from hugueskamba/hk-replace-rawserial-usage
Replace RawSerial as it has been deprecated
2020-01-07 12:59:57 +01:00
Ari Parkkila 4b3ef73333 Cellular: Fix astyle 2020-01-06 22:35:53 -08:00
Ari Parkkila 27024b34e3 Cellular: Add NIDD over CP socket tests 2020-01-06 22:35:18 -08:00
Hugues Kamba dbaeeaf758 Replace RawSerial instances as it has been deprecated 2020-01-06 15:48:49 +00:00
cyliangtw 2764f481dd NANO130 SRAM 16KB can't afford usb-msd test, to skip this test 2020-01-06 19:12:00 +08:00