Desmond Chen
30ca813f07
Fix BLE long write execution failure
2018-12-19 08:08:16 -08:00
Martin Kojtal
06748af2f8
Merge pull request #9079 from kegilbert/TCPSocket-accept-statelog
...
Add socket stat logging state change update
2018-12-18 08:06:05 +00:00
Martin Kojtal
eda1952a74
Merge pull request #9053 from NXPmicro/Add-Support-RapidIoT-KW41Z
...
Rapid-IoT: Add support for the KW41Z side of the platform
2018-12-18 08:05:42 +00:00
Cruz Monrreal
42f01f3db2
Merge pull request #9131 from cmonr/block-intervaltree-update
...
Add versioning limits to `intervaltree` module
2018-12-17 15:39:05 -06:00
Cruz Monrreal
80c6f5f8ee
Merge pull request #8972 from kjbracey-arm/merge_file_truncate
...
Merge feature-posix branch (FileHandle::truncate)
2018-12-17 14:49:56 -06:00
Cruz Monrreal
7bf2fbdc10
Merge pull request #8655 from kjbracey-arm/debug-wb-off
...
Disable write buffer in debug builds (M3/M4)
2018-12-17 14:45:07 -06:00
Cruz Monrreal
2697913773
Merge pull request #8990 from davidsaada/david_fat_tests_low_mem
...
Adjust FAT FS tests to low memory boards
2018-12-17 14:44:38 -06:00
Cruz Monrreal
891427cb7d
Merge pull request #9097 from NXPmicro/Add_CM33FD
...
Update to add support for Cortex-M33FD
2018-12-17 14:44:20 -06:00
Cruz Monrreal
c7c24de8ba
Merge pull request #9100 from InfernoEmbedded/fix-8695
...
Align prototype & implementation of enet_tasklet_disconnect & friends
2018-12-17 14:44:03 -06:00
Cruz Monrreal
ff6744c85e
Merge pull request #9105 from LaurentLouf/improve-precision-duty-cycle-pwm-stm
...
Add some rounding to determine the pulse value for PWM for the STM target
2018-12-17 14:43:43 -06:00
Cruz Monrreal
0100cede7c
Merge pull request #9107 from bridadan/patch_os2_tests
...
Fixing execution of OS2 tests
2018-12-17 14:43:27 -06:00
Cruz Monrreal
eed3fb12c7
Merge pull request #9109 from kjbracey-arm/fseek_test_rework
...
Rework fseek/ftell tests
2018-12-17 14:43:06 -06:00
Cruz Monrreal II
a639014949
Intervaltree version update (3.0.0) caused builds to break.
...
Capping version to latest 2.x
2018-12-16 22:00:36 -06:00
Christopher Haster
8db2c0d00b
Added filesystem implementations of truncate
...
- File::truncate
- FileSystem::file_truncate
- FATFileSystem::file_truncate
- LittleFileSystem::file_truncate
2018-12-14 19:29:29 +02:00
Kevin Bracey
7b5939c05b
Add ftruncate / fstat(st_size) unit test
2018-12-14 19:29:29 +02:00
Kevin Bracey
ae17f6ebba
Add FileHandle::truncate and ftruncate
...
Add support for file truncation (or extension) to the abstract API.
No hooks to actual implementations in this commit.
2018-12-14 19:29:28 +02:00
Kevin Bracey
ff7a316a32
Rework fseek/ftell tests
...
ARM C library is really good at optimising out calls to underlying
seek. The only ones we were actually detecting in the empty file case
were the ones that the default FileHandle::size() made itself during
the SEEK_END case.
When we implement TestFile::size() directly, we will no longer see
a single seek call from the ARM C library in the empty file case, so
remove those tests.
Beef up the non-empty file case, adding checks that we are making
underlying read+write calls in the correct position, as a proxy for
direct checks for underlying seek being called.
2018-12-14 19:29:27 +02:00
Cruz Monrreal
463a4536e2
Merge pull request #8961 from marcemmers/this-thread
...
ThisThread get_name()
2018-12-14 11:13:31 -06:00
Cruz Monrreal
64e7e468b2
Merge pull request #9089 from jeromecoutant/DEV_QSPI_TEST
...
STM32 QSPI update
2018-12-14 10:14:13 -06:00
Cruz Monrreal
6380d8826e
Merge pull request #9101 from jarvte/fix_pppmode_wrong_stack
...
Cellular: Fix to use PPP stack in PPP mode
2018-12-14 10:13:52 -06:00
Brian Daniels
27bcaa47d5
Fixing execution of OS2 tests
2018-12-14 09:58:09 -06:00
Mahesh Mahadevan
3d8d65be6a
Rapid-IoT: Add support for the KW41Z side of the platform
...
Add support for the KW41Z side of the RapidIoT platform. This requires the latest
DAPLink binary to be programmed on the RapidIoT platform, binary can be downloaded
from the below link:
https://armmbed.github.io/DAPLink/
Also, the KW41Z side on RapidIoT does not have a serial port connected to the Debug
terminal. Therefore a SerialPassThrough program should be flashed and running on the
K64F side of RapidIoT platform for the mbed tests to pass.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-14 06:35:43 -06:00
Alastair D'Silva
d527585394
Align prototype & implementation of enet_tasklet_disconnect & friends
...
Rework of #8698
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-14 22:19:39 +11:00
Laurent Louf
db3f05e5fe
Add some rounding to determine the pulse value for PWM for the STM target.
2018-12-14 12:08:09 +01:00
Teppo Järvelin
fc4ed93e08
Cellular: Fix to use PPP stack in PPP mode
...
In QUECTEL_BG96 and QUECTEL_BC95 there was missing #ifdefs for
PPP mode and our stack was used. Also BG96 needed to be added
AT_CellularBase::AT_CGDATA as not supported.
2018-12-14 09:40:33 +02:00
Conrad Braam
3b138fba02
Fix long writes/reads stack overflowing ( #8802 )
...
* writes and reads queue, not overflow stack IOTPAN-295
2018-12-13 18:18:01 -06:00
Cruz Monrreal
ecd1133baf
Merge pull request #8819 from lorjala/unittests-docs
...
Improve the unit testing documentation
2018-12-13 18:17:12 -06:00
Cruz Monrreal
8bd1d06e9a
Merge pull request #8866 from AriParkkila/cell-cinterion-module
...
Cellular: Refactored GEMALTO_CINTERION_Module to GEMALTO_CINTERION
2018-12-13 18:16:13 -06:00
Cruz Monrreal
49103d8b0c
Merge pull request #8978 from JojoS62/fix-LPC1549-stack_top-linkerfile
...
fixed wrong __StackTop calculation
2018-12-13 18:15:58 -06:00
Cruz Monrreal
945a52df1c
Merge pull request #9052 from mirelachirica/at_handler_fix_consume_to_stop_tag
...
Cellular: Rewrite AT handler consume to tag
2018-12-13 18:15:42 -06:00
Cruz Monrreal
839e00509b
Merge pull request #9054 from theamirocohen/nvstore_max_keys
...
Fix max_keys reset limitation
2018-12-13 18:15:16 -06:00
Cruz Monrreal
5e42fc0e74
Merge pull request #9057 from offirko/offir_qspif_prefer_144_mode
...
Prefer QSPI Bus mode 1-4-4 as highest priority for QSPIFBlockDevice
2018-12-13 18:15:04 -06:00
Cruz Monrreal
f0a2b1dcb6
Merge pull request #9085 from u-blox/C030_PinName
...
U-blox C030 PinNames Updated
2018-12-13 18:14:52 -06:00
Cruz Monrreal
9606e3e100
Merge pull request #9087 from theamirocohen/kvstore_general_tests
...
kvstore tests: reduce reset
2018-12-13 18:14:38 -06:00
kegilbert
ee3945dfa3
Add socket stat logging state change update
...
TCPServer was deprecated and the accept call was added to TCPSocket. Add state change update to that call
2018-12-13 14:50:56 -06:00
Mahesh Mahadevan
4649a6ee5f
Update to add support for Cortex-M33FD
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-13 14:11:49 -06:00
Anna Bridge
a91dccd901
Merge pull request #9072 from theotherjimmy/toggle-memory-defines
...
Enable stats reporting with a flag in targets.json
2018-12-13 15:10:46 +00:00
Kevin Bracey
bd413f1d82
Disable write buffer in debug builds (M3/M4)
...
As part of work to improve the debugging of exceptions, have
Mbed OS make an effort to make exceptions more precise in debug builds
at the cost of performance.
Related pyOCD work:
https://github.com/mbedmicro/pyOCD/pull/430
2018-12-13 16:32:38 +02:00
Kevin Bracey
f04904c6e8
CM3: Make ACTLR bit definitions conditional
...
The ACTLR register itself is conditional on chip revision, but its
bit definitions were always defined.
Make the the bit definitions also conditional, so it is possible to
produce portable code that sets DISDEFWBUF if available:
#ifdef SCnSCB_ACTLR_DISDEFWBUF_Msk
SCnSCB->ACTLR |= SCnSCB_ACTLR_DISDEFWBUF_Msk;
#endif
(cherry-picked from CMSIS b2b04dbeece0a046556bfc320bef6b20bef3f16f)
2018-12-13 16:31:53 +02:00
David Saada
713b4704f2
Adjust FAT FS tests to low memory boards
...
This is achieved by checking whether the board can allocate a certain memory
chunk (threshold) and skipping the test if it can't.
This should prevent these boards from failing in CI.
2018-12-13 15:26:31 +02:00
Amir Cohen
4fe7834928
Remove dead code
2018-12-13 13:34:08 +02:00
jeromecoutant
9790f67acc
STM32L4 QSPI: correct register address
2018-12-13 10:56:39 +01:00
jeromecoutant
40f6d58b89
STM32 QSPI: remove QUADSPI_BK2 as dual bank feature is not supported
2018-12-13 10:56:37 +01:00
jeromecoutant
fc548cdc05
STM32 QSPIF: add DISCO_L496AG, DISCO_F746NG and DISCO_F769NI
2018-12-13 10:56:36 +01:00
jeromecoutant
84ee55bfe0
QSPI tests: update STM32 boards configuration
...
NB: STM directory removed in flash_configs as there is no STM memory
2018-12-13 10:56:35 +01:00
jeromecoutant
dfa902ec6c
STM32 QSPI: frequency calculation update
2018-12-13 10:56:33 +01:00
jeromecoutant
5b5dcd8b26
Enable QSPI for DISCO F769 and L496
2018-12-13 10:56:33 +01:00
jeromecoutant
b5bc128e36
STM32L496 : add QSPI definition
2018-12-13 10:56:31 +01:00
jeromecoutant
4a6bc96345
STM32F769 : add QSPI definition
2018-12-13 10:56:29 +01:00
jeromecoutant
0af1ecd305
STM32 DISCO : enable QSPI tests when available
2018-12-13 10:56:27 +01:00