Commit Graph

28001 Commits (0f5c3f0b37eadb50fd6982fe81f330723ea1a467)

Author SHA1 Message Date
Anna Bridge 0770798bd2
Merge pull request #12048 from kjbracey-arm/sharedptr_nullptr
SharedPtr: add nullptr constructor
2019-12-17 16:21:54 +00:00
Anna Bridge 6b4262f7a0
Merge pull request #12032 from kjbracey-arm/fallthrough
Add MBED_FALLTHROUGH attribute
2019-12-17 16:20:35 +00:00
Anna Bridge 3ad3110888
Merge pull request #12019 from shuopeng-deng/pr/cypress-lptimer-hal-rework
Cypress: rework lptimer hal
2019-12-17 16:19:43 +00:00
Martin Kojtal e2ee3817be
Merge pull request #12108 from juhhei01/patch-1
Wi-sun network event handler update
2019-12-17 10:11:29 +01:00
Anna Bridge c374f529a1
Merge pull request #12117 from mprse/storage_static_pinmap_fix
Storage features: fix static pin-map for ARMC5
2019-12-16 16:06:39 +00:00
Anna Bridge 808073bbdf
Merge pull request #12112 from madchutney/btools/config-exception-515
Notify on configuration exception rather than breaking build
2019-12-16 15:50:47 +00:00
Marcin Tomczyk 35e2c9d315 ONME-4433 SocketAddress::operator== should also check port 2019-12-16 15:38:49 +01:00
Przemyslaw Stekiel 25f354fe1f storage: fix static pin-map for ARMC5 2019-12-16 15:38:07 +01:00
Przemysław Gąsior eee46665d2 Fixed Serial ambiguity for enable_input and output 2019-12-16 15:01:28 +01:00
Antti Kauppila 6d0b2fae9b Moved CP Max recv len into mbed_lib.json
According to [3GPP-TS_24.008] the maximum size for Non-IP link MTU is 1358 octets to prevent fragmentation in the backbone network.
Therefore reduced the maximum size to follow the standard.
2019-12-16 15:48:46 +02:00
Przemyslaw Stekiel e0e280aeaf optimize can_init(): call can_init_freq() with default freq 2019-12-16 14:09:54 +01:00
Ari Parkkila 50ab644380 Cellular: Fix to not use all zero address for DNS 2019-12-16 04:56:45 -08:00
Rajkumar Kanagaraj 95f56bac30 Microlib: Disable feof function usage in tests
feof function is not supported in Microlib library. so disabling all the feof function usage in the green tea test.
2019-12-16 04:34:20 -08:00
Przemyslaw Stekiel 6a3e343ec6 Fix for issue #12104 (STM32 can_init_freq() ignores frequency) 2019-12-16 13:16:51 +01:00
Graham Hammond 9cdf5fc31d Notify on configuration exception rather than breaking build 2019-12-16 11:55:26 +00:00
Juha Heiskanen 3e51bd41ee Wi-sun network event handler update
Wi-sun network event ARM_NWK_NWK_CONNECTION_DOWN will set Bootstrap state to active and notify interface state to MESH_BOOTSTRAP_STARTED
2019-12-16 12:56:53 +02:00
Martin Kojtal f77f4ea911
Merge pull request #12085 from jainvikas8/fix-12084
PSA setup template changes.
2019-12-16 09:58:09 +01:00
Martin Kojtal fd4288a0dc
Merge pull request #12027 from michalpasztamobica/dns_module_test
Modify nsapi_dns tests to be module tests
2019-12-16 09:49:16 +01:00
Martin Kojtal 4aeaab46cf
Merge pull request #11866 from devran01/update_pycryptodome_version
Update pycryptodome version
2019-12-16 09:11:32 +01:00
Mahesh Mahadevan a947c523ea MXRT1050: Formatting update
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:24 -06:00
Mahesh Mahadevan 3b5ca18924 Update MXRT sleep function
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:23 -06:00
Mahesh Mahadevan 126df98c39 MIMXRT1050: Update UART driver
The UART first instance is 1 and not 0. Update the code logic to account
for this.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:22 -06:00
Mahesh Mahadevan 3a0269c805 MIMXRT1050: Update the usticker driver
The PIT module should be initialized only once

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:21 -06:00
Mahesh Mahadevan 2d32e43713 MXRT: Update the LPTimer driver
1. Run in doze mode
2. Add implementation for free function

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:20 -06:00
Mahesh Mahadevan 4efbe621e2 MXRT: Update GPIO IRQ hal driver
The SDK header provides separate arrays for high and low
GPIO interrupts in place of the previous combined array

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:20 -06:00
Mahesh Mahadevan c538919254 MIMXRT1050: Update the ENET driver to use wait_us
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:19 -06:00
Mahesh Mahadevan d75d9a605d MIMXRT1050: Update target configuration
1. Add defines to copy ram & no-cache functions
2. Add deep sleep latency definition

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:18 -06:00
Mahesh Mahadevan d117f0df79 MXRT1050: Do not switch 24M source to reduce latency
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:17 -06:00
Mahesh Mahadevan c92c29ffbd MIMXRT1050: Update the low power driver to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:16 -06:00
Anna Bridge d128ff4882
Merge pull request #11961 from hugueskamba/hk-add-unbuffered-serial-class
UnbufferedSerial: Introduce the class to replace RawSerial
2019-12-13 15:54:40 +00:00
Alexandre Bourdiol 528ac279fe Targets: adapt NUCLEO_G071RB to CMSIS-pack info update 2019-12-13 16:42:40 +01:00
Alexandre Bourdiol d4027cdc3d
Merge pull request #1 from JanneKiiskila/CMSIS-pack-STM32G-series
Update CMSIS-pack info for STM32G-family
2019-12-13 16:27:55 +01:00
Janne Kiiskila cec05474b2 Update CMSIS-pack info for STM32G-family
Update the CMSIS-pack info to `index.json` in arm_pack_manager -folder.
The update happens via python project.py --update-packs and a modified
version of the cmsis-pack-manager tool, which allows the download of
(most) CMSIS-pack files. The changes for this family ONLY are then updated
to the `index.json` -file.

