Christopher Haster
ba99a1f31d
restructure - Restructured features/net directory
...
features/net/network-socket -> features/netsocket
features/net/FEATURE_IPV4 -> features/FEATURE_LWIP
features/net/nanostack-binaries -> features/nanostack
features/net/FEATURE_NANOSTACK -> features/nanostack/FEATURE_NANOSTACK
2016-09-30 19:18:09 -05:00
Christopher Haster
175ae6b610
restructure - Fixed include bug in features/unsupported/net/lwip
...
time.h brings in struct timeval
lwip defines custom struct timeval
resolved through disabling lwip's struct timeval
2016-09-30 19:18:09 -05:00
Christopher Haster
bf643bcb0e
restructure - Moved libraries to features/unsupported
...
libraries -> features/unsupported
2016-09-30 19:18:09 -05:00
Sam Grove
b0b7b3cf9c
Merge pull request #2849 from pan-/fix_nordic_critical_section
...
Fix nordic critical section entry and exit
2016-09-30 15:00:43 -05:00
Sam Grove
d8e484d091
Merge pull request #2812 from jeromecoutant/PR_Add_MAC
...
[STM32 NUCLEO] Init MAC address
2016-09-30 14:52:46 -05:00
Seppo Takalo
bdfa22a6e6
Update CONTRIBUTING.md
2016-09-30 16:20:25 +03:00
Seppo Takalo
6ba8068c62
Allow mesh-api to configure routing.
2016-09-30 15:53:46 +03:00
Seppo Takalo
bf8d8211fa
Update Nanostack binaries to 5.0.6
2016-09-29 14:31:19 +03:00
Seppo Takalo
cbce88d422
[ONME-2736] Macro Def. of 6LP-ND Security Mode
...
* Application has been using MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE as the macro to define Secuity mode.
* The fall back mechanism, in case of absence of neo or yotta macro definition, was setting the macro to
be yotta format which was not used at all in the application.
* The bug was fixed by changing YOTTA_CFG_MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE to
MBED_MESH_API_6LOWPAN_ND_SECURITY_MODE in the fall back mechanism.
2016-09-29 14:11:02 +03:00
Seppo Takalo
822567bfa1
Initialize mac_api only once.
2016-09-29 14:06:49 +03:00
Seppo Takalo
1317eda555
Rename FEATURE_IPV6 to FEATURE_NANOSTACK
2016-09-29 13:50:32 +03:00
Vincent Coubard
dcf03310d0
NRF5 - Fix usage of volatile variable in nordic critical section implementations.
2016-09-29 10:05:02 +01:00
Sam Grove
6856a892ef
Merge pull request #2841 from javier-moreno-tridonic-com/fix-border-router-shudown-reconections
...
Fixed assert failure on reconections
2016-09-28 14:59:52 -07:00
Sam Grove
3d1531fcb1
Merge pull request #2767 from mikaleppanen/lwip_2_0
...
Replace lwIP 1.4.1 with lwIP 2.0
2016-09-28 14:58:22 -07:00
Vincent Coubard
597f104685
TARGET_NRF51822 - Override critical section enter/exit when Nordic SDK v10 is used.
...
This change is not located in the hal because SDK v10 is not available from this
place. It is safe to provide the implementation in BLE because the SDK V10 is
defined there. Default implementations of critical section enter/exit are safe
as long as the softdevice is not used.
2016-09-28 13:53:51 +01:00
Andres AG
11ee1de620
Update feature/mbedtls with mbedtls' development HEAD
2016-09-28 09:26:02 +01:00
javier-moreno-tridonic-com
51fd80bb63
Fixed assert failure on reconections
...
When the border router is switched off, the several retries will end up triggering the asserts in NanostackSocket::open. This is caused because socket_tbl elements, are never set to NULL.
2016-09-28 09:59:12 +02:00
jeromecoutant
7ec5de8c78
space correction
2016-09-28 09:10:25 +02:00
Mika Leppänen
e5c291d347
Added version to nsapi get host by name
2016-09-28 08:48:45 +03:00
Mika Leppänen
1f98cc3d54
Corrected tcp socket send
2016-09-28 08:48:45 +03:00
Mika Leppänen
95383dde32
Added ipv6 support to lwip dns adaptation and updated dchp functionality
2016-09-28 08:48:45 +03:00
Mika Leppänen
283ee52228
Added lwip status parameter
2016-09-28 08:48:45 +03:00
Mika Leppänen
0a88251b6c
Declare heap ourselves to specify section
2016-09-28 08:48:45 +03:00
Mika Leppänen
1d2130f032
Updated STM mac for lwip 2.0 and IPv6.
2016-09-28 08:48:44 +03:00
Mika Leppänen
a349c1123c
Updated VK_RZ_A1H mac for lwip 2.0 and IPv6.
2016-09-28 08:48:44 +03:00
Mika Leppänen
c61973c954
Updated RZ_A1H mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
f270fcbd12
Updated LPC17 mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
f4e76bb704
Updated NUC472 mac for lwip 2.0 and IPv6
2016-09-28 08:48:44 +03:00
Mika Leppänen
bb50717dc3
Updated lwip API and configuration files to lwip 2.0
2016-09-28 08:48:43 +03:00
Mika Leppänen
5f7a953325
K64F: Use older multicast filtering API
2016-09-28 08:48:43 +03:00
Mika Leppänen
2f9c5e92ef
Updated K64F mac for lwip 2.0 and IPv6
2016-09-28 08:48:43 +03:00
Mika Leppänen
98c452dafb
Added json configuration file and mbed ignore file to lwip stack.
2016-09-28 08:48:43 +03:00
Mika Leppänen
052d994f10
lwip 2.0 https://github.com/ARMmbed/lwip
2016-09-28 08:48:10 +03:00
Mika Leppänen
66f9ecd758
Delete previous lwIP
...
Leave an empty space for fresh subtree
2016-09-28 08:44:01 +03:00
Sam Grove
75cf25056c
Merge pull request #2818 from pan-/fix_test_tools_warnings
...
TESTS TOOLS - fix warnings
2016-09-27 21:54:53 -07:00
Sam Grove
681cff8010
Merge pull request #2785 from pan-/remove_warnings_from_nordic_target
...
TARGET_NRF - Remove warnings from nordic target.
2016-09-27 21:53:28 -07:00
Andres AG
21a7b1de04
Modify mbedtls scripts to add config-no-entropy.h
2016-09-27 16:19:39 +01:00
Martin Kojtal
1b95c67dd2
mbedtls trng - remove MBEDTLS_ENTROPY_HARDWARE_ALT
...
MBEDTLS_ENTROPY_HARDWARE_ALT will be defined via config in mbedtls,
the mbed wrapper should use DEVICE_TRNG.
2016-09-27 09:16:28 +01:00
Martin Kojtal
1f8da7da34
mbedtls - move TRNG mbed impl into platform folder
2016-09-27 09:14:42 +01:00
Martin Kojtal
ea1041ea36
HAL - RNG rename to TRNG
2016-09-27 09:13:59 +01:00
Martin Kojtal
e8ca16dde7
RNG - rename rng_get_numbers to rng_get_bytes
2016-09-27 08:51:49 +01:00
Martin Kojtal
ee344abd34
mbedtls - mbed wrapper rename to mbed_rng
2016-09-27 08:51:47 +01:00
Martin Kojtal
7d68492bef
mbedtls: add wrapper for mbed hw poll
...
This wrapper uses RNG HAL API
2016-09-27 08:51:34 +01:00
Milosch Meriac
5d6c316597
uVisor: Enforce thread switch atomicity
...
The system hook thread_switch gets called both through the SVC and
though the PendSV, which can get interrupted by the SVC.
Since calls to the uVisor API are not re-entrant, we need to wrap this
function in an atomic section to prevent faults.
2016-09-26 23:09:36 -07:00
Vincent Coubard
8070468b58
GREENTEA - Fix warning about unused function in greentea_metrics.cpp.
...
This change isolate properly functions and variable declared when
MBED_STACK_STATS_ENABLED is on.
2016-09-26 17:32:23 +01:00
Vincent Coubard
90496ed5dc
UTEST - Fix warning by removing unreachable statement.
...
Some compiler will trigger warnings if code is located after the exit function
because this function never returns (by the standard...).
2016-09-26 17:05:03 +01:00
Vincent Coubard
25148af3a2
UTEST - Fix warning in utest_shim.cpp by removing unreachable statement.
2016-09-26 17:02:01 +01:00
jeromecoutant
9453aec847
Patch for GCC and IAR compilation
2016-09-26 18:01:02 +02:00
Vincent Coubard
0b94aae00b
GREENTEA - Fix warning by adding empty line at the end of greentea_serial.cpp.
2016-09-26 16:58:35 +01:00
Vincent Coubard
f150f4f5e0
GREENTEA - fix warning by removing unreachable statement.
2016-09-26 16:56:28 +01:00