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
Tero Heinonen
ae4d9dbada
Call transaction callback when transactions are deleted ( #48 )
...
When secure session is deleted, transaction callback must be called
to inform request sender that response is not going to be received.
2016-11-02 12:10:19 +02: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
Hasnain Virk
0480a02a3b
Merge pull request #49 from ARMmbed/socket_mesh_patch2
...
Using socket_close() instead of socket_free()
2016-11-01 17:34:51 +02: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
Hasnain Virk
ff5bc03fd7
Using socket_close() instead of socket_free()
...
* Pertaining to new socket API changes, socket_free is deprecated.
* socket_close() is used from now on.
* Fixing stubs too.
2016-11-01 17:15:16 +02: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
Tero Heinonen
7f5370e0bf
Use default local address, if request is from multicast address ( #46 )
...
* Use default local address, if request is from multicast address
If response to multicast request is sent, local address must be set to
default.
* Fix unit tests
Fixed socket_listen stub.
2016-11-01 11:07:59 +02: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
Hasnain Virk
5d60eb80e6
Merge pull request #47 from ARMmbed/socket_mesh_patch2
...
Addding backlog parameter to socket_listen
2016-11-01 09:04:25 +02:00
Hasnain Virk
57615121aa
Addding backlog parameter to socket_listen
...
* As part of patch-2 for socket API update, we need to add 2nd parameter of socket_listen() API.
2016-11-01 09:02:46 +02: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
Martin Kojtal
8a9a246356
Merge pull request #3158 from mikaleppanen/6lowpan_panid_filter
...
Add support for 6lowpan PAN ID filter to mbed mesh api configuration
2016-10-31 14:38:31 +00:00
Kevin Bracey
aa583bd8ce
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-10-31 15:48:54 +02:00
Arto Kinnunen
c8d66be284
Remove mbedtls configuration from Makefile ( #45 )
...
-Do not define mbedtls configuration in Makefile as the same makefile
is used in target builds.
2016-10-31 10:27:02 +02:00
Kevin Bracey
2135c8f368
NanostackInterface: Remove string round-trips
...
Older versions of SocketAddress required conversion via string - this is
no longer the case.
2016-10-31 10:20:24 +02:00
Kevin Bracey
b2834b9aa6
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-10-31 10:20:24 +02:00
Kevin Bracey
8e5391ab85
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-10-31 10:20:18 +02:00
Martin Jäger
eb95c14fa6
Fixing some typos
2016-10-30 16:49:49 +01:00