Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add STM32U5xx support #1453

Merged
merged 34 commits into from
Sep 24, 2021
Merged

Add STM32U5xx support #1453

merged 34 commits into from
Sep 24, 2021

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jul 23, 2021

This PR introduces the STM32U5xx support in the core.

Added from STM32CubeU5 FW v1.0.0:

  • STM32U5xx HAL Drivers to v1.0.0
  • STM32U5xx CMSIS Drivers to v1.0.0
  • STM32U5xx system source files
  • STM32U5xx to all wrapped files

Boards support added:

Tested:

B-U585I-IOT02A NUCLEO-U575ZI-Q comments
GPIO ✔️ ✔️
U(S)ART ✔️ ✔️
ADC including internal ✔️ ✔️
DAC ✔️ ✔️
I2C ✔️ ✔️
SPI ✔️ ✔️
Timer ✔️ ✔️
EXTI ✔️ ✔️
RTC ✔️ ✔️
EEPROM ✔️ ✔️
Low Power ✔️ ✔️
HTS221 ✔️ NA stm32duino/HTS221
LPS22HH ✔️ NA stm32duino/LPS22HH
IIS2MDC ✔️ NA stm32duino/IIS2MDC
ISM330DHCX ✔️ NA stm32duino/ISM330DHCX
VL53L5CXV0GC ND NA No library available
VEML6030 ✔️ NA sparkfun/SparkFun_Ambient_Light_Sensor_Arduino_Library
STSAFE-A110 ND NA No library available
M24256‑DFMC6TG ✔️ NA CombiesGit/I2C_EEPROM

Not supported yet

  • USB requires to manage USBPD. Will come late in an other PR.
  • BLE of the B-U585I-IOT02A: STM32WB5MMG
  • WiFi of the B-U585I-IOT02A: MXCHIP EMW3080

Requirement:

@fpistm fpistm added this to In progress in STM32 core based on ST HAL via automation Jul 23, 2021
@fpistm fpistm requested a review from ABOSTM July 23, 2021 15:37
@fpistm fpistm self-assigned this Jul 23, 2021
Copy link
Contributor

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

STM32 core based on ST HAL automation moved this from In progress to Reviewer approved Jul 26, 2021
cores/arduino/stm32/timer.h Show resolved Hide resolved
@fpistm fpistm force-pushed the STM32U5 branch 3 times, most recently from 084ee14 to 652cff5 Compare August 17, 2021 13:42
@fpistm fpistm added this to the 2.1.0 milestone Aug 17, 2021
@fpistm fpistm force-pushed the STM32U5 branch 3 times, most recently from 3854e0f to a81510a Compare August 27, 2021 16:38
@fpistm fpistm force-pushed the STM32U5 branch 2 times, most recently from b943422 to 75748f6 Compare September 15, 2021 10:11
@fpistm fpistm marked this pull request as ready for review September 15, 2021 12:57
Included in STM32CubeU5 FW v1.0.0

Signed-off-by: Frederic Pillon <[email protected]>
Included in STM32CubeU5 FW v1.0.0

Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Remove duplicate clock definition.
Allow VECT_TAB_OFFSET redefinition.

Signed-off-by: Frederic Pillon <[email protected]>
SMT32U5xx have multiple SYS_WKUPx pins

Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
This bit of the PWR CR is used to validate the VDDIO2
supply for electrical and logical isolation purpose.

Signed-off-by: Frederic Pillon <[email protected]>
Some serie still require to use their name due to wrong
LL API prototype using RTC parameter instead of TAMP.

Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
use register definition instead of serie name

Signed-off-by: Frederic Pillon <[email protected]>

# Conflicts:
#	libraries/SPI/src/utility/spi_com.c
use register definition instead of serie name

Signed-off-by: Frederic Pillon <[email protected]>
Signed-off-by: Frederic Pillon <[email protected]>
Sorted by alphabetical order and rename the Disco G4
with correct name.

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm merged commit cbfd59e into stm32duino:master Sep 24, 2021
STM32 core based on ST HAL automation moved this from Reviewer approved to Done Sep 24, 2021
@fpistm fpistm deleted the STM32U5 branch September 24, 2021 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants