Commit Graph

8819 Commits (8482aafa2aba3817e47379796b71c7b446a9c093)

Author SHA1 Message Date
Sam Grove 53b31318d0 Merge pull request #3165 from kjbracey-arm/ns_ipv6_checks
Add address type checks to NanostackInterface
2016-11-03 02:16:42 -05:00
Sam Grove ee992b0a7a Merge pull request #3151 from NXPmicro/Add_K82_Support
Add support for FRDM-K82F
2016-11-03 02:16:08 -05:00
Sam Grove 6712ed1b71 Merge pull request #3099 from maximmbed/max32625
MAX32625
2016-11-03 02:15:43 -05:00
Sam Grove 8b05a2a02b Merge pull request #3078 from infinnovation/lwip-config
lwip: Allow several configuration macros to be set externally (bis)
2016-11-03 02:15:10 -05:00
Sam Grove 6d250a98c3 Merge pull request #2969 from nvlsianpu/nrf52_fix_app_priorities
[nRF52] - switch irq priorities of driver handlers to the lowest level
2016-11-03 02:11:58 -05:00
Sam Grove 4e1aea4fc9 Merge pull request #2958 from bridadan/mbed-app-config-testing
Allowing mbed_app.json files to be discovered for tests.
2016-11-03 02:11:38 -05:00
Jimmy Brisson 79bccc14a2 Force make exporter to search PATH for compilers 2016-11-02 17:16:35 -05:00
Christopher Haster 00458c391c nsapi - Adopted standardized return types in the Nanostack interfaces 2016-11-02 15:55:42 -05:00
Jimmy Brisson c2470e9710 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-02 15:42:30 -05:00
Christopher Haster b045c8ba00 nsapi - Adopted standardized return types in the Odin wifi interface 2016-11-02 15:37:34 -05:00
Christopher Haster 78b9357c80 nsapi - Adopted standardized return types in lwip 2016-11-02 15:25:22 -05:00
Christopher Haster ba748ac1f8 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-02 15:25:22 -05:00
Mike Fiore 6cddb4df8b [MTS_MDOT_F411RE] add back SPI3 pins that shouldn't have been removed 2016-11-02 13:41:04 -05:00
Mahadevan Mahesh ac9668a498 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-02 11:45:14 -05:00
Sarah Marsh 9624ccf2d5 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-02 10:30:10 -05:00
Jeremy Brodt 213a0891dd [MAX32625] Removed progen from target configuration. 2016-11-02 09:58:17 -05:00
Brian Daniels b14a9702a1 Adding check to Travis for exporter support matrix 2016-11-02 09:35:19 -05:00
Martin Kojtal fe80efe1bb Merge pull request #3072 from jeromecoutant/PR_I2C_TESTS
i2c_loop tests update for STM32
2016-11-02 13:01:29 +00:00
Martin Kojtal 06fc7e476a Merge pull request #3173 from sarahmarshy/microbit-support
[Exporters] Add a device_name to microbit entry in targets.json
2016-11-02 09:56:00 +00:00
Janne Kiiskilä 258bcab618 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-02 11:29:20 +02:00
Christopher Haster 98db3ab1cb Adopted MBED_STATIC_ASSERT where possible 2016-11-01 21:39:48 -05:00
Christopher Haster 182c6a29f2 Added static assert macro
Added MBED_STATIC_ASSERT for compile-time assertions, results in
compile-time error if condition is false

The assertion acts as a declaration that can be placed at file scope, in
a code block (except after a label), or as a member of
a C++ class/struct/union.

Unfortunately, there does not exist a backup construct for use in
C class/struct/union contexts. An alternative macro,
MBED_STRUCT_STATIC_ASSERT provides this ability to avoid disabling
static assertions for the majority of mbed-supported C compilers.
2016-11-01 21:39:41 -05:00
Sarah Marsh cc154a48cd [Exporters] Build method documentation. Removal of unused Exception classes. 2016-11-01 15:03:31 -05:00
Sarah Marsh d8fc362c11 Make ArmPackManager cache a static variable (to avoid reading index.json for each target). 2016-11-01 15:03:31 -05:00
Sarah Marsh b9bac0516b [Exporter tests] changing variable names and respecting requirement kwargs 2016-11-01 15:03:31 -05:00
Sarah Marsh 986af0dd5e New export-build tests.
Allows command line workflow of:
mbed import
mbed export

