Commit Graph

9738 Commits (73955b678e59b9ebd23a9530c401f4db3a43b071)

Author SHA1 Message Date
Martin Kojtal 08509e75df Merge pull request #3339 from jamike/USBAudio_CB_RX_TX
USB audio callback  rx and tx
2016-12-21 14:58:52 +00:00
Martin Kojtal 92fbad7876 Merge pull request #3481 from AnotherButler/patch-8
Delete memap.md
2016-12-21 14:47:11 +00:00
Martin Kojtal d478bfb8b1 Merge pull request #3480 from AnotherButler/patch-7
Delete config_system.md
2016-12-21 14:46:42 +00:00
Martin Kojtal ac930630de Merge pull request #3479 from AnotherButler/patch-6
Delete Toolchain_Profiles.md
2016-12-21 14:46:12 +00:00
Martin Kojtal 2ee97e2d19 Merge pull request #3477 from AnotherButler/patch-4
Delete COMMITTERS.md
2016-12-21 14:45:31 +00:00
Martin Kojtal cccfdbdd8b Merge pull request #3478 from AnotherButler/patch-5
Delete TESTING.md
2016-12-21 14:43:06 +00:00
bcostm 30dddf115a Correct wrong alternate-function number for CAN PB_8/PB_9 pins and PWM PC_7 pin 2016-12-21 10:27:50 +01:00
Laurent MEUNIER 517d0d910a I2C test: add L073RZ 2016-12-21 09:28:56 +01:00
Laurent MEUNIER bcf82b0901 I2C test: master should send stop
it's master not slave that shall send STOP at the end of I2C transfer
2016-12-21 09:28:52 +01:00
Laurent MEUNIER d67b431f17 I2C test: let slave time to get notified
depending on timing and HW, there might be some delay before the master
request gets notified, so better loop in while than a single call
to slave.receive()
2016-12-21 09:28:45 +01:00
Laurent MEUNIER 70667349ee I2C test: change slave address
This avoids conflicts with slave on ci-test-shield
2016-12-21 09:28:39 +01:00
Laurent MEUNIER 20c9af8bec STM32: I2C unitary functions for IP V2
STM32 supported targets have 2 possible versions of I2C.
This patch makes the start / stop / read and write byte work ok for IP V2.
This was not working before and does not seem to be widely used.
2016-12-21 09:27:52 +01:00
Jimmy Brisson 18ad17666d Move clean functionality out of the export api
It was possible to remove an entire project if clean was specified on
the command line. That's a Bad Thing(tm).
2016-12-20 17:44:10 -06:00
Brian Daniels 3880e3a39d Limiting the thread stack for parallel threads test
Previously, the RTOS threads test was conditionally change the thread
stack size for all test cases based on the target. Now, it uses the
default stack size for all targets when threads are created serially,
and uses a 512 byte stack for the threads that are created in parallel.
2016-12-20 17:14:04 -06:00
Jimmy Brisson 63c650903c Improve error message when exporting for make without a linker script 2016-12-20 14:11:58 -06:00
Amanda Butler 535562827c Delete memap.md
Delete page because an exact duplicate exists in the Handbook
2016-12-20 12:10:13 -06:00
Amanda Butler 62515b4649 Delete config_system.md
Delete page because duplicate exists in Handbook
2016-12-20 11:51:13 -06:00
Amanda Butler 99d0ff1311 Delete Toolchain_Profiles.md
Delete page because duplicate exists in Handbook
2016-12-20 11:44:48 -06:00
Amanda Butler 5495318a58 Delete TESTING.md
Delete page because an exact duplicate exists in the Handbook
2016-12-20 11:41:09 -06:00
Amanda Butler 04126f7f95 Delete COMMITTERS.md
Delete page because an exact duplicate exists in the Handbook
2016-12-20 11:27:38 -06:00
Amanda Butler 702d8cf3c7 Delete BUILDING.md
Delete this page because an exact duplicate exists in the Handbook
2016-12-20 11:22:19 -06:00
Brian Daniels 19d56fd40f Removing default toolchain paths
This change was spurred by a confusing error. I attempted to compile for
the RZ_A1H (a Cortex-A device), and I had the standalone ARM compiler in
my system path, which supports Cortex-A. However, the default path for
the ARM compiler in settings.py uses a Keil installation, which only
supports Cortex-M. It found my Keil installation and used that instead.
This change proposes to remove this default behavior and instead
requires the user to explicitly set the intended compiler, either by a
settings file, mbed CLI, environment variables, or by placing the
compiler in your PATH.
2016-12-20 11:14:24 -06:00
Sarah Marsh ee7e21d722 Remove Thread::wait from thread example 2016-12-20 10:42:29 -06:00
Hasnain Virk fcd55fe65b [ONME-2844] Avoid option level collisions
To allow a network stack to support both NSAPI and its own options, try to make
sure the NSAPI levels don't collide with level numbers likely to be used by
network stacks.

Distinguish between socket and stack options, and tighten up documentation. Add
IP MRU stack options as an example (implementation not immediately planned for
any stack, but could be useful).
2016-12-20 14:03:23 +02:00
Michael Ammann b1a9e7b1c8 Target: Add new target UBLOX_EVK_NINA_B1
Based on nrf51 MCU.
2016-12-20 10:31:14 +00:00
tomoyuki yamanaka 623f8acdc4 [RZ/A1H]Fix TTB setting of RO_DATA area
I modified the TTB setting of RO_DATA area.
The current setting of this area is "not executable".
Therefore, when trying to execute a program placed in this area, a prefetch abort will occur.
So I changed from "Sect_Normal_RO" to "Sect_Normal_Cod".
2016-12-20 16:44:52 +09:00
Christopher Haster 51a093d6d8 lwip - Added windowing to tcp packet pressure tests
Despite being able to buffer an arbitrary stream of data,
TCP send is still limited by the available buffer space in the
network stack. Errors from TCP send are perfectly reasonable
and should be handled by reducing the buffer that is attempted.
2016-12-19 16:12:01 -06:00
Christopher Haster 2da71a7f87 lwip - Reduced size of buffers in echo-parallel tests
These tests could adopt the dynamically sized buffers used for the
packet-pressure tests, however throughput is not an important feature
of these tests.
2016-12-19 16:11:49 -06:00
sarahmarshy dd07d30c7e Remove invalid thread::start example
This changes reflects the correct syntax for spawning a thread that will execute a local function with given parameters.
2016-12-19 14:43:38 -06:00
Mahadevan Mahesh e5ba1d2b37 Rename KSDK2 to MCUXpresso. This is the new name of this package from NXP
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-19 14:20:25 -06:00
Christopher Haster 4551dfa667 lwip - Moved dropped packets into debug condition
Printing out dropped packets caused significantly more overhead in the
parallel tests due to increased noise on the network. This noise would
push the tests past their provided timeouts.
2016-12-19 12:05:43 -06:00
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