Commit Graph

34225 Commits (4095c65e3162e6353ebe4ba69f345bb52c70806a)

Author SHA1 Message Date
Martin Kojtal 4095c65e31
Merge pull request #15210 from jeromecoutant/PR_DISCO_L562
ST: correct LED pins for DISCO_L562QE
2022-01-26 11:47:26 +01:00
Jerome Coutant b9d51b6255 ST: correct LED pins for DISCO_L562QE 2022-01-21 09:41:21 +01:00
Martin Kojtal 1443257e40
Merge pull request #15206 from vznncv/iss_stm32_spi_16_bit
STM32: fix SPI 16 bit mode
2022-01-17 16:39:01 +01:00
Martin Kojtal d234b35aee
Merge pull request #15205 from mikrodust-henrikp/add_usbdevice_to_nucleo_f722ze
Add USBDEVICE to NUCLEO_F722ZE target
2022-01-17 16:10:06 +01:00
Martin Kojtal de5b459715
Merge pull request #15199 from majcher/feature/stm32g0b1
Support for the NUCLEO_G0B1RE board
2022-01-17 12:02:24 +01:00
Konstantin Kochin 0c9d5b0605 Fix STM32 SPI async API for STM32H7 (SPI_IP_VERSION_V2)
By default, HAL functions (HAL_SPI_TransmitReceive_IT/HAL_SPI_Transmit_IT/HAL_SPI_Receive_IT) assume that SPI is disabled between function invocation.
It's needed to set transfer size (CR2 register), that can be modified only if SPI disabled. But `stm32_spi_api.c` keeps SPI enabled after initialization.

This commit adds helper code for STM32H7 (SPI_IP_VERSION_V2) that disables SPI before HAL_SPI_TransmitReceive_IT/HAL_SPI_Transmit_IT/HAL_SPI_Receive_IT
and after end of transaction for HAL API compatibility.
2022-01-15 14:51:41 +03:00
Konstantin Kochin 756f6f5199 Fix STM32 SPI 16-bit logic
Update SPI logic to process 16 bit words in the same way by sync/async,
3/4 wires modes:
- fix 3-wire synchronous transmission to move 2 or more bytes between buffer and
  SPI register per word tarnsmission
- fix 4-wire synchronous transmission to move 2 or more bytes between buffer and
  SPI register per word tarnsmission
