Commit Graph

350 Commits (dbafb03dd2eea628dc41b92b39d6385231bc697d)

Author SHA1 Message Date
Andres AG dbafb03dd2 Update to mbed TLS release candidate 2016-10-14 16:15:45 -05:00
adustm 899acb1627 ADD NEW TARGET : NUCLEO_F756ZG, based on existing NUCLEO_F746ZG 2016-10-14 16:15:44 -05:00
adustm 283a82f23e ADD NEW TARGET : NUCLEO_F439ZI, based on existing NUCLEO_F429ZI 2016-10-14 16:15:41 -05:00
Martin Kojtal 3a33de6577 lwip-interface: fix issue #2993
DEVICE_ are passed as command line -D, thus no inclusion is required.
``platform.h`` is C++ header file, should not be pulled in C files
2016-10-14 16:15:36 -05:00
Bartek Szatkowski ac0caaba9a DNS: Rework DNS query
Don't ask multiple DNS servers in case of successful connection, even if
the response is negative. Make sure the return value is correct.
2016-10-14 16:15:33 -05:00
Mahadevan Mahesh 504b2ac6b6 Update tests to add support for FRDM KL43Z and FRDM KL82Z
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-10-14 16:15:26 -05:00
ccli8 e06a7b2753 Move files to match ARM mbed's restructure
1. Move USBHALHost_M451.cpp and USBHALHost_NUC472.cpp.
2. Move TARGET_M451/mbed_lib.json.
3. Move TARGET_NUC472/crypto.
4. Move TARGET_NUC472/mbed_lib.json.
2016-10-14 16:15:06 -05:00
cyliangtw 0b60434327 EMAC buffer address word alignment 2016-10-14 16:15:04 -05:00
cyliangtw faae13e650 remove warnings 2016-10-14 16:14:59 -05:00
ccli8 1541265cd8 NUMAKER_PFM_M453 support for USB host 2016-10-14 16:14:35 -05:00
ccli8 69c2feb512 Add NUC472 support for USBH 2016-10-14 16:14:31 -05:00
Jeremy Brodt 3e51eb427f Added support for FEATURE_BLE. Integrated MaximBLE library. 2016-10-14 16:14:27 -05:00
Bartek Szatkowski 18286a8d7f DNS: Fix return value for successful name resolutions 2016-10-10 17:25:14 +01:00
Andres AG 1ab3e7a0e9 Sync mbed TLS with development HEAD
Update the current version of mbed TLS with the development HEAD of the
mbed TLS project repository. This mostly includes the latest CMAC
feature. Also, update the version in the importer Makefile and
VERSION.txt with the hash of the mbed TLS commit that was sync'ed.
2016-10-10 17:25:08 +01:00
Andres AG c8256af85d Fix mbedtls user config and null entropy 2016-10-10 17:24:24 +01:00
Seppo Takalo b12b1bd312 Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from b17e969..31e338c
31e338c Use temp variable in mutex release loop (#52)

git-subtree-dir: features/FEATURE_COMMON_PAL/mbed-trace
git-subtree-split: 31e338c23934491fcb852ee4d2788d34851d01a2
2016-10-10 17:24:19 +01:00
Russ Butler 0bc661e172 Fix ncs36510 by updating header guard
Fix the header guard in the ncs36510 RF driver. Also update the
license in NanostackRfPhyNcs36510.h.
2016-10-10 17:24:15 +01:00
Jimmy Brisson 9071e2b347 Add tags to our code 2016-10-10 17:24:07 +01:00
Sam Grove 5693e7a7ca Merge pull request #2916 from c1728p9/ncs36510_rf_phy
Add ncs36510 RF phy
2016-10-05 00:52:54 -05:00
Sam Grove 683d7b7d74 Merge pull request #2874 from 0xc0170/feature_wifi_ublox
emac HAL API, WiFiInterface additions
2016-10-04 22:46:09 -05:00
Christopher Haster 4f1ededb58 Renamed NSAPI_SECURITY_UNSUPPORTED -> NSAPI_SECURITY_UNKNOWN
Returning a wifi access point without information regarding the
security type is only valid if the security type is unknown (from
the perspective of the network-socket API). For clarity in situations
in which scan may return an unsupported, but known security type,
type name has been changed to NSAPI_SECURITY_UNKNOWN.
2016-10-04 14:23:36 -05:00
Russ Butler 1aec3700de Add ncs36510 RF phy
Check in the RF phy for the ncs36510. Note that the RF phy is included
in the built when nanostack is included since the phy is specific to
nanostack.
2016-10-04 14:20:14 -05:00
Bartek Szatkowski febc341672 Fix spelling error: NSAPI_SECURITY_UNSUPPORTED 2016-10-04 17:34:58 +01:00
andreas.larsson 26eb5f19f2 Fixed mbed_lwip_get_netmask amd mbed_lwip_get_gateway 2016-10-04 16:40:15 +02:00
andreas.larsson f5675cc822 Increased the stack size for the lwIP thread from 1024 to 1200. Needed for the u-blox ODIN-W2 driver. The actually needed size has not been measured. 2016-10-04 15:52:56 +02:00
andreas.larsson e87f013c4d Fixed missing public 2016-10-04 15:52:56 +02:00
andreas.larsson 8ea46eae17 Fixed missing abstract connect method 2016-10-04 15:52:55 +02:00
andreas.larsson b418fce8ac Added function for increasing ref count. 2016-10-04 15:52:55 +02:00
Bartek Szatkowski 1e7ba5fe79 Fix merge issues 2016-10-04 14:38:28 +01:00
Bartek Szatkowski ae11b51b26 Split lwip initialisation and interface bringup
Split IP stack initialisation from mbed_lwip_bringup to mbed_lwip_init.
2016-10-04 14:32:44 +01:00
Bartek Szatkowski 98eb50f592 Refactor lwip_stack function names to include mbed prefix
Mbed function names, prefixed with lwip are confusing, as the name
suggest that they are part of lwip ip stack.
2016-10-04 14:22:24 +01:00
Seppo Takalo f022d20e0e Fix build on Cortex M3 with Nanostack.
TARGET_CORTEX_M3 renamed to TARGET_M3
2016-10-04 14:15:36 +03:00
Sam Grove 5a55b39b2b Merge pull request #2887 from ARMmbed/update_mbed_trace
Update mbed trace
2016-10-03 12:35:17 -05:00
Bartek Szatkowski d0be5733db EMAC: Fix LWIP_IPV4 and DEVICE_EMAC flag usage 2016-10-03 17:46:39 +01:00
Seppo Takalo 11f8ccc871 Add mbed-trace subtree
Next time, updating of mbed-trace is just:
```
git subtree pull --squash -m "Update mbed-trace" \
     -P features/FEATURE_COMMON_PAL/mbed-trace \
     git@github.com:ARMmbed/mbed-trace.git master
```
2016-10-03 14:41:04 +03:00
Seppo Takalo 507d3efa9e Remove mbed-trace 2016-10-03 14:40:05 +03:00
andreas.larsson 1d3c63d9bb Changed name for the target UBLOX_C029 to UBLOX_EVK_ODIN_W2 2016-10-03 12:10:50 +02:00
Christopher Haster 5cd2d7869e Merge remote-tracking branch 'upstream/master' into feature_wifi_ublox_merge 2016-10-02 07:29:07 -05:00
Christopher Haster 13bf0bd470 Merge commit 'upstream/master~' into feature_wifi_ublox 2016-10-02 06:35:12 -05:00
Sam Grove 04a2af7395 Update net tests to use feature name LWIP and not IPv4 2016-10-01 02:21:04 -05:00
Christopher Haster c2d9fc29ff restructure - Fixed include paths damaged by the restructure 2016-09-30 19:18:09 -05:00
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
Christopher Haster 6440ffab98 cellular - Matched changes to the WiFiinterface in cellular 2016-09-30 16:36:11 -05:00
Christopher Haster 0f40c121d5 wifi - Moved wifi_ap_t into its own class WiFiAccessPoint
Using a class for this structure is more idiomatic C++, allows
future deprecations, and more flexibility of the internal structure.

Additionally, this matches to design of the SocketAddress class
specific to the network-socket api.
2016-09-30 15:56:05 -05:00
Christopher Haster 5b12539074 wifi - Removed asynchronous functions
Current asynchronous functions do not match the blocking/attach
pattern of the current codebase.

Unfortunately, the asynchronous api can not be updated in the
current time constraints. The async functions will be removed
for now and can be reconsidered at a later date.
2016-09-30 15:41:46 -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
Martin Kojtal cca026dc6d WiFiInterface - revert removal of connect method 2016-09-30 19:07:43 +01:00