Commit Graph

21379 Commits (ce1929b5df3d0cbb2e83947df8f6c9cbd13b4092)

Author SHA1 Message Date
Cruz Monrreal ce1929b5df
Merge pull request #9045 from fredlee12001/patch-1
Fix wrong PIN config for RTL8195AM platform
2018-12-18 10:32:59 -06:00
Cruz Monrreal d969d46bbf
Merge pull request #9084 from AdamZhang0124/realtek-rtl8195am-Network_Socket_Update
Realtek-rtl8195am-Network_Socket_Updates
2018-12-18 10:31:25 -06:00
Cruz Monrreal 15765d6286
Merge pull request #9126 from fluidblue/master
Fix multiple definitions of '__aeabi_atexit'
2018-12-18 10:30:49 -06:00
Lu 1422379c24 Realtek-rtl8195am-Network Socket Updates
This PR addresses the issue of #8124.
It updates and enriches the wifi connection error type to adapt the Network Socket test plan requirement.
In the meantime, it increases the heap size that allows the transmission of larger packet size.

Description
1. Increase heap size in lwipstack\mbed_lib.json to fulfill bursty TCP and UDP transmission requirement.
2. Modify and enrich wifi connection error types in TARGET_AMEBA\RTWInterface.cpp to adapt the decision logic of the wifi test cases.
3. Add new static constants in TARGET_AMEBA\RTWInterface.h, including 'SSID_MAX_LENGTH', 'PASSPHRASE_MAX_LENGTH' and 'PASSPHRASE_MIN_LENGTH' to help verifying the validity of ssid and passphrase.

Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-18 17:18:32 +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
fluidblue 96b345444b Removed GCC_CR toolchain for LPC11U68 2018-12-17 15:54:13 +01:00
Fluidblue c9eb60c6e2
Prevent multiple __aeabi_atexit definition linker error (GCC_CR) 2018-12-17 15:01:00 +01:00
Fluidblue 69ef8043a6
Prevent multiple __aeabi_atexit definition linker error (GCC_ARM) 2018-12-17 15:00:27 +01: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