2022-01-15 14:51:41 +03:00
Michal Majcherski 6263af9aff Support for the NUCLEO_G0B1RE board 2022-01-14 12:11:47 +01:00
Martin Kojtal c02e10bcdc
Merge pull request #15204 from jeromecoutant/PR_G0_DUALBANK
STM32G0 FLASH : support MCU with dual bank
2022-01-14 11:58:58 +01:00
Henrik Persson 6f73f5deb3 Add USBDEVICE to NUCLEO_F722ZE target
USB was missing from NUCLEO_F722ZE but is present and working on the
board.
2022-01-14 11:46:44 +01:00
Jerome Coutant 5e5d2ab9a5 STM32G0 FLASH : support MCU with dual bank 2022-01-13 11:44:21 +01:00
Martin Kojtal 6bb606f62d
Merge pull request #15194 from deepak-shreshti/master
Add Toshiba M4KN Platform
2022-01-10 13:49:32 +01:00
Martin Kojtal 70fd0cef1b
Merge pull request #15200 from OpenNuvoton/nuvoton_m487_fix-uart67-base
M487: Fix UART 6/7 base address encoding
2022-01-10 13:06:00 +01:00
Chun-Chieh Li 926cda5e8f M487: Fix UART 6/7 base address encoding
Fix UART 6/7 base addresses are incorrectly encoded into peripheral names
2022-01-07 16:39:59 +08:00
Deepak V. Shreshti 5bc3aa18c0 Updated code to remove float symbols 2021-12-23 19:19:57 +05:30
Deepak V. Shreshti cd4ee72979 Added SPDX Header
Updated PIN Names
Added M4KN MCU Deatils in index.json
Removed Special Chars
2021-12-23 19:19:57 +05:30
Deepak V. Shreshti 44249f0d40 Added M4KN Platform
New Platform M4KN for Toshiba has been added
2021-12-23 19:19:56 +05:30
Martin Kojtal 149c5b12fa
Merge pull request #15195 from ATmobica/cypress_cm0p_sleep_disable
Add option to disable CM0P_SLEEP component for Cypress targets
2021-12-21 16:40:23 +00:00
ATmobica 6a5cc40182 Fix mbed-cy8cproto-062s3-4343w target 2021-12-15 22:16:14 +01:00
ATmobica 9e1444f88d Add <"CM0P_SLEEP" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and common PSOC6 cmake files 2021-12-15 21:37:14 +01:00
Martin Kojtal 7a6262c3bc
Merge pull request #15189 from boraozgen/nrf52-gpio-assert-init
nRF52: GPIO: Assert that init succeeds
2021-12-15 14:42:47 +00:00
Martin Kojtal fe5e648147
Merge pull request #15192 from ATmobica/master
Add option to disable WHD component for Cypress targets
2021-12-15 11:59:33 +00:00
Martin Kojtal 35050f02e6
Merge pull request #15193 from jeromecoutant/PR_WARNING
STM32 : remove several warnings
2021-12-15 11:50:32 +00:00
Bora Özgen 352beffedf nRF52: GPIO: Assert that init succeeds 2021-12-14 10:01:08 +01:00
Martin Kojtal ff061e8cf2
Merge pull request #15187 from artokin/nanostack_release_v15_1_0
Nanostack release v15.1.0 to master
2021-12-13 09:46:45 +00:00
Jerome Coutant de3f9efb67 STM32H7 : remove warning
[Warning] stm32h7xx_hal_hrtim.c@1621,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@1625,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@2238,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@2242,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@5332,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@5767,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32h7xx_hal_hrtim.c@5771,21: equality comparison with extraneous parentheses [-Wparentheses-equality]

[Warning] analogin_device.c@63,30: comparison between 'PinName' and 'enum <anonymous>' [-Wenum-compare]
2021-12-10 17:16:47 +01:00
Jerome Coutant 3237bff990 STM32F7 : remove warning
[Warning] flash_api.c@191,14: unused variable 'tmp' [-Wunused-variable]
2021-12-10 17:16:47 +01:00
Jerome Coutant 4d63929898 STM32L5 : remove warning
[Warning] serial_device.c@657,41: comparison of different enumeration types ('PinName' and 'UARTName') [-Wenum-compare]
[Warning] serial_device.c@666,41: comparison of different enumeration types ('PinName' and 'UARTName') [-Wenum-compare]
[Warning] serial_device.c@675,41: comparison of different enumeration types ('PinName' and 'UARTName') [-Wenum-compare]
[Warning] serial_device.c@676,41: comparison of different enumeration types ('PinName' and 'UARTName') [-Wenum-compare]
2021-12-10 17:16:47 +01:00
Jerome Coutant 1bf801a4f7 STM32G4 : remove warning
[Warning] serial_device.c@644,41: comparison of integer expressions of different signedness: 'PinName' and 'enum <anonymous>' [-Wsign-compare]
[Warning] serial_device.c@644,41: comparison between 'PinName' and 'enum <anonymous>' [-Wenum-compare]
[Warning] serial_device.c@653,41: comparison of integer expressions of different signedness: 'PinName' and 'enum <anonymous>' [-Wsign-compare]
[Warning] serial_device.c@653,41: comparison between 'PinName' and 'enum <anonymous>' [-Wenum-compare]
[Warning] serial_device.c@662,41: comparison of integer expressions of different signedness: 'PinName' and 'enum <anonymous>' [-Wsign-compare]
[Warning] serial_device.c@662,41: comparison between 'PinName' and 'enum <anonymous>' [-Wenum-compare]
[Warning] serial_device.c@663,41: comparison of integer expressions of different signedness: 'PinName' and 'enum <anonymous>' [-Wsign-compare]
[Warning] serial_device.c@663,41: comparison between 'PinName' and 'enum <anonymous>' [-Wenum-compare]

