Commit Graph

8707 Commits (b0153b7fc5aa9cf1f8ff901b6dc869470e56d67f)

Author SHA1 Message Date
andreas.larsson 4736cab543 Updated ublox ODIN-W2 binaries 2016-11-08 10:45:08 +00:00
Andreas Larsson 3fccdea27b Fixed dynamic message queue for scan results 2016-11-08 10:45:06 +00:00
Andreas Larsson d255de6d83 Added cbMAIN_dispatchEventQueue 2016-11-08 10:45:05 +00:00
andreas.larsson 9ddfed274f Added missing checks for wifi_link_out when allocating packets 2016-11-08 10:45:03 +00:00
andreas.larsson 2c1c84502a Added copying of the wifi_link_out buffer since the buffer might change after call chain has ended. 2016-11-08 10:45:02 +00:00
andreas.larsson 10cfea3bd8 Added emac_stack_mem_copy. Needed by the u-blox ODIN-W2 driver. 2016-11-08 10:45:01 +00:00
Christopher Haster a49783c34f nsapi - Adopted standardized return types in the Nanostack interfaces 2016-11-08 10:44:59 +00:00
Christopher Haster 33b600ef03 nsapi - Adopted standardized return types in the Odin wifi interface 2016-11-08 10:44:57 +00:00
Christopher Haster e769c79ccc nsapi - Adopted standardized return types in lwip 2016-11-08 10:44:56 +00:00
Christopher Haster 67dcb9fc4e nsapi - Added standardized return types for size and errors
nsapi_error_t         - enum of errors or 0 for NSAPI_ERROR_OK
nsapi_size_t          - unsigned size of data that could be sent
nsapi_size_or_error_t - either a non-negative size or negative error
2016-11-08 10:44:55 +00:00
Brian Daniels 868dcdc211 Using Popen for uvision and unifying the structure of the build function across exporters 2016-11-08 10:44:53 +00:00
Jimmy Brisson 8a379958e5 Force make exporter to search PATH for compilers 2016-11-08 10:44:52 +00:00
sarahmarshy 93e5e235b1 Directory traversal error
Change indentation level for directory traversal, so that we only move up at the end of exporting one project for all ide/target combinations.
2016-11-08 10:44:50 +00:00
Jimmy Brisson 8f138f6d16 Quote make invocation too 2016-11-08 10:44:49 +00:00
Jimmy Brisson 9ef6986ebe Quote the shell call in mkdir and rmdir
Allows the use of bash in windows
2016-11-08 10:44:48 +00:00
Jimmy Brisson 07cb26874c Use internal class variable for resolving templates in makefiles
This allows other exporters to inherit from make and change the name of
the exporter without breaking.
2016-11-08 10:44:47 +00:00
Mike Fiore 0058695e8f add back SPI3 pins that shouldn't have been removed 2016-11-08 10:44:45 +00:00
Sarah Marsh 9cf3c5688a Exporter documentation 2016-11-08 10:44:44 +00:00
cyliangtw f824231bce fixed misaligned lines in can_api.c of NUC472 & M453 2016-11-08 10:44:43 +00:00
cyliangtw 12f3cb8dae remove dead code in can_api.c of NUC472 & M453 2016-11-08 10:44:42 +00:00
cyliangtw a3698abee2 remove dead code in device.h of NUC472 & M453 2016-11-08 10:44:40 +00:00
cyliangtw 83d657b1da replace tab by 4 space char 2016-11-08 10:44:39 +00:00
cyliangtw b0df87c149 Fix SetBaudRate 5% inaccuracy issue 2016-11-08 10:44:38 +00:00
cyliangtw ad329f79b8 Support CAN 2016-11-08 10:44:36 +00:00
cyliangtw 6af9ee295f support NUC472 CAN 2016-11-08 10:44:34 +00:00
ccli8 c4f0ce24c5 Fix PWM1 clock source setting error 2016-11-08 10:44:33 +00:00
ccli8 06b7d5df39 Rename SD_0/SD_1 SD_0_0/SD_0_1 to match real SD H/W 2016-11-08 10:44:31 +00:00
Mahadevan Mahesh dc7f0200dc Update tests to fix build failures. Also make the code similar to other tests
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-08 10:44:30 +00:00
Janne Kiiskilä f3ec6355ca Remove the variable ret due to compiler warning: Compile [ 94.6%]: trng_api.c [Warning] trng_api.c@67,9: unused variable 'ret' [-Wunused-variable]
Github issue #3183
2016-11-08 10:44:29 +00:00
Ashok Rao 15f3d3ff86 Incorporating Brian Daniel's review comments for PR 3136 2016-11-08 10:44:28 +00:00
Marcelo Salazar 9b1c73522f Folder re-org to fit new MCU K22F variances
This is a simple re-structure of the K22F folder to allow other MCU
variances to land here.
Created the MCU_K22F512 device but left the 'K22F' as a target for
the FRDM-K22F board.

