Commit Graph

19411 Commits (1e625e2a54ba6f62f9ab50e3037354e32b51ce40)

Author SHA1 Message Date
Veijo Pesonen d07e3e7eda Increases stack size for threads used in gt netsocket tcp test cases
Stack size is insufficient for debug profile
Stack size is insufficient for NUCLEO_F401RE+IDW01M1
Please see https://github.com/ARMmbed/wifi-x-nucleo-idw01m1/issues/17
2018-10-08 15:18:50 +01:00
Veijo Pesonen 0531c6d110 Testing with ESP8266's AT firmware v1.7 takes more time 2018-10-08 15:18:50 +01:00
Veijo Pesonen a08a42cf27 Declares gt netsocket test case buffers as static
Original patch https://github.com/ARMmbed/wifi-x-nucleo-idw01m1/issues/17
2018-10-08 15:18:50 +01:00
adbridge e1e87dcf3f Update Manifest tool version
v1.4.5 -> v1.4.6
2018-10-08 15:18:50 +01:00
Mahesh Mahadevan 4a33a5f145 MIMXRT1050_EVK: Fix the PWM Hal driver
1. Add Pin defines for missing PWM pins
2. Update the hal to account for the number of PWM instances
3. Fix the register reload policy
4. Configure the XBAR to put the PWM fault inputs in inactive state

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-08 15:18:50 +01:00
Aashish chaddha ec18321551 skip the flashsim test if enough memory cannot be allocated for it. 2018-10-08 15:18:50 +01:00
Martin Kojtal 16b34ca82f travis: add license check for gnu library license 2018-10-08 15:18:50 +01:00
zzw 0c3ef4faf8 "gpio_api.c" update
1, "gpio_api.c" update. fix issues for compiling the mbed-cloud-client-example
2018-10-08 15:18:50 +01:00
zzw 50d73e59ef rtl8195am lib updates
1, rtl8195am lib updates. Preparation for the low power features.
2018-10-08 15:18:50 +01:00
Amir Cohen aa01c2ea75 Fix print error 2018-10-08 15:18:50 +01:00
Yossi Levy 59d258722a Adding complete buffer print in case of failure. 2018-10-08 15:18:50 +01:00
Amir Cohen 3ad5eca9df Fix trng_len loop 2018-10-08 15:18:50 +01:00
Amir Cohen b31b0fae29 Remove NVstore unused mechanism 2018-10-08 15:18:50 +01:00
David Saada e39e964e86 Fix TRNG test to use reset from python script and not from code 2018-10-08 15:18:50 +01:00
Amir Cohen 11cca7545a Fix messages 2018-10-08 15:18:50 +01:00
Amir Cohen df1c9b9d92 Fix pithy library 2018-10-08 15:18:50 +01:00
Amir Cohen 7140baecad Fix Compilation problems 2018-10-08 15:18:50 +01:00
Amir Cohen 9a4087ce52 Fix IAR issues 2018-10-08 15:18:50 +01:00
Amir Cohen 42d6d7dca0 Erase debug prints 2018-10-08 15:18:50 +01:00
Amir Cohen e9dc151bdd Reduce Debug prints 2018-10-08 15:18:50 +01:00
Amir Cohen 2c43d412b3 Fixing PR comments 2018-10-08 15:18:50 +01:00
Amir Cohen 91d0c1b1e3 Fix var declaration problem 2018-10-08 15:18:50 +01:00
Amir Cohen bced8d9dd9 Repalce compression libs for license issues 2018-10-08 15:18:50 +01:00
Amir Cohen 1aa1682d8c Fix lisence and style 2018-10-08 15:18:50 +01:00
Amir Cohen f8f67e29fc Add TRNG API test 2018-10-08 15:18:50 +01:00
Seppo Takalo 3664339c39 Use SocketAddr that actually has IP bytes in UDP test 2018-10-08 15:18:50 +01:00
Seppo Takalo 5b659c898b Fix TCPSocket::accept() unittest.
accept() is not anymore returning NULL pointer. It was a bug.
2018-10-08 15:18:50 +01:00
Michal Paszta 6c012fc476 unittests: Add tests for NetworkStack class.
Improved the stubs for event queue and nsapi_dns, to allow checking if callback are handled correctly. This involves some memory allocation and deallocation.
The NetworkStackWrapper is not covered as it seems to be deprecated code.
2018-10-08 15:18:50 +01:00
Michal Paszta 43ca738436 unittests: Add TCPServer unit tests
TCPServer class only really implements attach method.
2018-10-08 15:18:50 +01:00
Michal Paszta 54ee25cf1e unittests: Added NetworkInterface unit tests
Most functions are empty or simply return "UNSUPPORTED", but it is still worth covering this functions with unit tests to have better control of unwanted changes.
2018-10-08 15:18:50 +01:00
Michal Paszta 77fc6a0347 unittests: InternetSocket class coverage improved.
Added more tests, improved the existing ones. setblocking tests were not checking anything, so they were removed and these functions are called in TCPSocket tests instead.
2018-10-08 15:18:50 +01:00
Michal Paszta 46b529a1ea unittests: Check NULL pointer scenario in TCPSocket::recvfrom 2018-10-08 15:18:50 +01:00
Michal Paszta 2bbf033fe2 unittests: improved coverage for UDPSocket and TCPSocket
Add functional and line coverage for UDPSocket and TCPSocket. The EventFlagsstub and NetworkStackstub classes are allowed to store multiple return values to allow running internal loops multiple times.
2018-10-08 15:18:50 +01:00
Lari-Matias Orjala cb80c49f3a Unit tests: improve argument checking in coverage.py 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala 605a72cead add coverage filtering 2018-10-08 15:18:50 +01:00
ccli8 31236f11e3 Fix pin mode mapping between input pull mode/direction and I/O mode
1. Modify PinMode enum to fully support GPIO I/O modes.
2. Translate input pull mode/direction to I/O mode, where H/W doesn't support
   separate configuration for input pull mode/direction.