[Warning] stm32g4xx_hal_hrtim.c@1817,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32g4xx_hal_hrtim.c@1821,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32g4xx_hal_hrtim.c@2461,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32g4xx_hal_hrtim.c@2465,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32g4xx_hal_hrtim.c@6600,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32g4xx_hal_hrtim.c@7162,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
[Warning] stm32g4xx_hal_hrtim.c@7166,21: equality comparison with extraneous parentheses [-Wparentheses-equality]
2021-12-10 17:16:47 +01:00
Jerome Coutant 999d98a3d7 STM32L4 : remove warning
This is the MBED current implementation, no need to warn
2021-12-10 17:16:47 +01:00
Jerome Coutant b5e28baf45 STM32 CAN : remove warning [-Wsign-compare]
Detected with NUCLEO_G474RE build:
[Warning] stm32g4xx_hal_fdcan.h@1325,84: comparison is always true due to limited range of data type [-Wtype-limits]
[Warning] stm32g4xx_hal_fdcan.h@1331,46: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
[Warning] stm32g4xx_hal_fdcan.h@1331,65: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
[Warning] stm32g4xx_hal_fdcan.h@1325,61: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
[Warning] stm32g4xx_hal_fdcan.h@1325,84: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
2021-12-10 17:16:35 +01:00
ATmobica 78a7859fa8 Add <"WHD" IN_LIST MBED_TARGET_LABELS> condition to Cypress boards and wifi driver cmake files 2021-12-10 13:14:29 +01:00
Martin Kojtal 810662bd77
Merge pull request #15176 from marcemmers/rename_mstd_span_size_type
mstd::span rename index_type to size_type according to spec
2021-12-09 10:29:07 +00:00
Martin Kojtal 1c5813b33c
Merge pull request #15181 from hallard/LoRa_sx1276_LowPower_fix
Fix LoRa sx1276 Low Power sleep, now 3uA
2021-12-08 14:55:52 +00:00
Arto Kinnunen 357dbec020 Merge commit '1d440bc3adfe6afbd60ff8c39dd267aa925716c3' into nanostack_v15_1_0
* commit '1d440bc3adfe6afbd60ff8c39dd267aa925716c3':
  Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from fb20d3f32c..60c1fb61af