Mbed OS PR #12093 need this change, as they refer to a target (device_name)
from the updated CMSIS-packs.

Ref: https://github.com/ARMmbed/mbed-os/pull/12093
2019-12-13 16:18:43 +02:00
Anna Bridge 8fb43a8db5
Merge pull request #11817 from AnttiKauppila/esp_fix
ESP8266 "busy s..." fix (ONME-4352)
2019-12-13 11:27:25 +00:00
jaco.olivier ef5da02a68 Implemented recommended fix from https://github.com/STMicroelectronics/STM32CubeF4/issues/5 2019-12-13 10:48:38 +02:00
Antti Kauppila abf2ea94ba
Wrong order of code fixed
The source file had dead code because code was behind return and therefore unreachable. Order was changed to have correct behaviour
2019-12-13 08:40:59 +02:00
Shuopeng Deng 6f3852dd59 fix 'enumerated type mixed with another type' IAR warnings 2019-12-12 17:05:11 -08:00
Shuopeng Deng 7817a228e9 fix 'statement is unreachable' IAR warning 2019-12-12 17:05:11 -08:00
Mahesh Mahadevan 2bb8184460 MIMXRT1050: Update the XIP file from SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:51 -06:00
Mahesh Mahadevan b906d259d8 MIMXRT1050: Update the mbed_overrides file
1. No need to copy RAM functions, this is done in the startup file
2. Update memory config for the FLASH section
3. Configure the PMIC_STDBY pin
4. Update UART clock setting

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:50 -06:00
Mahesh Mahadevan 6c3adb026c MIMXRT1050: Update the clock driver to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:48 -06:00
Mahesh Mahadevan 96f834eb20 MIMXRT1050: Update the ENET PHY driver from SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:47 -06:00
Mahesh Mahadevan b7ca64bbeb MIMXRT1050: Update linker scripts & startup files from SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:45 -06:00
Mahesh Mahadevan aaa4a91c4b MIMXRT1050: Update the device files to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:44 -06:00
Mahesh Mahadevan 70cba03e08 MIMXRT1050: Use __ramfunc keyword to copy functions to RAM
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:42 -06:00
Mahesh Mahadevan 44de6d49c2 MIMXRT1050: Update the drivers to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-12 13:52:40 -06:00
Anna Bridge 8fcfbe117f
Merge pull request #12079 from AnttiKauppila/coverity_fixes
Coverity fixes
2019-12-12 16:28:12 +00:00
Antti Kauppila 142581cf62 Added error handling in case Valgrind tool not found 2019-12-12 15:30:23 +02:00
Antti Kauppila 25a6e9d201 Valgrind support added for unittests
Added an option to select Valgrind to be used for unittests from command line
2019-12-12 15:30:23 +02:00
Alexandre Bourdiol 7c52aa59ec TARGET_STM: add support of board NUCLEO_G071RB 2019-12-12 14:00:04 +01:00