Also revises exporter supported target checks
2016-11-01 15:03:31 -05:00
Sam Grove 7829b2f9bf Merge pull request #3161 from geky/nsapi-dns-version-heuristic
nsapi - Add better heuristic for the default record of DNS queries
2016-11-01 14:17:08 -05:00
Sam Grove 2a3f4eda19 Merge pull request #3162 from geky/nsapi-warning-cleanup
lwip/nsapi - Clean up warnings in network code
2016-11-01 14:15:08 -05:00
Sam Grove fa314e2589 Merge pull request #3048 from adbridge/master
Make update.py test compile examples prior to updating mbed-os version.
2016-11-01 14:14:23 -05:00
Sam Grove fcfc7b46a7 Merge pull request #3135 from geky/lwip-fix-cyclic-buffer-leak
lwip - Fix memory leak in k64f cyclic-buffer overflow
2016-11-01 14:12:24 -05:00
Sam Grove b777a9c145 Merge pull request #3143 from marcuschangarm/config-store-fix
CFStore fix needed for the Cloud Client
2016-11-01 14:08:39 -05:00
Sam Grove 6893535353 Merge pull request #3169 from bridadan/USB_Updates
[Update of #3014] Usb updates
2016-11-01 10:20:57 -05:00
Sam Grove c32b2cf1af Merge pull request #3170 from bridadan/fixing_cpp_test_print
[tests] Preventing test from printing before Greentea __sync
2016-11-01 10:17:48 -05:00
Sam Grove 8490dd431a Merge pull request #3175 from bridadan/ncs36510_iar_definition_update_7_8
Updating IAR definition for the NCS36510 for IAR EW v7.8
2016-11-01 10:16:44 -05:00
Sam Grove 38a9c84bae Merge pull request #2988 from martinjaeger/master
Update of can_api.c fixing #2987
2016-11-01 10:02:37 -05:00
Jeremy Brodt 2b35a62819 Add wait for serial characters to transmit before deleting serial object. 2016-11-01 09:46:51 -05:00
Jeremy Brodt 722e89784c [MAX32625] Prevent serial activity if tx/rx pin is NC. 2016-11-01 09:46:51 -05:00
Jeremy Brodt 0784f0315c [MAX32625MBED] Adding new Maxim Integrated target. 2016-11-01 09:46:51 -05:00
Jeremy Brodt 1e5466a114 [MAX32625NEXPAQ] Adding new Maxim Integrated target. 2016-11-01 09:46:51 -05:00
Ashok Rao 80be092b86 Incorporating Brian Daniel's review comments for PR 3136 2016-11-01 11:47:22 +00:00
Rida Jichi ac17fb7cf8 Modified micro:bit pin names to mirror micro:bit edge connector
Resolved issue: https://github.com/ARMmbed/mbed-os/issues/2713

Removed pins p{0..30} definitions
Defined pins P{0..20} as per micro:bit DAL's mappings:
(https://github.com/lancaster-university/microbit-dal/blob/master/inc/drivers/MicroBitPin.h)

Developers can now use the pin names as they appear on the mbed micro:bit pinout
in https://developer.mbed.org/platforms/Microbit/#pinout

Change-Id: I72b81dbe23b11d5ef215583adb211f364b4a5e91
2016-11-01 09:20:24 +00:00
Rida Jichi 3a1af14803 Replaced p{0..30} with P0_{0..30} in the NRF51822 api's
Change-Id: I0e080a30717ee0bcfa2db3f134acb08be851d767
2016-11-01 09:00:34 +00:00
Rida Jichi f1bcde8f45 Ensured all NORDIC platforms define P0_{0..30} to match existing p{0..30} in PinNames.h
Change-Id: I8d7ff6fe5ff5377f7ec8d3bc790dde0b0627f072
2016-11-01 08:57:38 +00:00
cyliangtw a044a65996 fixed misaligned lines in can_api.c of NUC472 & M453 2016-11-01 11:44:44 +08:00
cyliangtw da8fd8b5b7 remove dead code in can_api.c of NUC472 & M453 2016-11-01 11:29:09 +08:00
Brian Daniels 5762f7c17e Updating IAR definition for the NCS36510 for IAR EW v7.8 2016-10-31 18:28:34 -05:00
Sarah Marsh b3bc7f2529 Add a device_name to microbit entry in targets.json 2016-10-31 18:01:58 -05:00
Brian Daniels 67c2ea771a 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-10-31 15:39:38 -05:00
Brian Daniels 33c8659512 Preventing test from printing before Greentea __sync
This test was causing issues on some platforms because the serial output
would get garbled and cause exceptions to occur in the testing tools. This
corrects the behavior to follow the other tests. It will now defer all
pritning until after the __sync event occurs.
2016-10-31 14:52:15 -05:00
Brian Daniels edd6cac718 Adding Kinetis devices to mbed 2 tests and updating build_travis script 2016-10-31 12:42:15 -05:00