Sam Grove
e9880c72dc
Merge pull request #3830 from ARMmbed/dummy_definitions
...
Add NS_DUMMY_DEFINITIONS_OK
2017-02-23 15:18:33 -06:00
Sam Grove
3642c3b226
Merge pull request #3736 from karsev/thread_config_update
...
Thread config update
2017-02-23 10:18:48 -06:00
Sam Grove
cf64f09230
Merge pull request #3721 from mikaleppanen/lwip_2_0_1_stable
...
Lwip 2.0.1 stable
2017-02-23 10:16:57 -06:00
Sam Grove
30ddefc968
Merge pull request #3654 from geky/header-rename
...
Renamed files in platform to match source names
2017-02-23 10:16:35 -06:00
Sam Grove
078995a021
Merge pull request #3482 from Neuromancer2701/patch-1
...
Update lwipopts.h
2017-02-23 10:15:24 -06:00
Seppo Takalo
9137ba8f8a
Add NS_DUMMY_DEFINITIONS_OK
...
Add definition from master repository.
This fixes compilation of coap_service.c on non-secure platforms.
2017-02-23 14:44:59 +02:00
Christopher Haster
aff49d8d1e
Renamed files in platform to match source names
...
critical.h -> mbed_critical.h
sleep.h -> mbed_sleep.h
toolchain.h -> mbed_toolchain.h
rtc_time.h -> mbed_rtc_time.h
semihost_api.h -> mbed_semihost_api.h
wait_api.h -> mbed_wait_api.h
2017-02-22 18:17:54 -06:00
Kari Severinkangas
52ca190474
timestamp bit moved to correct place.
2017-02-22 14:03:59 +02:00
Kari Severinkangas
81452424d4
Security related traces removed. Network name copy fixed.
2017-02-22 13:59:31 +02:00
Kari Severinkangas
407d8d3962
yotta defines removed. minor edits on thread conf.
2017-02-22 13:59:31 +02:00
Kari Severinkangas
ba5cd8c6d6
IOTTHD-1028: thread config update
2017-02-22 13:59:31 +02:00
Kari Severinkangas
a26a80d686
IOTTHD-1028: thread config update
2017-02-22 13:59:31 +02:00
Sam Grove
6f6e5c478f
Merge pull request #3784 from geky/nsapi-sigio
...
nsapi: Rename attach -> sigio to decrease confusion on its behaviour
2017-02-21 10:56:40 -06:00
Sam Grove
cfd517a3a0
Merge pull request #3783 from geky/cb-deprecate-attach
...
Callback: Deprecate attach member function in favor of simple assignment
2017-02-21 10:55:44 -06:00
Sam Grove
094fab43e7
Merge pull request #3760 from adustm/usb_txsize_fix
...
Fix #3756 for 64 bytes transfers
2017-02-21 10:47:44 -06:00
Mika Leppänen
90db9c0cb4
Corrected IAR compilation and removed compiler warnings
2017-02-21 14:31:26 +02:00
Mika Leppänen
30b6d2304d
Set TCP socket created by accept to non-blocking mode
2017-02-21 14:31:10 +02:00
Mika Leppänen
93f02e4fed
Renamed filter constant
2017-02-21 14:30:45 +02:00
Mika Leppänen
b62df0033f
Merged lwip 2.0.1 stable to mbed-os
...
* commit '61a7b15741c964dfa1f1a14244de38ea4e2ce22a':
Squashed 'features/FEATURE_LWIP/lwip-interface/lwip/' changes from d7a6c6d..10f93f4
2017-02-21 14:27:32 +02:00
Sam Grove
7fc73e42f2
Merge pull request #3781 from geky/lwip-dtls-speed
...
lwip: Added delay to dtls handshake test to compensate for local network
2017-02-17 09:20:58 -06:00
Sam Grove
2a331143c8
Merge pull request #3772 from Ingramz/master
...
Improve readability of USBHID related descriptors
2017-02-17 09:20:42 -06:00
Sam Grove
02f6cd0f5c
Merge pull request #3754 from mikaleppanen/lwip_send_filter
...
Added filter to send minus events to lwip adaptation
2017-02-17 09:16:39 -06:00
Christopher Haster
d4e686be63
nsapi: Renamed attach -> sigio to decrease confusion on its behaviour
2017-02-16 10:47:06 -06:00
Christopher Haster
417524f562
Callback: Adopt better use of assignment/call operators
2017-02-15 15:19:38 -06:00
Christopher Haster
64ccff3fe1
lwip: Added delay to dtls handshake test to compensate for local network
...
The speed of packets on the local network exceeds even the speed of
the ethernet hardware on some of the less powerful devices. Adding
a small delay which can be expected from a real DTLS handshake prevents
this condition from occuring.
2017-02-15 12:38:05 -06:00
Indrek Ardel
29d5ebbb61
Improve readability of USBHID related descriptors
2017-02-14 14:56:51 +02:00
adustm
67a2f4b276
Bug fix to fullfill 64bytes transfer in HID
2017-02-13 17:10:19 +01:00
Hasnain Virk
1ac5700eb6
[ONME-2953 ]Minor glitch in error handling
...
In sendto(), memory allocation failures were mistakenly being treated as
would blocks (assumption was that the device might be able to recover).
However, that put the blocking socket into deep sleep and there was no mechanism to wake it up
ever again. Somehow that got slipped through testing. Fixed in this amenment
2017-02-13 16:37:12 +02:00
Hasnain Virk
1f24533847
Minor amendments
...
NanostackLockGuard usage is now consistent throughout.
Missing Lock assertion added at a few locations in the code
2017-02-13 11:13:56 +02:00
Mika Leppänen
46396da1cf
Added filter to send minus events to lwip adaptation
2017-02-13 09:50:38 +02:00
Seppo Takalo
7dc2dc8c66
Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from a1982c1..e125164
...
e125164 Check secure session pointer in timer callback (#61 )
f49e596 Update unit tests (#59 )
6a5634a Support for multiple virtual services (#58 )
7fe6b98 Remove yotta files (#57 )
5c5c8fe Fix socket send return value overflow (#56 )
0870d05 Update unit test stubs to match latest socket api (#55 )
e687be8 Merge pull request #54 from ARMmbed/warn_fixes
b8fe613 updated unittests
8640d05 Compilation warnings fixed
eea83e5 Flag out entropy source addition (#53 )
7d72eb4 Fix unittests (#52 )
4a6991e Avoid referencing ns_msghdr_t::flags
git-subtree-dir: features/nanostack/FEATURE_NANOSTACK/coap-service
git-subtree-split: e1251645d38d5b1b90350957f0e8b66e0fb59235
2017-02-12 22:06:41 +02:00
Seppo Takalo
667006e1ba
Nanostack 6.0.1
2017-02-12 22:05:33 +02:00
Hasnain Virk
e4f91cd0dc
[ONME-2927] Socket adaptation layer for nanostack
...
As a result of major overhaul in Nanostack generally for socket API and especially
for TCP, the adaptation layer for mbed-OS is being upgraded.
Previously, as nanostack was not able to provide receive queue, adaptation layer had been
faking it. Now with Stream Socket by default Nanostack provides 2K receive queue and 2K send queue.
Receive queue size can be changed using setsockopt(). Batre metal nanostack would not provide with any
receive queues with Datagram Socket, however in this adaptation layer we introduce a 2K receive queue size
for the Datagram Socket as well.
Layer state machine handling is polished to ensure robustness.
::socket_connect() will can return 2 new error codes now. NSAPI_ERROR_ALREADY (like posix EALREADY) in case
if the connection is in progress or NSAPI_ERROR_IS_CONNECTED (like posix EISCONN) if already connected.
NSAPI_ERROR_WOULDBLOCK is now mapped directly to nanostack NS_WOULDBLOCK.
NanostackLockGaurd class is introduced which enables us to claim and release mutex using RAII style.
2017-02-12 22:05:26 +02:00
Sam Grove
ec329be6f2
Revert "Target stm usb config"
2017-02-09 15:37:19 -06:00
Sam Grove
29cfee4ae7
Merge pull request #3708 from OpenNuvoton/nuvoton_usb
...
[NUC472/M453] Fix USB EP setting error in USBAudio
2017-02-09 10:05:54 -06:00
Sam Grove
d990385058
Merge pull request #3684 from jamike/TARGET_STM_USB_CONFIG
...
Target stm usb config
2017-02-09 09:35:16 -06:00
Sam Grove
e0fb062ae8
Merge pull request #3649 from adustm/STM32F7_folderstruct
...
[STM32F7] Modify folder structure
2017-02-09 09:30:28 -06:00
Brian Daniels
bca993a602
Fixing uvisor defines to fix build issues
2017-02-08 09:49:47 -06:00
Sam Grove
12edb2cac2
Merge pull request #3655 from adustm/STM32F4_folderstruct
...
[STM32F4] Modify folder structure
2017-02-07 10:35:26 -06:00
Sam Grove
2b6fed7b73
Merge pull request #3619 from geky/nsapi-fix-initial-events
...
nsapi: Change initial state of sockets to allow events
2017-02-07 10:31:57 -06:00
ccli8
f96b1c0ad7
[NUC472/M453] Fix USB EP setting error in USBAudio
...
NUC472/M453 USB doesn't support configuration of the same EP number for IN/OUT simultaneously.
2017-02-07 16:57:04 +08:00
Michel Jaouen
4d59c8857d
TARGET_STM :move usb config file to target dir
2017-02-03 10:32:19 +01:00
bcostm
e609796406
Enable USB Host
2017-01-27 17:22:07 +01:00
bcostm
592a25aa3c
Add F412ZG in USBHAL files
2017-01-27 17:22:07 +01:00
adustm
dd7c00f1b6
STM32F429 / F439 folder rework
2017-01-27 15:41:49 +01:00
adustm
0e70959e4d
Modify forder structure so that targets with the same device can share
...
files
2017-01-26 14:21:26 +01:00
Martin Kojtal
ade6722707
Merge pull request #3607 from ARMmbed/feature_hal_sleep
...
Platform: Add sleep/deepsleep user facing functions
2017-01-26 13:55:33 +02:00
Martin Kojtal
4e28b25399
Merge pull request #3612 from bulislaw/fix_network_host_tool
...
tests: Fix error on MacOS for udp_dtls_handshake test
2017-01-26 10:33:32 +02:00
Martin Kojtal
dec3f01dd9
Merge pull request #3604 from bridadan/rename_gt_test_env
...
Renaming test_env.cpp in greentea to avoid warning
2017-01-26 10:31:13 +02:00
Martin Kojtal
addd2b2965
Merge pull request #3548 from bridadan/reduce_stack_network_parallel_tests
...
Reduce thread stack size for parallel network tests
2017-01-26 10:21:46 +02:00