Commit Graph

27807 Commits (cc75c59d8236cfe1aab4cdf88c7b741c8b956bc3)

Author SHA1 Message Date
Arto Kinnunen cc75c59d82 Revert "Disable sleep on STM32F4 as an workaround for stability issues."
This reverts commit c3ef3cac09.
2020-03-31 09:38:25 +03:00
Arto Kinnunen aa375c43fe
Merge pull request #12656 from artokin/fea_wisun_nanostack_device_type_config
[feature-wisun] Nanostack: Add config for Wi-SUN device type
2020-03-23 11:58:59 +02:00
Arto Kinnunen 0051c0ee74 Nanostack: Add config for Wi-SUN device type
Add configuration option for Wi-SUN device types.
2020-03-19 17:02:47 +02:00
Arto Kinnunen b3c529b19e
Merge pull request #12562 from artokin/feature_wisun_update_MIMXRT1050
[feature-wisun] Cherry-pick MIMXRT1050 commits to feature branch
2020-03-09 12:33:36 +02:00
Mahesh Mahadevan c0418058fa MIMXRT1050: Update for deep sleep latency
1. Do not disable and enable osillators during deep sleep
   entry and exit
2. Increase the deep sleep to pass tests

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:05:49 +02:00
Mahesh Mahadevan ba554b5e20 MXRT1050: Add bootloader support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:05:13 +02:00
Mahesh Mahadevan 11c7d0caed MIMXRT1050: Enable FlashIAP support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:03:52 +02:00
Mahesh Mahadevan 94e1f3f05f MIMXRT1050: Reduce NOR size used by mbed-os
Reserve 4MB for mbed-os. The rest is used by storage driver

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:01:15 +02:00
Mahesh Mahadevan 347a650b79 MXRT1050: Add support for Flash driver
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 16:00:34 +02:00
Mahesh Mahadevan 5ad6c9e31f MXRT1050: Update Flexspi driver to move functions to RAM
These functions are used to READ/WRITE to the Flexspi NOR

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:56:17 +02:00
Mahesh Mahadevan 2ee224913e MIMXRT1050: Add Watchdog support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:55:00 +02:00
Mahesh Mahadevan 408c80a838 MXRT1050: Formatting update
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 5a3cdcf4e7 Update MXRT sleep function
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan a513634ea3 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>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 43701a1773 MIMXRT1050: Update the usticker driver
The PIT module should be initialized only once

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 2240e06892 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>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 702150b871 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>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan b0b8df222a MIMXRT1050: Update the ENET driver to use wait_us
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 2b9961cd8c 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>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 3cbadf942e MXRT1050: Do not switch 24M source to reduce latency
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan a060909f9b MIMXRT1050: Update the low power driver to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 3c3e062bb8 MIMXRT1050: Update the XIP file from SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan be6ed39cfc 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>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan a66ecc6d66 MIMXRT1050: Update the clock driver to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan fbfa67dd1c MIMXRT1050: Update the ENET PHY driver from SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 0e853cdecf MIMXRT1050: Update linker scripts & startup files from SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 662c0f521e MIMXRT1050: Update the device files to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan 9ec0917f99 MIMXRT1050: Use __ramfunc keyword to copy functions to RAM
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Mahesh Mahadevan a706f1b48a MIMXRT1050: Update the drivers to SDK 2.6
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-03-03 15:53:12 +02:00
Arto Kinnunen a56a5d34ae
Merge pull request #12517 from teetak01/teetak01/sleep-workaround
[feature-wisun] Disable sleep on STM32F4 as an workaround for stability issues.
2020-03-02 13:01:16 +02:00
Arto Kinnunen b512574f41
Merge pull request #12516 from artokin/stm32_emac_driver_to_feature_wisun
[feature-wisun] Update STM32 EMAC driver - limit RX frame length
2020-02-28 14:00:07 +02:00
Martin Kojtal 6ba4c9a94b
Merge pull request #12515 from artokin/nanostack_for_feature_wisun
[feature-wisun] Nanostack release to feature_wisun branch
2020-02-28 11:47:00 +00:00
Teemu Takaluoma c3ef3cac09 Disable sleep on STM32F4 as an workaround for stability issues.
This workaround is related to Mbed OS issue
https://github.com/ARMmbed/mbed-os/issues/12294
2020-02-26 13:48:19 +02:00
Arto Kinnunen c4fe17cc91 Update STM32 EMAC driver based on review
-Fix len type
-Use ETH_RX_BUF_SIZE instead of hard-coded value 1500
2020-02-26 13:33:47 +02:00
Arto Kinnunen f06c93a1a2 Update STM32 EMAC driver - limit RX frame length
DISCO_F769NI EMAC driver may return ethernet packet with illegal
length when driver is under heavy load. In one case, the received
bytes indicate frame length of 53 bytes but advertised data length
was 65518 bytes. In another case EMAC driver variable
`EthHandle.RxFrameInfos.length` contained value 0xFFFF FFFC.