2021-12-08 13:54:43 +02:00
Arto Kinnunen 1d440bc3ad Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from fb20d3f32c..60c1fb61af
60c1fb61af Merge remote-tracking branch 'origin/master' into release_for_mbed_os
6c8166d77b Sync from Mbed OS (#50)
b8e6ed9def Update copyright (#48)

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: 60c1fb61afb5825fd6eac150eadded9fdc3047a8
2021-12-08 13:54:42 +02:00
Arto Kinnunen d64e8f6878 Merge commit '89eb48fe1a3ba68057029c7e475f1ec78eb95abc' into nanostack_v15_1_0
* commit '89eb48fe1a3ba68057029c7e475f1ec78eb95abc':
  Squashed 'connectivity/drivers/802.15.4_RF/mcr20a-rf-driver/' changes from 61de9be6dc..7a1bfec754
2021-12-08 13:48:16 +02:00
Arto Kinnunen 89eb48fe1a Squashed 'connectivity/drivers/802.15.4_RF/mcr20a-rf-driver/' changes from 61de9be6dc..7a1bfec754
7a1bfec754 Merge pull request #41 from PelionIoT/synch_from_mbed_os
d0c36ea67d Update copyright
0831ad21c8 Sync from Mbed OS

git-subtree-dir: connectivity/drivers/802.15.4_RF/mcr20a-rf-driver
git-subtree-split: 7a1bfec7547676baf1ec91ed46eb07da6f0970cb
2021-12-08 13:48:01 +02:00
Arto Kinnunen 9daf4300e3 Merge commit '75c79ac616fce0b36ca047e676069e12e1bb30c1' into nanostack_v15_1_0
* commit '75c79ac616fce0b36ca047e676069e12e1bb30c1':
  Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' changes from 7d12478914..089ca0eed7
2021-12-08 13:47:47 +02:00
Arto Kinnunen 75c79ac616 Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' changes from 7d12478914..089ca0eed7
089ca0eed7 Merge pull request #78 from PelionIoT/sync_from_mbedos
f61d52dc77 Update copyright
36f14ee53a Sync from Mbed OS

git-subtree-dir: connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver
git-subtree-split: 089ca0eed7a6208fd7fe3e54e425d6669515ebf0
2021-12-08 13:47:30 +02:00
Arto Kinnunen a947f4845c Merge commit '233ec783c1b902af25f1376d6fcdc9f4b0bccf53' into nanostack_v15_1_0
* commit '233ec783c1b902af25f1376d6fcdc9f4b0bccf53':
  Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from 834c5357c6..ccba775217
2021-12-08 13:47:18 +02:00
Arto Kinnunen 233ec783c1 Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from 834c5357c6..ccba775217
ccba775217 Merge pull request #110 from PelionIoT/sync_from_mbed_os
301b184ba4 Update copyright
3c9927a4e8 Sync from Mbed OS
68a243c432 Merge pull request #109 from PelionIoT/IOTTHD-4839
55004765bd Read received packet length in RX done callback

git-subtree-dir: connectivity/drivers/802.15.4_RF/atmel-rf-driver
git-subtree-split: ccba7752172988f2c50a646af09dd0c1e91d4fc8
2021-12-08 13:47:01 +02:00
Arto Kinnunen 0dfb79e28b Merge commit '00253cb11629fab6f753682d89faa2ce7b4a213a' into nanostack_v15_1_0
* commit '00253cb11629fab6f753682d89faa2ce7b4a213a':
  Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 225a4af94f..154db5425e
2021-12-08 13:41:33 +02:00
Arto Kinnunen 00253cb116 Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from 225a4af94f..154db5425e
154db5425e Merge branch 'release_internal' into release_external
dca258c3f0 Updated unit test
89df990e6d Set EAPOL relay state function to LLC as a callback
47d8f42bf5 Removed extra call to supplicant delete callback
00ebfd905f Added new configuration options for Border router
421f6a8191 Move RPL code to the 6lr state machine
e1e43b8ac2 Corrected pae controller BR EUI-64 flagging
aaefdaebab Refactored pae controller (#2707)
b82e0ee19a Update copyright text in CMakeLists.txt files (#2706)
5791a22d37 Renamed bootstrap files and separated pae controller callback functions (#2703)
4e3ec07caf MAC beacon payload max MTU allocation limited to for support MTU size 127.
a997ab6653 Iotthd 4698 (#2702)
e64b057bff Adjusted security protocols timeouts (#2701)
cb3db6419f Return invalid values from old API if new configuration is used
6872401f8d RPL address registration update
90a434d318 RPL DAO lifetime update
e39f6432eb Forward RPL configuration unmodified
58da4d6c93 Sync Cmake updates from Mbed OS (#2697)
4c229b46c9 Adjust Wi-SUN host/router config - HAVE_RPL (#2696)
40bd2320ba Update release v15.0.0 details to CHANGELOG (#2694)

git-subtree-dir: connectivity/nanostack/sal-stack-nanostack
git-subtree-split: 154db5425eb9f0df82ee081cb05e7d80cda11415
2021-12-08 13:39:38 +02:00
Martin Kojtal b129f6ebad
Merge pull request #15184 from ihf-uk-team/master
Fix initialisation sequence of RTC
2021-12-07 13:57:32 +00:00
Martin Kojtal a82ee22e99
Merge pull request #15183 from jeromecoutant/STM32WL_UPDATE
STM32WL : add robustness
2021-12-07 09:11:56 +00:00
Jerome Coutant e49036dd56 STM32WL : update readme 2021-12-06 17:48:35 +01:00
Jerome Coutant fb07b7ac4c STM32WL : add LORA robustness
Improvment to support extensive tests
2021-12-06 17:48:35 +01:00
Marc Emmers 0fb88f8521 Deprecate instead of remove index_type 2021-11-30 10:56:05 +01:00
Marc Emmers ed3ad1ca9f mstd::span rename index_type to size_type according to spec 2021-11-30 10:56:05 +01:00