3. Allow for configuring I/O mode in addition to input pull mode.
2018-10-08 15:18:50 +01:00
Mirela Chirica 82ba6314dc Cellular: Fix cellular util unit test 2018-10-08 15:18:50 +01:00
Mirela Chirica 523edf0561 Cellular: Fix cellular network unit test 2018-10-08 15:18:50 +01:00
jeromecoutant 7fcf9cc45c SM32F3 correct analogin_read 2018-10-08 15:18:50 +01:00
Edd Inglis 366ad09e67 Changed the reported SNR from unsigned to signed. Internally and logically it is a signed value. 2018-10-08 15:18:50 +01:00
mattbrown015 2ca243d69d STM32: Disabling of IRQs shared by multiple events
Discern if an IRQ is being shared by multiple events and only disable the IRQ if no events are using it.
2018-10-08 15:18:50 +01:00
Mahesh Mahadevan 42e309e2c9 LPC1768: Enable RTC
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-08 15:18:50 +01:00
Przemyslaw Stekiel f9c91c1fd5 Fix for issue #8155 (NRF52832: time stops after 35 minutes)
Low power Timer is used as RTC for platforms that don't have HW RTC capabilities (like NRF52832).
`_rtc_lpticker_read(void)` function currently uses `Timer::read()` function to trace elapsed time.
`Timer::read()` returns seconds represented as `float` value, but this value is calculated from `int` since `Timer::read_us()` returns `int`.
This limits time tracing to ~35 min.
To fix this problem we will use `timer::read_high_resolution_us()` (which returns unsigned 64 bit value) instead of `Timer::read()`.
2018-10-08 15:18:50 +01:00
Steven e02872f4ea Apply @kjbracey-arm's comments 2018-10-08 15:18:50 +01:00
Steven cdadf637dc Word-sized input to GPCRC is only valid for 32-bit polynomial 2018-10-08 15:18:50 +01:00
paul-szczepanek-arm 38b0df0f79 fix whitelist generation (set correct address type) 2018-10-08 15:18:50 +01:00
ccli8 ad248ca8ac Fix STDIO_UART error 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala f681e54690 update UNITTESTS/README.md 2018-10-08 15:18:50 +01:00
David Saada 8f806f834e Handle NVStore tests in a low memory environment 2018-10-08 15:18:50 +01:00
Amanda Butler 665c98f522 Add GH link to README.md
Add link for contributing to docs, as well.
2018-10-08 15:18:50 +01:00