Commit Graph

8870 Commits (f8e18cdde404ad636bc4f12c92672c3a30235990)

Author SHA1 Message Date
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
Peter Harliman Liem b3e5c97244 Fix wrong index at LPC43xx tx end ring assignment
NUM_TX_FRAG should be used instead of NUM_RX_FRAG
2016-10-28 22:48:37 +08: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
Radhika eaf7265aa6 User trim added.
Astyle and pylint run on code.
2016-10-28 15:02:52 +05:30
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
Anna Bridge a5d3d2056b Update ble example meta data to fix unsupported compilation combinations.
Remove URI beacon example as this is no longer required.
Add specific set of supported targets.
2016-10-26 16:24:42 +01:00
Martin Kojtal 4198222c54 Merge pull request #3005 from c1728p9/build_profiles
New build profile and docs
2016-10-26 15:16:01 +02:00
Martin Kojtal a7a53b7b6c Merge pull request #3046 from mmorenobarm/master
[BEETLE] Update BLE stack on Beetle board
2016-10-26 15:08:55 +02:00
Martin Kojtal 53cd23e285 Merge pull request #3097 from theotherjimmy/pack-manager-urllib2
Arm-Pack-Manager Remove pycurl dependency
2016-10-26 14:48:05 +02:00
Martin Kojtal 8c2f874b40 Merge pull request #3093 from BrunoMPires/master
[SDFileSystem] Enable / Disable serial debug.
2016-10-26 14:46:30 +02:00
Michel Jaouen a711ff360b STM32F7xx : GCC_ARM remove zero bss, in startup.
zero bss is done in libc init after call to _start.
2016-10-26 14:42:47 +02:00
Michel Jaouen 93a0b9ce60 STM32L4xx : GCC_ARM remove zero bss, in startup.
zero bss is done in libc init after call to _start.
2016-10-26 14:42:24 +02:00
Michel Jaouen ee22d0a054 STM32F4xx: GCC_ARM remove zero bss, in startup.
zero bss is done in libc init after call to _start.
2016-10-26 14:41:45 +02:00
Martin Kojtal 69a7481f26 Merge pull request #3085 from jeromecoutant/PR_LP_F303ZE
Add LOWPOWERTIMER capability for NUCLEO_F303ZE
2016-10-26 13:55:57 +02:00
Martin Kojtal 7499177a5b Merge pull request #3076 from bcostm/fix_issue-2910_nucleo-f103rb
STM32F1: Correct timer master value reading
2016-10-26 13:55:29 +02:00
pradeep-gr bb824c6f91 mbed-os-tests-mbedtls-selftest issue fixed 2016-10-26 16:49:29 +05:30