Christopher Haster
3ee77e36f7
FAT: Fixed volume count check when formatted without MBR
...
This saves 64 blocks (32KB when used with 512B blocks) and drops
the minimum storage size from 64KB to 32KB.
2017-05-25 14:24:17 -05:00
Christopher Haster
3f92a15960
FAT: Added support for multiple active filesystems
...
- Increased _VOLUMES to 4
- Fixed a few issues in the FATFileSystem's _fsid
- Added tests for multiple partitions of fatfs
2017-05-24 11:18:47 -05:00
Christopher Haster
d1468a68ab
FAT: Removed implicit MBR from FAT filesystem during format
...
- Implicit MBR still allowed during mount
- maintains storage compatibility
- Not needed
- MBR utility is not exposed through the FAT filesystem,
so the only used partition was always the first. Omitting
the MBR is functionally equivalent
- Saves a few blocks on storage for MBR + offset
for FAT alignment
- Duplicated with MBRBlockDevice
- The implicit MBR actually prevents nesting a FAT filesystem
in the MBRBlockDevice
2017-05-23 11:56:00 -05:00
Christopher Haster
590a40d9bf
bd: Added MBRBlockDevice for handling a master boot record on a block device
2017-05-23 11:55:57 -05:00
Sam Grove
8e8174ac66
Merge pull request #4274 from kjbracey-arm/dns_query_garbage
...
NSAPI - Don't send trailing garbage in DNS queries
2017-05-18 09:29:59 -05:00
Sam Grove
6a96481d4d
Merge pull request #4311 from kjbracey-arm/lwip_cksum
...
Disable lwIP checksum-on-copy
2017-05-18 09:28:10 -05:00
Martin Kojtal
8f295177ce
Merge pull request #4317 from c1728p9/reduce_test_overhead
...
Reduce test overhead in preperation for CMSIS 5
2017-05-17 10:13:25 +01:00
Bartek Szatkowski
4f3aabc029
Reshuffled memory usage for heap block device tests on small targets
...
Revert removal of printfs. Make the block device size smaller.
2017-05-16 10:45:18 +01:00
Martin Kojtal
c732739897
Merge pull request #4291 from jamike/USBHost_fix_target_stm_build
...
USBHost : fix build for TARGET_STM
2017-05-15 16:18:36 +01:00
Martin Kojtal
27a6965842
Merge pull request #4284 from mikaleppanen/lwip_randlib
...
LWIP random library and TCP sequence number improvements
2017-05-15 16:15:39 +01:00
Martin Kojtal
ef56d9569b
Merge pull request #4245 from nvlsianpu/merge_nrf52840_to_nrf5
...
[NRF5 + NRF52840]: Merge nrf52840 to [NRF5] sources
2017-05-15 16:10:32 +01:00
Martin Kojtal
07c8b214f6
Merge pull request #4235 from ARMmbed/nanostack-libservice
...
Nanostack libservice
2017-05-15 16:05:34 +01:00
Martin Kojtal
d98da4089a
Merge pull request #4231 from jamike/USBH0ST_TARGET_STM_HUB_SUPPORT
...
USBHOST hub support for TARGET_STM
2017-05-15 16:01:34 +01:00
Bartek Szatkowski
6a0fcd3c58
Reduce test overhead in preparation for CMSIS 5
...
Reduce RAM consumption so all tests can still be built when using
CMSIS/RTX5. Also reduce clutter by removing the per target stack size
defines in the tests.
2017-05-14 19:25:19 -05:00
Kevin Bracey
69ec30b7b9
Disable lwIP checksum-on-copy
...
Current version of lwIP has a bug in its checksum-on-copy code - see
https://github.com/ARMmbed/mbed-os/issues/4140
and https://savannah.nongnu.org/bugs/?50914
Pending a fix from lwIP, set LWIP_CHECKSUM_ON_COPY to 0 to work around.
Will impact performance.
2017-05-12 10:24:17 +03:00
Martin Kojtal
1c2ebf83f5
unsupported/net: removal of net libraries
...
Remove all unsupported net libraries from features/unsupported. There's already lwip for mbed OS that we support, and cellular will come soon to the codebase reworked.
Plus remove unsupported/tests for these libraries.
2017-05-11 17:32:44 -05:00
Seppo Takalo
bb7eecaedc
Merge commit '1d3c49a408faa231d18d83fb03c65425cf22c507' into nanostack-libservice
...
* commit '1d3c49a408faa231d18d83fb03c65425cf22c507':
Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 67affc61b..6444c8a4f
2017-05-11 13:38:20 +03:00
Michel Jaouen
f27f3bbfee
USBHOST: fix build for TARGET_STM
2017-05-10 09:33:29 +02:00
Mika Leppänen
55753be8ef
lwip corrected coverity and compiler warnings
...
Coverity ids: 1373147 and 1374442.
2017-05-10 10:20:44 +03:00
Mika Leppänen
053139b85d
lwip added support for random library and TCP ISN initialisation
...
lwip now uses mbed client random library under common pal when available.
Ported lwip reference TCP initial sequence number handling to mbed-os
lwip stack. Handling is based on RFC 6528.
2017-05-10 10:20:44 +03:00
Michel Jaouen
c4a049750b
USBHOST : TARGET_STM small speed device not supported on hub
...
add warn small speed device are connected on hub
2017-05-09 16:18:34 +02:00
Michel Jaouen
fdde91037f
USBHOST : mouse fix for high speed mouse
2017-05-09 16:18:33 +02:00
Michel Jaouen
fdec62002e
USBHOST: TARGET_STM add more hub to support larger hub
2017-05-09 16:18:32 +02:00
Michel Jaouen
f3c6f95b0a
USBHOST: USBHOST_OTHER Add timeout on TD (indentation)
2017-05-09 16:18:32 +02:00
Michel Jaouen
309b9aef62
USBHOST TARGET_STM : changes for hub support
2017-05-09 16:18:31 +02:00
Michel Jaouen
c860377464
USBHOST : USBHOST_OTHER add control disable counter
2017-05-09 16:18:30 +02:00
Michel Jaouen
73d8e5e9ef
USBHOST: USBHOST_OTHER fix in endpoint
...
- set_state specific
- speed init
2017-05-09 16:18:29 +02:00
Michel Jaouen
ccce1c5273
USBHOST : change interrupt endpoint behaviour
...
In case interrupt reports error,
call back can send interrupt request again.
2017-05-09 16:18:29 +02:00
Michel Jaouen
fa2abd22c7
USBHost : USBHostHID , USBHostHub fix indentation.
2017-05-09 16:18:28 +02:00
Michel Jaouen
bae762eb24
USBHOST: put deviceInited to false when device disconnected
2017-05-09 16:18:27 +02:00
Michel Jaouen
bf2fc0a2cf
USBHOST : as DISCONNECTED_EVENT from root hub is sent in irq handler
...
and connection from hub are sent from usb task.
A connection on an hub port can be sent ,
after irq disconnection from root hub.
2017-05-09 16:18:26 +02:00
Michel Jaouen
41f12260b1
USBHost : fix indentation USBHost.cpp
2017-05-09 16:18:25 +02:00
Michel Jaouen
27877bd4e8
USBHOST : fix disconnection during device registering
2017-05-09 16:18:24 +02:00
Andrzej Puzdrowski
1f1168a51e
NRF5: changes for code review of merg nrf52840 to NRF5 sources
...
s140 headers renamed form ble_* to nrf_ble_*,
Removed s130 and s132 headers named form ble_*
(Them had been added by #2ff572682798562e812015dc775b5896e0fda5a4)
Headers inclusinons were changed in order to meet above changes.
Revrted bad change in us_ticker.c:
use __disable_irq lock instead of core_util_critical_section_enter lock
for setting rtc1 tick for systick emulation as was good before.
2017-05-09 15:43:30 +02:00
Jimmy Brisson
3b11b23371
Merge pull request #4238 from tung7970/fix-mbedos
...
lwip - power up emac before reading its settings
2017-05-08 11:15:45 -05:00
Anna Bridge
a85873c863
Merge pull request #4248 from screamerbg/fix/stm32-usb-support
...
Fixed STM32 USB Device support for mbed Classic
2017-05-05 13:51:38 +01:00
Kevin Bracey
984e87d8e9
NSAPI - Don't send trailing garbage in DNS queries
...
Observed during investigation of
https://github.com/ARMmbed/mbed-os/issues/4246 - DNS queries sent
the entire buffer, not just the bit filled in.
Inefficient, especially for 6LoWPAN, and a security hole - the trailing
data could be previously-used heap.
2017-05-05 11:35:48 +03:00
Anna Bridge
e2469ecbba
Merge pull request #4186 from geky/fs-dot-entries
...
Filesystem: Include '.' and '..' in directory iteration
2017-05-04 15:55:41 +01:00
Anna Bridge
9a3122af39
Merge pull request #4254 from 0x6d61726b/patch-3
...
Removed unused variable in TARGET_NXP/lpc17_emac.c
2017-05-04 15:47:43 +01:00
Jimmy Brisson
d123ee1162
Merge pull request #4155 from karsev/thread_sec_policy
...
Thread sec policy
2017-05-02 11:33:25 -05:00
0x6d61726b
acf18ac9c7
removed warning: unused variable 'ethhdr' [-Wunused-variable]
2017-04-30 16:29:47 +02:00
Mihail Stoyanov
301ce550c9
Fixed STM32 USB Device support by migrating all specific target headers to unsupported features where they belong until USB support is officially introduced in mbed OS 5
2017-04-28 17:23:07 +01:00
Tony Wu
0b2bfca6da
lwip - delay mbed_lwip_set_mac_address until device is inited
...
mbed_lwip_set_mac_address calls mbed_mac_address to get hwaddr
from device, but device may not be accessible until it is powered
up and initialized.
This patch delays mbed_lwip_set_mac_address call until device is
ready.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-04-28 00:30:40 +08:00
Tony Wu
cdc40ff3bb
lwip - power up emac before reading its settings
...
emac settings are only available after powered up.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-04-28 00:15:07 +08:00
Seppo Takalo
fb91d73606
Merge commit '8d65f6d10a610bd4305528f7338e081059a93fb8' as 'features/FEATURE_COMMON_PAL/nanostack-libservice'
2017-04-27 15:19:39 +03:00
Seppo Takalo
210508b801
Remove libservice, to be added as a subtree
2017-04-27 15:15:30 +03:00
Andrzej Puzdrowski
53c6f853c0
Apply resloution for the "Read long UUID of service problem" according to
...
NRFFOETT-1674.
2017-04-27 12:15:58 +02:00
Andrzej Puzdrowski
b2080ab6d9
Make NRF5 BLE implementation compatible with SoftDevice API 2.x.x,3.x.x,5.0.0-1.alpha by
...
Copy of changes from
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5_SDK13/source
to
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF5/source
2017-04-27 09:46:38 +02:00
Jimmy Brisson
143e3462a3
Merge pull request #4210 from adbridge/usb_logo
...
USB: Added support for the logo key to the keyboard
2017-04-24 10:56:29 -05:00
adbridge
d23520ebb2
Maxim USB library update
...
Adding support for new platforms into official USB library
2017-04-21 17:06:46 +01:00