As a work-around accept only 1-1500 bytes long ethernet packets.
2020-02-26 13:33:41 +02:00
Arto Kinnunen dedc380b27 Update 802.15.4 RF drivers
Update atmel-rf-driver to version v3.0.9
Update mcr20a-rf-driver to v1.0.8
2020-02-26 13:23:52 +02:00
Arto Kinnunen 2936a6dbc0 RF802.11.4 S2LP driver sync with dev repository
Sync with version v1.0.1 in development repository.
2020-02-26 13:23:43 +02:00
Arto Kinnunen a237e58aa1 Merge commit '02e9af5a29789203f54f3c0d5dc91512f3a85e92' into feature-wisun
* commit '02e9af5a29789203f54f3c0d5dc91512f3a85e92':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
2020-02-26 13:23:21 +02:00
Arto Kinnunen 02e9af5a29 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 9b3e144f5b..fb7413b846
fb7413b846 Merge branch 'release_internal' into release_external
a9f6e88978 Merge branch 'master' into release_internal
c536960fb0 DHCPv6 Server feature update
01e7e820d5 Merge pull request #2314 from ARMmbed/update_from_mbedos
c906c43a8a Fixed typo: 'lenght' in ns_crc.h
2bd05584fe Wi-sun border router DHCPv6 server address alocation update
63e4680ca3 Allow buffer_dyn to handle more data (#2311)
9b82abff03 Copy IE unicast channel function from WS info instead of FHSS configu… (#2310)
18247d546f Wi-sun RPL memory soft and hard limit update
c8560dbe01 Updated RPL default memory sof and hard limit to 2/4 from 1/2.
05aa54c464 Update MPL parameters to follow Specification
f728d55920 Support for handle CRC error which will automatically change a channel.
6b6f535828 Corrected EUI-64 address bit flip on supplicant
015f3fe60e Corrected bitfield definition
7717ef8c60 Improved initial EAPOL-key send stop logic on supplicant
4185734223 Improved EAPOL key update retry logic
8bda176445 Wi-sun boot fix
6283dfd643 DIO advertisment fix
1acec7cdcc Aro Registation and Dao update
6cde17ad9c Iotthd 3963 2 (#2301)
b9187daa62 Randomize fixed channel when making new parent selection
34d0339a4d Wi-sun address registartion update
5b3055904a Allow unicast TX to overlap with MC (#2298)
d40b1c7d01 MAC: Updated calling FHSS TX done (#2295)
aeb93a16ae Add support for bbr configuration that removes default route from DIO
9b941af4b5 Use default UC channel function in discovery, fixed BC schedule (#2284)
d65fcc6bf2 Fix Wi-SUN network name comparison (#2294)
f085132543 Made parent set size configuraple in RPL
fd11ffae1a Added HAVE_WS flag to FHSS api (#2296)
4f275005fb Implemented optimal packet size test api (#2292)
87ee16a22b Call channel change after filtered out packet
d196ffc4c5 Refactor Wi-SUN BBR stop function
35970d7ea9 Revert "Disabled temporarily tx slot check for testing purposes (#2287)" (#2289)
8cc0ff508b Disabled temporarily tx slot check for testing purposes (#2287)
e306dc5adb Removed extra ";"
5642a4fe74 Free TX failed list when FHSS deleted (#2285)
9fcf718d22 Updated FHSS optimal packet length to 300 bytes (#2282)
427743f718 ETX and Source route validation update
7b6bcca842 Added TX/RX bytes in PHY statistics (#2281)
a043f8dc30 Wi-sun FHSS Management update
2ff90e6c0f Configure TXRX slot length using given datarate (#2275)
a126cb750d ETX sampling rule update
d5cf8d52e2 Clean ARMC6/GCC compiler warnings (#2278)
807632dd94 DHCP server freed next free allocated id
fd6ce049a3 Thread Child ml16 update clear old address queue's and registered address.
99e6efac6c Neighbour remove operation update
5cd094cd1d Corrected GTK update initial EAPOL-key trickle timer
7606ee87a9 Wi-sun NS Aro registration blacklisting update
e3e5a00c55 Timed parent selection timer trigger update
71441212ea RPL DIO Multicast message update
588f202a51 Wi-Sun RPL bootstrap update
20289f675d Added periodic RPL version number increase
d8dd18d89b Added ignoring of incoming security messages and improved EAP-TLS startup
73506346ca Corrected initial EAPOL-key trickle retries
ac33518493 Wi-sun ETX and proping update
11c486f391 Implemented unregistering FHSS from MAC. FHSS deleted in ifdown call. (#2266)
eabca172af Wi-Sun Border router DHCPV server SLAAC mode enabled by default.
1d6ce9c0a4 DHCPv6 Server feature update
46aa46042d Fixed unit test's.
c65292e9eb Mac enhanced ACK pending update
11a1e1d2de Store TX start channel and black list if TX failed (#2261)
04946065e4 Adapatation layer unicast list entry free update
4481e8635a Updated trace level to info.
c9e3d8ef74 Interface down update
1f77ad6964 Updated trace levels (#2258)
1d82fd5a5d Wi-sun BBR route update fix
33c48eb647 Removed NUD messages from registered children
ec2ea92b71 Added RX and TX active times in PHY statistics (#2255)
49686ccb3c Wi-sun certification test setup update
1090430622 Trickle API update and Wi-SUN config sol state timeout update
38df5768c5 Wi-sun advertisment consistent update
81740b8b1d Wi-sun bootstarp update nad balck list trace level update
6919ba1301 Wi-sun New key index activate.
0aead9305a Wi-sun Probe functionality revert operation
4ff02f9770 Stop sending normal ACK if neighbour is Unknown.
c387fda238 NS Probe limiter accept only 2 probe at 16 seconds period.
a58c71b96b Trace level updates (#2247)
6867dd7b27 Suplicant EAP-TLS timeout is not incremented from retries
1f1c2a24fa Test purpose change.
1b99fe18df Added ETX to rpl_possible_better_candidate
3441594157 RPL parent candidate list update
96ffe92744 Adaptation layer to support multiple simultaneous unicast transmissions (#2243)
45f851997f On stop (ifdown) stores frame counters regardless of threshold
5c2fc55f0e Corrected frame counter handling on re-discovery
930741617f Added check to prevent installing new GTK to used index using GKH
385ae14284 WS bootstrap: print MAC address
2b1dfb90ed Slaac address can be recreated after root stop
74ff3cc503 Merge branch 'release_internal' into release_external
66bfd985fb Fixed trace printing warnings.
21d9c24acd DHCP server address allocated pointer init fix.
e659a01241 Fixed compile warning for may uninitialized usage.
cee8502783 Fixed trace printing warnings.
bc9f07bd49 DHCP server address allocated pointer init fix.
e3fddadccf Fixed compile warning for may uninitialized usage.
bf909d29d3 Modified bbr restart mechanism when dodagid was lost

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: fb7413b846f0052d72c506ebab2534bcafdfff60
2020-02-26 13:22:45 +02:00
Arto Kinnunen 526f19d718 Merge commit '0a23c6b5960a3169530cd67643462151d1d715fe' into feature-wisun
* commit '0a23c6b5960a3169530cd67643462151d1d715fe':
  Squashed 'features/nanostack/coap-service/' changes from b919a3366f..e5e0c138e6
2020-02-26 13:22:26 +02:00
Arto Kinnunen 0a23c6b596 Squashed 'features/nanostack/coap-service/' changes from b919a3366f..e5e0c138e6
e5e0c138e6 Merge pull request #126 from ARMmbed/sync_from_mbedos
475b8f13fc Fixed typo: 'lenght' in coap_service_api.h

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: e5e0c138e68bfd9a4687e1b02ec4c7c95b2617f6
2020-02-26 13:22:25 +02:00
Arto Kinnunen 3c5613a4e2 Merge commit '316948e8997cd18891c1e06b4648da0001ceb794' into feature-wisun
* commit '316948e8997cd18891c1e06b4648da0001ceb794':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 9af756886f..9a61e73787
2020-02-26 13:22:02 +02:00
Arto Kinnunen 316948e899 Squashed 'features/frameworks/nanostack-libservice/' changes from 9af756886f..9a61e73787
9a61e73787 Merge pull request #89 from ARMmbed/update_from_mbedos
2a07f443ed Fixed typo: 'lenght' in ip6string.h
050aa7f31a Include ns_types.h before mbed_trace.h in Nanomesh

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: 9a61e737872ba60fa73e9375011f63e9e266577a
2020-02-26 13:22:02 +02:00
Martin Kojtal e642a7d8b3
Merge pull request #12372 from ARMmbed/release-candidate
Release candidate for mbed-os-5.15.1
2020-02-07 14:15:43 +00:00
Martin Kojtal 7b398c0abd Samsung: fix incorrect conflict resolution 2020-02-07 10:25:57 +00:00
jeromecoutant dd37ac3c04 STM32F0: clean main-thread-stack-size setting 2020-02-07 10:10:36 +00:00
jeromecoutant 8197d7625d STM32 remove unused INITIAL_SP macro 2020-02-07 10:10:27 +00:00
midd d11aa10e99 Update psoc6cm0p asset to 1.1.0 2020-02-06 11:29:29 +00:00
adbridge aa298c0769 Revert "Pairing fails when IPv6 enabled in SoftAP intf"
This reverts commit 18285e1fc1.
2020-02-06 11:27:33 +00:00
adbridge f86022a61d Fix indentation levels for comments in psa file 2020-02-05 16:34:55 +00:00