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
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
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
Christopher Haster
8b7c051d03
lwip - Change k64f emac layer to drop frames on buffer exhaustion
...
Previously, exhausting hardware buffers would begin blocking the lwip
thread. This patch changes the emac layer to simply drop ethernet
frames, leaving recovery up to a higher level protocol.
This is consistent with the behaviour of the emac layer when unable
to allocate dynamic memory.
2016-10-28 15:22:08 -05:00
Christopher Haster
42105371ef
lwip/nsapi - Cleaned up warnings in network code
...
- cc.h@57,1: "BYTE_ORDER" redefined
- lwip_inet_chksum.c@560,44: passing argument 1 of 'thumb2_checksum'
discards 'const' qualifier from pointer target type
- lwip_pbuf.c@1172,9: variable 'err' set but not used
- SocketAddress.cpp@293,1: control reaches end of non-void function
2016-10-28 14:24:52 -05:00
Mahadevan Mahesh
6750f488ed
Add K64F, K22F and KL43Z to travis build
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-28 12:12:35 -05:00
Mahadevan Mahesh
ef56b3d712
FAT tests: Add support for KL43Z
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-28 12:12:26 -05:00
Mahadevan Mahesh
046f3cdb26
Update USB driver for devices with Kinetis SDK support
...
1. Fix build issues with IAR and GCC toolchain
2. Update clock initialization code
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-28 11:47:20 -05:00
Christopher Haster
d8d2b0a41d
nsapi - Added better heuristic for the default record of DNS queries
...
Takes advantage of the get_ip_address function to predict the IP
address version wanted by the underlying interface. The should avoid
the need for most IPv6 interfaces to overload gethostbyname.
suggested by @kjbracey-arm
2016-10-28 11:41:33 -05:00
Anna Bridge
479e203dce
Switch off compilation of wifi example while awaiting a fix for
...
issue 3152 is submitted.
2016-10-28 16:10:41 +01:00
Anna Bridge
c60b19e27c
Remove superfluous debugging line.
2016-10-28 15:20:36 +01:00
Martin Kojtal
c9f9ffa583
Merge pull request #3140 from bridadan/remove_getchar_greentea_client
...
[tests] Replacing getchar with RawSerial getc in greentea-client
2016-10-28 15:34:13 +02:00
cyliangtw
33cfe1f599
remove dead code in device.h of NUC472 & M453
2016-10-28 18:39:56 +08:00
Mika Leppänen
fae713e4d1
Added support for 6lowpan PAN ID filter to mbed mesh api configuration
2016-10-28 13:28:11 +03:00
Martin Kojtal
4a4d09f6d1
Merge pull request #3074 from jamike/TARGET_STM_INIT_GCC_ALIGNEMENT
...
Target STM - init gcc alignement
2016-10-28 11:04:50 +02:00
Martin Kojtal
51fc2ce4a5
Merge pull request #3139 from bulislaw/arduino_ff
...
Handle [NOT_SUPPORTED] exception in make.py
2016-10-28 10:15:19 +02:00
Martin Kojtal
6eac2b008a
Merge pull request #3009 from pradeep-gr/master
...
TRNG enabled. TRNG APIs implemented. REV A/B/C/D flags removed. Warnings removed
2016-10-28 10:13:50 +02:00
Mahadevan Mahesh
1ac09d3a19
Add support for FRDM-K82F
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-27 11:27:24 -05:00
Marcus Chang
8876b7ef38
Removed static declaration for the StorageVolumeManager in the CFStore because this componenent is shared across all users of the flash. Added define guards to the CFStore location and size so that these can be changed from the settings file.
2016-10-27 10:26:28 +01:00
Martin Kojtal
f33088b7e4
Merge pull request #3142 from 0xc0170/fix_nuvoton_mbed2_removal
...
Targets- NUMAKER_PFM_NUC47216 remove mbed 2
2016-10-27 11:23:41 +02:00
Martin Kojtal
bd4eca325b
Merge pull request #3024 from jeromecoutant/PR_analog_loop
...
analog_loop tests update for STM32
2016-10-27 11:02:10 +02:00
Bartek Szatkowski
aa3a127c76
Handle [NOT_SUPPORTED] exception in make.py
...
That let us to ignore build failures for examples on not supported
platforms.
2016-10-27 09:45:55 +01:00
Michel Jaouen
4a69072161
INIT:GCC add call to HAL_Init
...
system_init, stops all on going timer.
gcc _start , perform zero initialized.
=> HAL_Init must be done again also in GCC toolchain
2016-10-27 10:40:28 +02:00
Michel Jaouen
b225a5ca97
STM32F1xx : GCC_ARM remove zero bss done at startup.
...
Zero bss is done after the call to _start.
2016-10-27 10:40:17 +02:00
Michel Jaouen
702f64a6f2
STM32F0xx: GCC_ARM remove zero bss, in startup.
...
zero bss is done in libc init after call to _start.
2016-10-27 10:40:02 +02:00
Michel Jaouen
9f20c4641d
STM32F0xx : GCC_ARM use a call to _start which performs
...
zero bss, C++ init and the call to main.
Remove direct call to __libc_init_array and main not needed
as _start is beeing called.
2016-10-27 10:39:02 +02:00
Michel Jaouen
af090e3e6e
STM32L0xx : GCC_ARM remove zero bss, in startup.
...
zero bss is done in libc init after call to _start.
2016-10-27 10:38:56 +02:00
Michel Jaouen
479a1a2715
STM32L1xx : GCC_ARM remove zero bss, in startup.
...
zero bss is done in libc init after call to _start.
2016-10-27 10:38:52 +02:00
Michel Jaouen
f3b1c0a0c8
STM32L1xx : GCC_ARM a call to _start which performs
...
zero bss, C++ init and the call to main.
Remove direct call to __libc_init_array and main not needed
as _start is beeing called.
2016-10-27 10:38:35 +02:00
0xc0170
8c4e6a42aa
Targets- NUMAKER_PFM_NUC47216 remove mbed 2
...
crypto failures due to mbedtls dependency
2016-10-27 10:36:28 +02:00
cyliangtw
6889c1368b
replace tab by 4 space char
2016-10-27 16:31:29 +08:00
Martin Kojtal
ba47aa546b
Merge pull request #2897 from geky/nsapi-consistent-unspec
...
nsapi - Standardize support of NSAPI_UNSPEC
2016-10-27 10:26:00 +02:00
Martin Kojtal
da377aa5d8
Merge pull request #3121 from monkiineko/master
...
STM32F3: Correct UART4 and UART5 defines when using DEVICE_SERIAL_ASYNCH
2016-10-27 10:12:13 +02:00
Martin Kojtal
b826d1bb1a
Merge pull request #3022 from hasnainvirk/ncs36510_fixes
...
OnSemi RAM usage fix
2016-10-27 10:04:31 +02:00
Martin Kojtal
c9c6428598
Merge pull request #3122 from SiliconLabs/SiliconLabs-cleanup-rebase
...
[Silicon Labs] Update of Silicon Labs HAL
2016-10-27 09:56:16 +02:00
Brian Daniels
7a8946ff24
Replacing getchar with RawSerial getc in greentea-client.
...
This change prevents the standard library from allocating a large buffer
on the heap. On GCC_ARM, this is a saving of 1K. On ARM, this is a saving
of 64 bytes.
2016-10-26 16:55:54 -05:00