Rebased to master
2016-11-08 10:44:26 +00:00
Sarah Marsh 96259cdfb6 Add boolean 'export' to examples.json.
This will determine whether the example should be exported. Additionally,
relocated export logic to examples_lib.py.
2016-11-08 10:44:24 +00:00
Sarah Marsh 21ac2431b8 Build method documentation. Removal of unused Exception classes. 2016-11-08 10:44:23 +00:00
Sarah Marsh 718d0c0185 Make ArmPackManager cache a static variable (to avoid reading index.json for each target). 2016-11-08 10:44:22 +00:00
Sarah Marsh 5e4289aef0 changing variable names and respecting requirement kwargs 2016-11-08 10:44:21 +00:00
Sarah Marsh 027f2b23cc New export-build tests.
Allows command line workflow of:
mbed import
mbed export

Also revises exporter supported target checks
2016-11-08 10:44:19 +00:00
Brian Daniels fe029510c9 Adding check to Travis for exporter support matrix 2016-11-08 10:44:18 +00:00
Brian Daniels 21307015fc Fixing project.py -S printing problem
Printing too large of a string can fail in Windows, as detailed here:
https://bugs.python.org/issue11395. This works around the problem by
adding a print_large_string function that breaks up the string into
smaller pieces before printing it.
2016-11-08 10:44:17 +00:00
Kevin Bracey 24016a1262 nsapi_dns: Provide 2 IPv6-hosted default servers
Replace Comodo and OpenDNS IPv4 servers with Google and DNS.WATCH IPv6
servers, so IPv6-only devices (eg 6LoWPAN) have a default.

3 IPv4 resolvers should be plenty - existing code doesn't remember which
one last worked, so if early list entries were unreachable performance
would be consistently bad anyway. Replacing two entries avoids
increasing image size and RAM consumption.

On an IPv6-only or IPv4-only system, the sendto() for the wrong type of
address should fail immediately - change loop to move on to the next
server for any sendto() error.
2016-11-08 10:44:15 +00:00
Kevin Bracey df07f61f58 NanostackInterface: Remove string round-trips
Older versions of SocketAddress required conversion via string - this is
no longer the case.
2016-11-08 10:44:14 +00:00
Kevin Bracey cef0a8f561 NanostackInterface: Allow binding to address
These days Nanostack does let you bind to an address - permit this.
(Remembering to check it is an IPv6 address).
2016-11-08 10:44:13 +00:00
Kevin Bracey 6582aa4e2a NanostackInterface: Check input address is IPv6
For the two calls that use the address - sendto and connect, check that it
actually is an IPv6 address.
2016-11-08 10:44:12 +00:00
Mahadevan Mahesh c1403a9b78 Add support for FRDM-K82F
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-11-08 10:44:10 +00:00
Jeremy Brodt 8e9e595ded Removed progen from target configuration. 2016-11-08 10:44:09 +00:00
Jeremy Brodt 9363f2bb00 Add wait for serial characters to transmit before deleting serial object. 2016-11-08 10:44:07 +00:00
Jeremy Brodt 5d9df77d6e Prevent serial activity if tx/rx pin is NC. 2016-11-08 10:44:06 +00:00
Jeremy Brodt 8d9174e9e5 Adding new Maxim Integrated target. 2016-11-08 10:44:05 +00:00
Jeremy Brodt 7f4986f4cd Adding new Maxim Integrated target. 2016-11-08 10:44:04 +00:00
Colin Hogben d484d573ab lwip: Expose principal socket limits as configuration parameters.
Allow the limits on numbers of sockets to be changed via the
configuration system.  The help texts show the RAM penalty from
increasing each value.
2016-11-08 10:44:02 +00:00
Colin Hogben 3eefc86cce lwip: Annotate with memory used by config parameters 2016-11-08 10:44:01 +00:00