Commit Graph

1235 Commits (mbed-os-5.6)

Author SHA1 Message Date
Steven Cooreman 1f47dabab6 Use mbed_sleep API instead of Silicon Labs specific sleepmode API 2017-12-01 17:01:46 +00:00
Steven Cooreman 1f7a98233a Clear TX FIFO on every transmit
Need to avoid a TX packet error from messing up the TX FIFO. Since this API will return busy if a packet is in transmission anyways, this is acceptable.
2017-12-01 17:01:46 +00:00
Steven Cooreman 003195071a Add sleep mode blocking to avoid going into EM2 during RTOS idle handler 2017-12-01 17:01:46 +00:00
Steven Cooreman 5e1c15ac47 Upgrade RAIL to v2.1.1 2017-12-01 17:01:46 +00:00
bcostm 88399cd003 DISCO_F746NG: add usp_speed config 2017-12-01 17:01:46 +00:00
Steven Cooreman bc356a3ea5 Convert USB library from em_int to em_core 2017-12-01 17:01:46 +00:00
Vincent Coubard aca711aab6 Nordic: Set handle of user description descriptors. 2017-12-01 17:01:45 +00:00
Mahadevan Mahesh 0bf774b925 LPC546XX: Add ENET support
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-12-01 17:01:45 +00:00
bcostm 66cdf083d1 STM32 USBDevice: Add DISCO_F429ZI 2017-12-01 17:01:43 +00:00
Colin Hogben c065e02653 FATFileSystem: provide working dir_rewind and dir_seek
The index field of FATFS_DIR does not encapsulate all the context
required to reposition the directory traversal.  ChaN provides
f_rewinddir() but no directory seek, so rewind if necessary then step
through until the desired index is reached.
2017-12-01 17:01:43 +00:00
Steven Cooreman 8657958d51 Apply feedback by @Patater 2017-11-17 14:55:51 +00:00
Steven Cooreman c6a6585591 Cosmetic fix 2017-11-17 14:55:51 +00:00
stcoorem c5ac3ee529 Applied @yanesca and @andresag01 comments (#4825) 2017-11-17 14:55:51 +00:00
Steven Cooreman 843d5c1d0b Apply feedback from @RonEld
* Use _C flags at compile time in SHA to avoid compiling in unconfigured features
* Don't define ECP_SHORTWEIERSTRASS since it is part of the application's configuration
2017-11-17 14:55:50 +00:00
Steven Cooreman 704a0dc2a1 cryptographic acceleration support
Initial commit of mbed TLS hardware acceleration drivers for Silicon Labs parts
2017-11-17 14:55:50 +00:00
Vincent Coubard 948f47282a BLE: Fix assertion in Battery service. 2017-11-17 14:55:49 +00:00
Amanda Butler b2b24807c3 Copy edit BatteryService.h
Make minor copy edits, mostly for active voice and U.S. spelling.
2017-11-17 14:55:49 +00:00
Vincent Coubard dba0135a44 BLE: Update BatteryService documentation. 2017-11-17 14:55:49 +00:00
Andrea Corrado 6de5b39f3f introduced mbed Connect Cloud board based on ODIN-W2 Module rety commit, added ublox changes
Corrected error

Corrected error in targets json

Reworked JSON

Added lwip-eth to Connect ODIN removes ARM CC error

Fixed formating issues

Correct formating error in  .json

Indentation errors
2017-11-17 14:55:47 +00:00
Kevin Gilbert 05a36aafe8 Remove build warnings in LWIP 2017-11-17 14:55:47 +00:00
Chris Snow 761c57876b Fix ETHMEM_SECTION placement for ARM on LPC1768 2017-11-17 14:55:47 +00:00
Ryan Kurte a95fcbf40b Swapped to macro definition for debug prints 2017-11-17 14:55:46 +00:00
Ryan Kurte b1c4fa3f34 Added critical section around rf_start_cca 2017-11-17 14:55:46 +00:00
Ryan Kurte b66b28c08a Threaded wrapper for rail driver on EFR32 platforms
Updated NanostackRfPhyEfr32 with a receive queue.
Cleaned up debug messages, re-added to non-threaded calls.

Removed debug print override

Removed tr_debug override

Removed normal-operation prints that could have timing implications if enabled

Removed dead NVIC code (and a couple of dead log outputs)
2017-11-17 14:55:46 +00:00
Laurent MEUNIER 157150ec91 STM32: Extend Ethernet RMII workaround
to all applicable devices part of F77x/F76x series.
2017-11-17 14:55:45 +00:00
Laurent MEUNIER 36190391cf STM32: Ethernet: Workaround for STM32_F767 revA
On STM32 F767 rev A devices ,Ethernet peripheral had problems on RMII
interface, on MII this was not the case.

This commits implements a tentative workaround for the issue rerfered to
as Ethernet erroneous data received in RMII configuration in the Errata
sheet below:
http://www.st.com/content/ccc/resource/technical/document/errata_sheet/group0/23/a6/11/0b/30/24/46/a5/DM00257543/files/DM00257543.pdf/jcr:content/translations/en.DM00257543.pdf

Note that the issue has been fixed in 'Z' revision. of STM32 F767 MCUs.
2017-11-03 13:02:57 +00:00
Vincent Coubard cfe4c7a649 BLE: Fix typos in iBeacon documentation. 2017-11-03 13:02:57 +00:00
Amanda Butler 756df3ebe4 Copy edit iBeacon.h
Make minor copy edits.
2017-11-03 13:02:57 +00:00
Vincent Coubard e4ac455e07 BLE: Fix conjugation and spelling of iBeacon documentation. 2017-11-03 13:02:57 +00:00
Vincent Coubard 054a301b4f BLE: iBeacon minor edit. 2017-11-03 13:02:56 +00:00
Vincent Coubard fd603c7e68 BLE: Update iBeacon documentation.
Provide detailled description of the purpose, general concepts and usage.
2017-11-03 13:02:56 +00:00
Gabor Kertesz 4ffe2aa612 Beetle BLE: Fix variable length GATT attribute
Variable length flag was lost during attribute settings,
so variable length GATT attributes should have been set
to the predefined maximum length.
This fixes issue #86.

Change-Id: Ia0cd236ecd903fdb9e62a21bffef57d1e63764b9
2017-11-03 13:02:56 +00:00
Kevin Gilbert b0ab46e271 Resolve doxygen warning in filesystems 2017-11-03 13:02:51 +00:00
Kevin Gilbert 48e87a09f6 Change address subtraction when moving through block devices to be the size of the entire block device not the block size 2017-11-03 12:59:06 +00:00
Piotr Grygorczuk 3724b25626 mbed LPC1768 & Xpresso LPC1769 unified
Target of LPC1769 links to mbed LPC1768.
The PinNames.h has conditional compile for the pin names.
LWIP lpc17xx emac driver modified to allow LPC1769 target
2017-11-03 12:59:05 +00:00
bcostm ffc19cb04c STM32: Remove lwip compilation warnings 2017-11-03 12:59:05 +00:00
Roberto Spelta c6f68b21b5 removed memory allocation 2017-10-20 16:18:30 +01:00
Roberto Spelta d98fc9538c modified mesh_system.c to improve memory 2017-10-20 16:18:30 +01:00
Kevin Gilbert fceea7a597 Add additional information on the block parameter in the HeapBlockDevice ctor 2017-10-20 16:18:29 +01:00
Alexander Zilberkant b855fde736 uVisor: Upgrade to v0.31.0 2017-10-20 16:18:29 +01:00
Kevin Gilbert 06bd5297af Add erase to example
Use defined blocksize constant
2017-10-20 16:18:29 +01:00
Kevin Gilbert 6f9a6787af Update HeapBlockDevice example in header file to compile 2017-10-20 16:18:29 +01:00
Seppo Takalo d3f9dd3913 Enable MPL by default for 6LoWPAN-ND.
In Thread network, MPL is already enabled so this causes
both to behave similarly.
2017-10-20 16:18:28 +01:00
Kevin Bracey 62b5b443b0 lwIP: Add memory configs to JSON
We currently set the lwIP pbuf pool size small - to 5 x 576-byte
buffers.

This is insufficient to hold a single DTLS handshake flight, so can
cause cloud client connections to fail. STM-based platforms are failing
handshake because of this. (K64F works because it doesn't use the pbuf
pool for reception, but lwIP does recommend drivers use the pbuf pool).

Not changing the default memory sizes here, as intended for a patch
release, but adding mbed configuration options to allow the numbers to
be adjusted for memory tuning in an application.

In a future minor revision, I would recommend increasing the default
PBUF_POOL_SIZE - we are well below lwIP's out-of-the-box default - and
offsetting by a reduction in MEM_SIZE for the drivers that don't use
PBUF_RAM.
2017-10-20 16:18:28 +01:00
Rob Meades 006ca97478 Enable crypto HW acceleration for STM32F437xG platforms (i.e. ublox C030 family). 2017-10-20 16:18:28 +01:00
Akos Kiss f926eb430d Fix documentation of BLE GattCharacteristic
The constructor doc incorrectly suggested that only short (16-bit)
UUIDs were accepted. The same doc also referred to properties
instead of characteristics. (And to "value length", which seemed to
be completely out of place in the context of the current code.)
2017-10-20 16:18:27 +01:00
cyliangtw 8c987698ad Fixed ethernet multi-function pin 2017-10-20 16:18:27 +01:00
Juhani Puurula 8dbedf6bc0 Nanostack v6.2.2 2017-10-06 14:12:48 +01:00
Mika Leppänen 7170882077 Mapped lwip buffer error to nsapi no memory error 2017-10-06 14:12:46 +01:00
Sarah Marsh 4da41d7fb8 Remove LWIP tests 2017-10-06 14:12:45 +01:00