Commit Graph

28200 Commits (mbed-os-5.15.8-rc2)

Author SHA1 Message Date
Debdeep Saha 41ddf0ed64 Added API to reset MAC statistics and Wi-SUN statistics. 2021-05-26 18:09:37 +05:30
Debdeep Saha 6935ea343c Added API to get Wi-SUN Neighbor Table 2021-05-26 18:03:52 +05:30
Antti Yli-Tokola ee201bcd7d [mbed-os-5.15] Update mbed-coap to version v5.1.10
- Fix regression from previous release concerning 1024 byte blocksize operations.
- Do not store ACK's into duplicate list.
- Code size optimizations
2021-05-19 14:45:05 +03:00
Jarkko Paso 9e6ee264ba Mesh API: Functions to set/get/validate FAN v1.1 domain configuration. 2021-05-19 09:15:14 +03:00
Jarkko Paso 54963fac5c Fixed astyle issue 2021-05-19 09:15:13 +03:00
Jarkko Paso 49dc4c6cf8 Mesh api: Added PHY mode and channel plan IDs 2021-05-19 09:15:13 +03:00
Martin Kojtal 769fc9da70
Merge pull request #14502 from OpenNuvoton/nuvoton_m487_wdt_reset_from_powerdown_5.15
M487: Fix crash on WDT reset from power-down (5.15)
2021-05-18 16:54:15 +02:00
Martin Kojtal 3d4d326b99
Merge pull request #14565 from artokin/nanostack_release_13_0_0_for_5_15_branch
[mbed-os-5.15] Nanostack release v13.0.0
2021-05-18 16:53:54 +02:00
Martin Kojtal 7f25b2cc0f
Merge pull request #14556 from OpenNuvoton/nuvoton_wdt_stop-n-kick_5.15
Nuvoton: Fix hal_watchdog_kick() with WDT stopped (5.15)
2021-05-18 16:53:17 +02:00
Sebastian Stockhammer c51822ccf2 Fix comments 2021-05-04 13:41:32 +02:00
Sebastian Stockhammer 39e42ae4c0 Remove obsolete comments
- The corresponding section is called from multiple locations now
2021-05-04 09:42:59 +02:00
Sebastian Stockhammer 5b54cfb83d Rename rx-/tx-irq-enable methods to be more expressive
- Indicate that UARTSerial::update_rx_irq/update_tx_irq is not symmetric to UARTSerial::disable_rx_irq/disable_tx_irq
2021-05-04 09:41:59 +02:00
Sebastian Stockhammer 717e851083 Setup interrupts after serial is enabled 2021-05-04 07:56:08 +02:00
jet 5a1068f11e Fix LPC15XX extended CAN ID conversion 2021-04-26 21:18:51 -04:00
Chun-Chieh Li cb3a6783aa M487: Get around h/w limit with WDT reset from PD
Use WKT to get around this h/w limit
2021-04-22 19:09:05 +08:00
Arto Kinnunen 0ecf8123d4 Squashed 'features/nanostack/sal-stack-nanostack/' changes from 3183d87e41..0903b819c5
0903b819c5 Merge remote-tracking branch 'origin/release_internal' into release_external
51429c96b1 FHSS WS: api function to set TX allowance level (#2612)
01b1188932 Fix Child NUD with long ARO registrations
20b49ce0fc Optimize out of memory handler to remove more memory in EF mode
f1b03bc59d FHSS WS: Allow transmitting unicast frames on broadcast channel for 1st hop node in EF mode (#2609)
2f5e5e20ea Generic forwarding callback and EF state enabler for Wi-SUN BBR.
007dfa246f Allow transmitting on RX slot for 1st hop device in expedited forwarding mode (#2607)
6524872843 Implemented FHSS expedited forwarding mode (#2606)
91e0b4c0e3 QoS traffic class documentation update.
3acd3a49b2 Fix warnings found by cppcheck (#2605)
d2f53476e2 MPX and MAC API update
7310cc01cd MAC: "CCA fail on RX" event for TX done callback (#2602)
cd109c3a3a Clear Ack tx and tx process in MAC reset (#2601)
45504fd4b0 Optimize stagger based on uptime and startup type
ed5209ed2a Iotthd 4584 (#2599)
60726dc704 Fixed blacklisting overflow (#2597)
23334b70b2 Added support for High Priority forward state
3ec2a2c804 Corrected freed memory access on incoming EAPOL handling
aecadc4582 Fixed delayed interrupt (#2596)
1fca2c1399 CCA backoffs max to 9 (#2595)
f3d2fa1396 Added API function to get neighbor table information from Wi-SUN
3bb089bec9 Validate randomized fixed channel (#2592)
70743a1cd8 MAC stabilisation fixes (#2591)
e936a2634b Reduce periodic DNS traces
a45fe3f510 Improved CSMA-CA logic for Wi-SUN (#2585)
56b7735976 improved Wi-SUN stack statistics added
e656190570 Wi-SUN neighbour allocate update
799f837d0c Added address check for Whiteboard address ADD
0b6caa32b0 Wi-SUN network timing parameter tuning
492146567e Supress warnings
f5cecd7ca0 Enable external connection for routers
e129a0a851 Added LLC EAPOL temporary neighbor remove when authentication completes (#2583)
fa20fb9e33 Added calculation of LLC and LLC EAPOL message queue average (#2582)
7f7c01ac17 Added retry traces to authenticator EAP-TLS, 4WH, and GKH
a87646d77a On startup deletes NVM GTKs if EUI-64 has been changed (#2576)
509a6f93ed Add CI commands to PR template (#2579)
eb6a4f7500 Change stagger calculation to give more bandwidth to application
82f1d54e62 Wi-SUN bpptstrap clear destination cache at discovery phase.
71b0588439 Destination cache update:
f92c385ef0 Enabled PMTU timeout to destination cache after used.
957b35887b DHCP server and Agent relay update
25b9124cd2 Merge remote-tracking branch 'origin/release_internal' into release_external
c825b04555 Corrected covery warning on delay_us multiplication
be63bbb145 Updated changelog
77a76c78bb Corrected nw size set on automatic mode
65e6c2db7a Updated unit tests
16e340286a Added waiting queue to EAPOL authentications to Border Router
b9c0b7d2ac Wi-SUN border router starts faster in static configuration
2f427e115a Local repair start and stop clear advertised_dodag_membership_since_last_repair when state is updated.
0a01ab19a4 RPL dio send update
dd3996382c Wi-SUN Border router uses Static address as DODAGID
7a3c8335b0 Additional check to detect parent connection problem
ffe48c93e5 WS management: domain configuration functions implemented (#2567)
5e9ac4ece8 Added new Callback to RPL indicate Multicast DIS received from RPL Parent
85b949e9c2 Bootstrap and EAPOL treats all MAC TX failure causes similarly
b57d9bcd66 Add support for anonymous addressing in Wi-SUN border router (#2565)
7400c8bc9e CFG: API for PHY mode id and channel plan id get & validate (#2564)
2832fe8c27 Added Socket reference limitter
890aad12f1 Wi-SUN MTU size update and IPv6 minium MTU routing skip
3ad28c1cfc Added throttling of number of simultaneous EAPOL authentications
0b84299edb Source route handler call Wi-Sun border router alive function.
c8343b1a01 Added support for dynamic RPL default lifetime
d258068555 Iotthd 4478 (#2560)
7ca6c24b67 Enable and modify memory limits for packet receiving
e2b028d9ae Close CHANGELOG.md for v12.8.1 (#2557)
91f3ff6d7f Merge branch 'release_internal' into release_external
3999b6e0c3 Iotthd 4495 (#2556)
90c3263616 RPL Prefix handling update:
f761409b24 Close Nanostack v12.8.0 ChangeLog (#2549)
f8ae0e9bc9 Merge remote-tracking branch 'origin/release_internal' into release_external
3275f83f17 Added support for handle RPL hop by Hop sender rank 0.
d62c5898fb Activated RPL force tunnel for wi-sun.
3e1064acfb RPL tunnel force functionality update
3207e5c4f2 RPL parent select timer random update from 1.0-1.2 to 1.0-1.5.
bc09cba6bb MAC Ack wait fixed for OFDM (#2552)
5106b1d600 Fixed unused variable and function warnings.
4096c1aba3 Wi-SUN bootstrap support RPL poison from Connected state to Discovery
66378d1518 RPL Poison update

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 0903b819c5eecf8a465646ef1495ca637e0285a9
2021-04-20 11:30:39 +03:00
Arto Kinnunen d361b7bf43 Merge commit '0ecf8123d4a2fd9fa7948be8575cc9c09f546d1f' into nanostack_release_13_0_mbedos_5_15
* commit '0ecf8123d4a2fd9fa7948be8575cc9c09f546d1f':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 3183d87e41..0903b819c5
2021-04-20 11:30:39 +03:00
Arto Kinnunen 6f0b6ff117 Merge commit 'be1c2fe8be242e84205fd8308b81a249e8418fc8' into nanostack_release_13_0_mbedos_5_15
* commit 'be1c2fe8be242e84205fd8308b81a249e8418fc8':
  Squashed 'features/frameworks/mbed-client-randlib/' changes from bec82e21f0..cf3936f074
2021-04-20 11:29:50 +03:00
Arto Kinnunen be1c2fe8be Squashed 'features/frameworks/mbed-client-randlib/' changes from bec82e21f0..cf3936f074
cf3936f074 Update license text in test files. (#14)

git-subtree-dir: features/frameworks/mbed-client-randlib
git-subtree-split: cf3936f074954f01a6fbce4799fc40249ba7d2ac
2021-04-20 11:29:49 +03:00
Arto Kinnunen 9d8e6f7490 Squashed 'features/frameworks/nanostack-libservice/' changes from a526cc3f41..260d80f42d
260d80f42d Update ns_nvm_helper license text and format (#98)

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: 260d80f42da24fa41656222294abc38f7779bdcf
2021-04-20 11:28:20 +03:00
Arto Kinnunen 57bb1948fc Merge commit '9d8e6f749013a010ca0f9cec54e8f18c744d7092' into nanostack_release_13_0_mbedos_5_15
* commit '9d8e6f749013a010ca0f9cec54e8f18c744d7092':
  Squashed 'features/frameworks/nanostack-libservice/' changes from a526cc3f41..260d80f42d
2021-04-20 11:28:20 +03:00
Arto Kinnunen ce38709dbf 802.15.4 STM S2LP driver update
Update STM S2LP driver to version v1.0.8
2021-04-20 11:11:29 +03:00
Arto Kinnunen e287b93b8d 802.15.4 Atmel RF driver update
Sync with master version v3.3.5
2021-04-20 11:11:18 +03:00
Chun-Chieh Li e0aab8be9f Nuvoton: Fix hal_watchdog_kick() with WDT stopped
According to HAL spec, hal_watchdog_kick() shall do nothing when WDT is stopped.
2021-04-16 10:12:58 +08:00
Mika Leppänen da29b80b3c Added new start methods to Wi-SUN BR with WisunInterface parameter and deprecated the old ones
Previously WisunBorderRouter start() used NetworkInterface type for mesh interface, although only
WisunInterface type is possible for the call. Added a new overloads of the start with the
WisunInterface as mesh interface type and deprecated the old ones. This makes the calls stricter
about the interface type and safer. It also allows to remove the reinterpret_cast that causes
compiler warning on ARM compiler.
2021-04-07 11:40:55 +03:00
Sebastian Stockhammer 9fed18a094 Remove shadowing member variables
- The variables shadow SerialBase::_tx_enabled and SerialBase::_rx_enabled
2021-04-01 12:33:37 +02:00
adbridge 0be7685a27 Update Mbed version block 2021-03-24 11:23:47 +00:00
Anna Bridge 52eedfd86e
Merge pull request #14408 from LDong-Arm/malloc_wrapper_fix-5.15
Add integer overflow check to the malloc wrappers
2021-03-22 16:36:17 +00:00
Martin Kojtal 878a32cb6d
Merge pull request #14326 from artokin/porting_from_feature_wisun_to_5_15
[mbed-os-5.15] Bring in MIMXRT1050_EVK changes from feature-wisun branch
2021-03-22 16:27:59 +01:00
Martin Kojtal fcabc21c9b
Merge pull request #14443 from artokin/update_set_network_size_doc_515
[mbed-os-5.15] Improve WisunInterface set_network_size docs
2021-03-22 14:23:16 +01:00
Martin Kojtal f9501e79b7
Merge pull request #14147 from mikaleppanen/nano_coverity_corr_5_15
[mbed-os-5.15] Corrected nanostack coverity warnings
2021-03-22 14:22:39 +01:00
Martin Kojtal 04b572ee41
Merge pull request #14263 from mikaleppanen/5_15_wisun_mac_addr_get_corr
[mbed-os-5.15] Added missing const qualifier to mesh ethernet mac addr get
2021-03-22 12:35:27 +01:00
Arto Kinnunen f8f01fd04e Improve WisunInterface set_network_size docs
Clarify set_network_size usage and possible parameter values.
Clarify wisun-network-size help text in mbed-mesh-api/mbed_lib.json
2021-03-18 11:56:17 +02:00
Lingkai Dong 151ebfcfc9 Add integer overflow check to the malloc wrappers
Add a check that the combined size of the buffer to allocate and
alloc_info_t does not exceed the maximum integer value representable
by size_t.
2021-03-10 09:57:12 +00:00
Gavin Liu 55a1465671 targets:evkbimxrt1050: Adjust the SEMC re-order rules
Update the BMCR0, BMCR1 registers to adjust the SEMC
re-order rules. This can improve the SDRAM stability
under multiple AXI masters system.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:53:14 +02:00
Tim Wang 376b7e3ae5 targets:RT1050: Fix the flash erase and program issue for qspi nor flash.
Update the LUT to fix the winbond qspi flash erase issue.
Update the page program interface to fix the qspi flash program issue.

Signed-off-by: Tim Wang <tim.wang@nxp.com>
2021-02-23 10:52:58 +02:00
Tim Wang 98b1f0fbed targets:RT1050: Fix the low speed switch issue
Fix the low speed switch issue when using QSPI flash

Signed-off-by: Tim Wang <tim.wang@nxp.com>
2021-02-23 10:52:39 +02:00
timwang 903e0830ee targets:clock: Update the coreclock value
Update the coreclock value which will be used in middleware

Signed-off-by: timwang <tim.wang@nxp.com>
2021-02-23 10:52:15 +02:00
timwang ec9c75e26e targets: clock: change default core clock to 528M
change the clock config of the RT1050 to set the default core clock to
528M

Signed-off-by: timwang <tim.wang@nxp.com>
2021-02-23 10:52:06 +02:00
timwang 889d852913 targets:uart: Add uart_3 support
Add uart_3 support, which using GPIO_AD_B1_06 as TX pin, GPIO_AD_B1_07
as RX pin

Signed-off-by: timwang <tim.wang@nxp.com>
2021-02-23 10:51:29 +02:00
TimWang c80b05a251 targets:lpspi: Update the lpspi driver and api
Change the lpspi default transfer delays to fix the data corruption
issue.

Add the loop and judgement to retry transfer when spi bus is busy.

Add the judgement statement to fix the hang issue.

Signed-off-by: TimWang <tim.wang@nxp.com>
2021-02-23 10:51:18 +02:00
Gavin Liu 9c7ccd28f8 targets:MIMXRT1050: Add LPSPI4 support
Add LPSPI4 PIN configurations.

Signed-off-by: fred.li <fred.li@arm.com>
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:50:41 +02:00
Gavin Liu 0a60f9baca targets:MIMXRT1050: Update link file for application
For the application(firmware) booted by bootloader(OTA),
the image doesn't need the "flash_config" and "ivt" header.
So update the link file to support both kinds of application
(firmware) booted by bootROM and bootloader.

In default, the compilation will get the image with
"flash_config" and "ivt" header, for example the bootloader
compiling.

When compiling the OTA application image, please add the
line as below in the mbed_app.json file.

	"target.macros_add" : ["MBED_APP_COMPILE"]

This will remove the "flash_config" and "ivt" header in the
final image.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:50:41 +02:00
Gavin Liu 299abb7949 targets:MIMXRT1050: Add QSPI Flash FLASHIAP support
Update the flash driver to support both Hyper Flash
and QSPI Flash.

In addition, the static function cannot be linked to
SRAM even defined by AT_QUICKACCESS_SECTION_CODE macro.
So remove all "static" modifier for the FLASHIAP
functions.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:50:41 +02:00
Gavin Liu 007d393621 targets:TARGET_IMX: Fix the memset issue for FLASHIAP
The memset function from c library will be linked in flash
space, it's risk for FLASHIAP. So I wrote flexspi_memset
to replace the memset for IMX FLASHIAP, and put the function
into targets/.../TARGET_IMX/flash_api.c file. All IMX Soc
platforms can declare it as extern and use in their Soc
flexspi driver files.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:50:41 +02:00
Gavin Liu d2d0b3bbe8 targets:TARGET_IMX: Fix the flash init risk
The flash access may fail when implementing flash
initialization. So there is risk for interrupt handler
which linked in flash space.

Add the critical section to avoid the risk.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:50:40 +02:00
Gavin Liu 91a5aa25fa targets:MIMXRT1050: Add QSPI Flash boot support
NXP MIMXRT1050 EVK can support Hyper Flash or QSPI Flash with
small hardware reworks. Modify the XIP file to support boot
from the two kinds of Flash device. The Hyper Flash should be
the default device and defined in tartgets.json with the macro
"HYPERFLASH_BOOT". To select the QSPI Flash, just remove the
macro with the below line in any overriding json file.
	"target.macros_remove" : ["HYPERFLASH_BOOT"]

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2021-02-23 10:50:40 +02:00
Mahesh Mahadevan 4b10afc469 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>
2021-02-23 10:45:02 +02:00
Mahesh Mahadevan 91a669420e MXRT1050: Add bootloader support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2021-02-23 10:44:53 +02:00
Mahesh Mahadevan b62980496d MIMXRT1050: Enable FlashIAP support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2021-02-23 10:44:43 +02:00