Christopher Haster
39714f303d
lwip - Added parallel versions of the packet pressure tests
2016-12-19 12:05:43 -06:00
Christopher Haster
8e7a3c8b04
lwip - Added handling of packet loss to udp echo test
...
Before the test would only succeed if all packets (16) succeed. Updated
to succeed if 75% succed.
2016-12-19 12:05:43 -06:00
Christopher Haster
9df82e5811
lwip - Added parallel versions of the echo tests
...
Simply runs the echo tests with multiple sockets in parallel
2016-12-19 12:05:43 -06:00
Christopher Haster
5c51a3d5ba
lwip - Restructured pressure tests to use dynamic buffers and avoid floods
...
Dynamic buffers gives the network stack the maximum throughput while
still supporting smaller devices. This should expose the largest number
of issues across differently sized platforms.
Additionally, restructured the UDP tests to avoid unintentionally flooding
the recieving side with bad data after failed packets.
Also, added a bit more documentation
2016-12-19 12:05:43 -06:00
Christopher Haster
2295e40fc0
lwip - Reduced buffer used for packet-pressure tests
...
A larger buffer gives the network stack the best options for maximizing
throughput. However, the initial buffer size did not fit on small
targets. Resized 8192 -> 1024.
2016-12-19 12:05:43 -06:00
Christopher Haster
0d42ba6401
lwip - Added connectivity tests
...
Checks for connecting/disconnecting the network interface
2016-12-19 12:05:42 -06:00
Christopher Haster
938770e9ac
lwip - Added udp_dtls_handshake test
...
Added test for the pattern of packets used during the DTLS
handshake. This pattern (5x ~300 byte packets) has been very
problematic for new network interfaces.
2016-12-19 12:05:42 -06:00
Christopher Haster
fb00d20f56
lwip - Removed nist_internet_time_service test
...
- Unreliable service would occasionally lead to false-failures
- Redundant with hello world and echo tests
2016-12-19 12:05:42 -06:00
Christopher Haster
ad79c20c6a
lwip - Added packet pressure tests
...
Attempt to maximize the devices bandwidth with an exponentially growing
transaction of random sequences. Also prints the time taken and bandwidth
reached during the tests.
2016-12-19 12:05:42 -06:00
Anna Bridge
20eb127f80
Merge pull request #3460 from NXPmicro/I2C_UpdateReturnValue
...
KSDK I2C: Update the return value to match the API documentation change
2016-12-19 17:56:50 +00:00
Anna Bridge
1cc1891fac
Merge pull request #3450 from bridadan/fix_example_filtering
...
Correctly filtering examples in test script
2016-12-19 17:52:47 +00:00
Anna Bridge
f2ce7ebb99
Merge pull request #3442 from LMESTM/dev_stm_i2c_f1
...
Dev stm i2c f1
2016-12-19 17:51:58 +00:00
Anna Bridge
e182ff48b6
Merge pull request #3428 from LMESTM/fix_i2c_asynch_test_slave_addr
...
Change slave address in I2C master slave asynch test
2016-12-19 17:41:38 +00:00
Anna Bridge
9e03765d04
Merge pull request #3422 from szechyjs/disco_f303vc_can
...
Enable CAN on DISCO_F303VC
2016-12-19 17:37:48 +00:00
Anna Bridge
d1aa6eea52
Merge pull request #3410 from jeromecoutant/PR_ST_L4_ASSERT
...
STM32L4 : map ST HAL assert into MBED assert
2016-12-19 17:33:13 +00:00
Anna Bridge
3c84f49084
Merge pull request #3402 from geky/nsapi-fix-socket-close
...
nsapi - Fixed open/close issue in Socket
2016-12-19 17:25:09 +00:00
Anna Bridge
a915fa86e4
Merge pull request #3390 from jeromecoutant/PR_ST_F3_ASSERT
...
STM32F3 : map ST HAL assert into MBED assert
2016-12-19 17:24:26 +00:00
Anna Bridge
42389c1420
Merge pull request #3389 from jeromecoutant/PR_ST_F2_ASSERT
...
STM32F2 : map ST HAL assert into MBED assert
2016-12-19 17:23:37 +00:00
Anna Bridge
89190fd794
Merge pull request #3381 from jeromecoutant/PR_ST_F1_ASSERT
...
STM32F1 : map ST HAL assert into MBED assert
2016-12-19 17:22:54 +00:00
Anna Bridge
1219f8872d
Merge pull request #3430 from LMESTM/fix_ci_shield_eeprom_test
...
Fix ci shield eeprom test
2016-12-19 17:18:14 +00:00
Mahadevan Mahesh
8ec93ca4a4
KSDK I2C: Update the return value to match the API documentation change
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-16 13:16:03 -06:00
Michel Jaouen
71f570fbc7
USB_8 : audio loopback test at 16khz stereo 16bits
...
- Callback TX and RX interface is used.
2016-12-16 15:16:56 +01:00
Michel Jaouen
3a6a5ab858
USBAudio: tx/rx iso call back.
2016-12-16 15:16:55 +01:00
Hasnain Virk
35e4896ed3
[ONME-2844] Supporting non-blocking connect()
...
A few new error codes are added to nsapi_error_t and
support for non-blocking socket connect is added.
Nanostack's connect call will be non-blocking.
Whereas LWIP connect call is currently blocking, and it could be changed now
to be non-blocking.
2016-12-16 15:35:33 +02:00
Laurent MEUNIER
580d96431e
STM32 I2C manage STOP specific case
...
In case the user applicaiton makes a mixed usage of unitary function
(start, stop, byte write & read) with SYNC operation (write and read of
data buffers with start and stop management), we need to reset the
STM32 HAL state as it is by-passed by a direct call to STOP
2016-12-16 08:54:39 +01:00
Laurent MEUNIER
8406a99dc8
STM32 I2C: avoid timeout to be 0
...
In continuation of previous IsDeviceReady case, let's
add 1 in case length is 0 (even though not recommended)
2016-12-16 08:54:39 +01:00
Laurent MEUNIER
37c94a03f0
STM I2C: manage Is Device Ready case
...
Some device drivers use a data lenght of 0 to check if device is ready.
STM32 HAL provides a dedicated service for that, so let's use it.
2016-12-16 08:54:39 +01:00
Laurent MEUNIER
c0ca0a7e2c
STM I2C - move i2c_read in SYNC part
...
just change the place of code to have i2c_read and i2c_write together
2016-12-16 08:54:39 +01:00
ccli8
5fe22742f1
[NUC472/M453] Add target SPI pins into SPI SD test samples with Travis CI
2016-12-16 09:42:24 +08:00
Brian Daniels
134d7743c3
Correctly filtering examples in test script.
...
If an example's GitHub repository contains multiple child examples, the
script was incorrectly filtering out all the child examples when
compiling and exporting. This patch now handles this case correctly.
2016-12-15 14:16:12 -06:00
Anna Bridge
315d893e83
Update README.md to link to the set of release notes
...
Instead of referencing a specific release version here, thus negating the need to update this readme for every minor release.
2016-12-15 18:13:35 +00:00
Sam Grove
899c5422ac
Merge pull request #3436 from ARMmbed/net_echo_test_host_fix
...
Fix network echo test host scripts for Mac
2016-12-15 10:40:39 -06:00
Sam Grove
6b64dbc5fe
Merge pull request #3434 from OpenNuvoton/nuvoton
...
[NUC472/M453] Fix stuck in lp_ticker_init and other updates
2016-12-15 10:38:35 -06:00
Sam Grove
19acef97ee
Merge pull request #3429 from LMESTM/fix_stm_i2c_fix_init
...
Fix stm i2c fix init
2016-12-15 10:35:13 -06:00
Sam Grove
45fa92dcb3
Merge pull request #3427 from LMESTM/fix_stm_i2c_slave
...
Fix stm i2c slave
2016-12-15 10:33:06 -06:00
Sam Grove
cf75543cfa
Merge pull request #3424 from bcostm/fix_dma_f4
...
STM32F4 - FIX to add the update of hdma->State variable
2016-12-15 10:32:22 -06:00
Sam Grove
8966d1584b
Merge pull request #3415 from bridadan/fix_make_echo
...
[make exporters] Adding quotes to echo statements
2016-12-15 10:31:34 -06:00
Sam Grove
92f2c380c7
Merge pull request #3414 from bridadan/remove_unnecessary_includes_libs
...
Remove unnecessary absolute paths from IAR and ARM compilers
2016-12-15 10:30:59 -06:00
Sam Grove
6849fd9c06
Merge pull request #3413 from theotherjimmy/iar-def-typo
...
Deduplicate IAR exporter templates and enable a few more targets
2016-12-15 10:30:22 -06:00
Sam Grove
4524c5f917
Merge pull request #3411 from jeromecoutant/PR_ST_L0_ASSERT
...
STM32L0 : map ST HAL assert into MBED assert
2016-12-15 10:30:03 -06:00
Sam Grove
4c2b84a865
Merge pull request #3408 from jeromecoutant/PR_ST_F7_ASSERT
...
STM32F7 : map ST HAL assert into MBED assert
2016-12-15 10:29:34 -06:00
Sam Grove
ea555e68a1
Merge pull request #3393 from andreaslarssonublox/ublox_fix_isr_reg_reeval
...
ISR register never re-evaluated in HAL_DMA_PollForTransfer for STM32F4
2016-12-15 10:28:30 -06:00
Sam Grove
18f31b7c99
Merge pull request #3385 from theotherjimmy/remove-flags-args
...
Remove deprecated flags args
2016-12-15 10:25:38 -06:00
Sam Grove
0a40444b76
Merge pull request #3379 from jeromecoutant/PR_ST_F0_ASSERT
...
STM32F0 : map ST HAL assert into MBED assert
2016-12-15 10:25:09 -06:00
Sam Grove
38411e917f
Merge pull request #3366 from bcostm/dev_nucleo_f412zg
...
NUCLEO_F412ZG - Add new platform
2016-12-15 10:19:51 -06:00
Sam Grove
c60f134c0c
Merge pull request #3348 from TomoYamanaka/master
...
Fix frequency function of CAN driver.
2016-12-15 10:18:23 -06:00
Anna Bridge
ad8a77d1ae
Merge pull request #3368 from simonqhughes/master
...
CFSTORE fixes for building with DEBUG trace enabled
2016-12-15 10:53:18 +00:00
Bartek Szatkowski
b77f663520
Add defined port fallback for network echo tests
...
The 0 aka 'any' port doesn't for on Mac, but, only, using defined port
may interfere with running multiple tests on CI.
2016-12-15 09:27:02 +00:00
Bartek Szatkowski
859c160ddc
Fix network echo test host scripts for Mac
...
It seems that the 0 aka 'any port' doesn't work well on Mac, causing
[Errno 49] Can't assign requested address errors.
2016-12-15 09:27:02 +00:00
ccli8
fff8357c1e
[NUC472] Fix compile error with Travis CI
...
Use MBED_CONF_RTOS_PRESENT to filter out mbedtls alternative for mbed OS 2.
2016-12-15 11:43:43 +08:00