Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,263 changes: 1,263 additions & 0 deletions dts/st/u3/stm32u375cetx-pinctrl.dtsi

Large diffs are not rendered by default.

1,091 changes: 1,091 additions & 0 deletions dts/st/u3/stm32u375cetxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions dts/st/u3/stm32u375ceux-pinctrl.dtsi

Large diffs are not rendered by default.

1,091 changes: 1,091 additions & 0 deletions dts/st/u3/stm32u375ceuxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,160 changes: 1,160 additions & 0 deletions dts/st/u3/stm32u375ceyxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions dts/st/u3/stm32u375cgtx-pinctrl.dtsi

Large diffs are not rendered by default.

1,091 changes: 1,091 additions & 0 deletions dts/st/u3/stm32u375cgtxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions dts/st/u3/stm32u375cgux-pinctrl.dtsi

Large diffs are not rendered by default.

1,091 changes: 1,091 additions & 0 deletions dts/st/u3/stm32u375cguxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,160 changes: 1,160 additions & 0 deletions dts/st/u3/stm32u375cgyxq-pinctrl.dtsi

Large diffs are not rendered by default.

889 changes: 889 additions & 0 deletions dts/st/u3/stm32u375keux-pinctrl.dtsi

Large diffs are not rendered by default.

889 changes: 889 additions & 0 deletions dts/st/u3/stm32u375kgux-pinctrl.dtsi

Large diffs are not rendered by default.

1,693 changes: 1,693 additions & 0 deletions dts/st/u3/stm32u375reix-pinctrl.dtsi

Large diffs are not rendered by default.

1,544 changes: 1,544 additions & 0 deletions dts/st/u3/stm32u375reixq-pinctrl.dtsi

Large diffs are not rendered by default.

1,693 changes: 1,693 additions & 0 deletions dts/st/u3/stm32u375retx-pinctrl.dtsi

Large diffs are not rendered by default.

1,544 changes: 1,544 additions & 0 deletions dts/st/u3/stm32u375retxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,370 changes: 1,370 additions & 0 deletions dts/st/u3/stm32u375reyxg-pinctrl.dtsi

Large diffs are not rendered by default.

1,739 changes: 1,739 additions & 0 deletions dts/st/u3/stm32u375reyxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,693 changes: 1,693 additions & 0 deletions dts/st/u3/stm32u375rgix-pinctrl.dtsi

Large diffs are not rendered by default.

1,544 changes: 1,544 additions & 0 deletions dts/st/u3/stm32u375rgixq-pinctrl.dtsi

Large diffs are not rendered by default.

1,693 changes: 1,693 additions & 0 deletions dts/st/u3/stm32u375rgtx-pinctrl.dtsi

Large diffs are not rendered by default.

1,544 changes: 1,544 additions & 0 deletions dts/st/u3/stm32u375rgtxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,370 changes: 1,370 additions & 0 deletions dts/st/u3/stm32u375rgyxg-pinctrl.dtsi

Large diffs are not rendered by default.

1,739 changes: 1,739 additions & 0 deletions dts/st/u3/stm32u375rgyxq-pinctrl.dtsi

Large diffs are not rendered by default.

2,189 changes: 2,189 additions & 0 deletions dts/st/u3/stm32u375veix-pinctrl.dtsi

Large diffs are not rendered by default.

2,112 changes: 2,112 additions & 0 deletions dts/st/u3/stm32u375veixq-pinctrl.dtsi

Large diffs are not rendered by default.

2,189 changes: 2,189 additions & 0 deletions dts/st/u3/stm32u375vetx-pinctrl.dtsi

Large diffs are not rendered by default.

2,112 changes: 2,112 additions & 0 deletions dts/st/u3/stm32u375vetxq-pinctrl.dtsi

Large diffs are not rendered by default.

2,189 changes: 2,189 additions & 0 deletions dts/st/u3/stm32u375vgix-pinctrl.dtsi

Large diffs are not rendered by default.

2,112 changes: 2,112 additions & 0 deletions dts/st/u3/stm32u375vgixq-pinctrl.dtsi

Large diffs are not rendered by default.

2,189 changes: 2,189 additions & 0 deletions dts/st/u3/stm32u375vgtx-pinctrl.dtsi

Large diffs are not rendered by default.

2,112 changes: 2,112 additions & 0 deletions dts/st/u3/stm32u375vgtxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions dts/st/u3/stm32u385cgtx-pinctrl.dtsi

Large diffs are not rendered by default.

1,091 changes: 1,091 additions & 0 deletions dts/st/u3/stm32u385cgtxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,263 changes: 1,263 additions & 0 deletions dts/st/u3/stm32u385cgux-pinctrl.dtsi

Large diffs are not rendered by default.

1,091 changes: 1,091 additions & 0 deletions dts/st/u3/stm32u385cguxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,160 changes: 1,160 additions & 0 deletions dts/st/u3/stm32u385cgyxq-pinctrl.dtsi

Large diffs are not rendered by default.

889 changes: 889 additions & 0 deletions dts/st/u3/stm32u385kgux-pinctrl.dtsi

Large diffs are not rendered by default.

1,693 changes: 1,693 additions & 0 deletions dts/st/u3/stm32u385rgix-pinctrl.dtsi

Large diffs are not rendered by default.

1,544 changes: 1,544 additions & 0 deletions dts/st/u3/stm32u385rgixq-pinctrl.dtsi

Large diffs are not rendered by default.

1,693 changes: 1,693 additions & 0 deletions dts/st/u3/stm32u385rgtx-pinctrl.dtsi

Large diffs are not rendered by default.

1,544 changes: 1,544 additions & 0 deletions dts/st/u3/stm32u385rgtxq-pinctrl.dtsi

Large diffs are not rendered by default.

1,370 changes: 1,370 additions & 0 deletions dts/st/u3/stm32u385rgyxg-pinctrl.dtsi

Large diffs are not rendered by default.

1,739 changes: 1,739 additions & 0 deletions dts/st/u3/stm32u385rgyxq-pinctrl.dtsi

Large diffs are not rendered by default.

2,189 changes: 2,189 additions & 0 deletions dts/st/u3/stm32u385vgix-pinctrl.dtsi

Large diffs are not rendered by default.

2,112 changes: 2,112 additions & 0 deletions dts/st/u3/stm32u385vgixq-pinctrl.dtsi

Large diffs are not rendered by default.

2,189 changes: 2,189 additions & 0 deletions dts/st/u3/stm32u385vgtx-pinctrl.dtsi

Large diffs are not rendered by default.

2,112 changes: 2,112 additions & 0 deletions dts/st/u3/stm32u385vgtxq-pinctrl.dtsi

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions scripts/genpinctrl/genpinctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"stm32mp1": 0x50002000,
"stm32n6": 0x56020000,
"stm32u0": 0x50000000,
"stm32u3": 0x42020000,
"stm32u5": 0x42020000,
"stm32wba": 0x42020000,
"stm32wb": 0x48000000,
Expand Down
1 change: 1 addition & 0 deletions stm32cube/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ set(supported_series
stm32mp1x
stm32n6x
stm32u0x
stm32u3x
stm32u5x
stm32wb0x
stm32wbax
Expand Down
1 change: 1 addition & 0 deletions stm32cube/common_ll/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ stm32l5xx 1.5.1
stm32mp1xx 1.6.0
stm32n6xx 1.0.0
stm32u0xx 1.2.0
stm32u3xx 1.1.0
stm32u5xx 1.7.0
stm32wb0x 1.0.0
stm32wbaxx 1.5.0
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_adc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_adc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_adc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_adc.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_bus.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_bus.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_bus.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_bus.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_comp.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <stm32l5xx_ll_comp.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_comp.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_comp.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_comp.h>
#elif defined(CONFIG_SOC_SERIES_STM32WBAX)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_cortex.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_cortex.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_cortex.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_cortex.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_cortex.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_crc.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#include <stm32n6xx_ll_crc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_crc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_crc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_crc.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_crs.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <stm32l5xx_ll_crs.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_crs.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_crs.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_crs.h>
#elif defined(CONFIG_SOC_SERIES_STM32WBX)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_dac.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <stm32l5xx_ll_dac.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_dac.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_dac.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_dac.h>
#elif defined(CONFIG_SOC_SERIES_STM32WLX)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_dlyb.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include <stm32h7rsxx_ll_dlyb.h>
#elif defined(CONFIG_SOC_SERIES_STM32N6X)
#include <stm32n6xx_ll_dlyb.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_dlyb.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_dlyb.h>
#endif
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_dma.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_dma.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_dma.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_dma.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_exti.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_exti.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_exti.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_exti.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_exti.h>
#elif defined(CONFIG_SOC_SERIES_STM32WBAX)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_gpio.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_gpio.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_gpio.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_gpio.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_i2c.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_i2c.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_i2c.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_i2c.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_i3c.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@
#include <stm32h7rsxx_ll_i3c.h>
#elif defined(CONFIG_SOC_SERIES_STM32N6X)
#include <stm32n6xx_ll_i3c.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_i3c.h>
#endif
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_icache.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include <stm32l5xx_ll_icache.h>
#elif defined(CONFIG_SOC_SERIES_STM32N6X)
#include <stm32n6xx_ll_icache.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_icache.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_icache.h>
#elif defined(CONFIG_SOC_SERIES_STM32WBAX)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_iwdg.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#include <stm32n6xx_ll_iwdg.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_iwdg.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_iwdg.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_iwdg.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_lptim.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include <stm32n6xx_ll_lptim.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_lptim.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_lptim.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_lptim.h>
#elif defined(CONFIG_SOC_SERIES_STM32WBAX)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_lpuart.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <stm32n6xx_ll_lpuart.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_lpuart.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_lpuart.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_lpuart.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_opamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include <stm32l5xx_ll_opamp.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_opamp.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_opamp.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_opamp.h>
#endif
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_pka.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#include <stm32l5xx_ll_pka.h>
#elif defined(CONFIG_SOC_SERIES_STM32N6X)
#include <stm32n6xx_ll_pka.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_pka.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_pka.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_pwr.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_pwr.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_pwr.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_pwr.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_pwr.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_rcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_rcc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_rcc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_rcc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_rcc.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_rng.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include <stm32n6xx_ll_rng.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_rng.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_rng.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_rng.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_rtc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_rtc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_rtc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_rtc.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_sdmmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <stm32mp1xx_ll_sdmmc.h>
#elif defined(CONFIG_SOC_SERIES_STM32N6X)
#include <stm32n6xx_ll_sdmmc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_sdmmc.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_sdmmc.h>
#endif
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_spi.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_spi.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_spi.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_spi.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_system.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_system.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_system.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_system.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_tim.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_tim.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_tim.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_tim.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_tim.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_usart.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_usart.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_usart.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_usart.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_usart.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_utils.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_utils.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_utils.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_utils.h>
#elif defined(CONFIG_SOC_SERIES_STM32WB0X)
Expand Down
2 changes: 2 additions & 0 deletions stm32cube/common_ll/include/stm32_ll_wwdg.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#include <stm32n6xx_ll_wwdg.h>
#elif defined(CONFIG_SOC_SERIES_STM32U0X)
#include <stm32u0xx_ll_wwdg.h>
#elif defined(CONFIG_SOC_SERIES_STM32U3X)
#include <stm32u3xx_ll_wwdg.h>
#elif defined(CONFIG_SOC_SERIES_STM32U5X)
#include <stm32u5xx_ll_wwdg.h>
#elif defined(CONFIG_SOC_SERIES_STM32WBAX)
Expand Down
102 changes: 102 additions & 0 deletions stm32cube/stm32u3xx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Copyright (c) 2025 STMicroelectronics
#
# SPDX-License-Identifier: Apache-2.0

zephyr_library_sources(soc/system_stm32u3xx.c)
zephyr_library_sources(drivers/src/stm32u3xx_hal.c)
zephyr_library_sources(drivers/src/stm32u3xx_hal_rcc.c)
zephyr_library_sources(drivers/src/stm32u3xx_hal_rcc_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ADC drivers/src/stm32u3xx_hal_adc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ADC_EX drivers/src/stm32u3xx_hal_adc_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CCB drivers/src/stm32u3xx_hal_ccb.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_COMP drivers/src/stm32u3xx_hal_comp.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CORTEX drivers/src/stm32u3xx_hal_cortex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRC drivers/src/stm32u3xx_hal_crc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRC_EX drivers/src/stm32u3xx_hal_crc_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRYP drivers/src/stm32u3xx_hal_cryp.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_CRYP_EX drivers/src/stm32u3xx_hal_cryp_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DAC drivers/src/stm32u3xx_hal_dac.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DAC_EX drivers/src/stm32u3xx_hal_dac_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA drivers/src/stm32u3xx_hal_dma.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_DMA_EX drivers/src/stm32u3xx_hal_dma_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_EXTI drivers/src/stm32u3xx_hal_exti.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_EXTI drivers/src/stm32u3xx_hal_fdcan.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH drivers/src/stm32u3xx_hal_flash.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32u3xx_hal_flash_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32u3xx_hal_gpio.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_GTZC drivers/src/stm32u3xx_hal_gtzc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HASH drivers/src/stm32u3xx_hal_hash.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HCD drivers/src/stm32u3xx_hal_hcd.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32u3xx_hal_i2c.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32u3xx_hal_i2c_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I3C drivers/src/stm32u3xx_hal_i3c.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ICACHE drivers/src/stm32u3xx_hal_icache.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32u3xx_hal_irda.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32u3xx_hal_iwdg.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32u3xx_hal_lptim.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_MDF drivers/src/stm32u3xx_hal_mdf.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_MMC drivers/src/stm32u3xx_hal_mmc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_MMC_EX drivers/src/stm32u3xx_hal_mmc_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_MSP_TEMPLATE drivers/src/stm32u3xx_hal_msp_template.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP drivers/src/stm32u3xx_hal_opamp.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_OPAMP_EX drivers/src/stm32u3xx_hal_opamp_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32u3xx_hal_pcd.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32u3xx_hal_pcd_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PKA drivers/src/stm32u3xx_hal_pka.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32u3xx_hal_pwr.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32u3xx_hal_pwr_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RAMCFG drivers/src/stm32u3xx_hal_ramcfg.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RCC drivers/src/stm32u3xx_hal_rcc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RCC_EX drivers/src/stm32u3xx_hal_rcc_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RNG drivers/src/stm32u3xx_hal_rng.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RNG_EX drivers/src/stm32u3xx_hal_rng_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RTC drivers/src/stm32u3xx_hal_rtc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_RTC_EX drivers/src/stm32u3xx_hal_rtc_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI drivers/src/stm32u3xx_hal_sai.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SAI_EX drivers/src/stm32u3xx_hal_sai_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SD drivers/src/stm32u3xx_hal_sd.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SD_EX drivers/src/stm32u3xx_hal_sd_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD drivers/src/stm32u3xx_hal_smartcard.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMARTCARD_EX drivers/src/stm32u3xx_hal_smartcard_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS drivers/src/stm32u3xx_hal_smbus.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SMBUS_EX drivers/src/stm32u3xx_hal_smbus_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPI drivers/src/stm32u3xx_hal_spi.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_SPI_EX drivers/src/stm32u3xx_hal_spi_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIM drivers/src/stm32u3xx_hal_tim.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIM_EX drivers/src/stm32u3xx_hal_tim_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIMEBASE_RTC_WAKEUP_TEMPLATE drivers/src/stm32u3xx_hal_timebase_rtc_wakeup_template.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TIMEBASE_TIM_TEMPLATE drivers/src/stm32u3xx_hal_timebase_tim_template.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_TSC drivers/src/stm32u3xx_hal_tsc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_UART drivers/src/stm32u3xx_hal_uart.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_UART_EX drivers/src/stm32u3xx_hal_uart_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_USART drivers/src/stm32u3xx_hal_usart.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_USART_EX drivers/src/stm32u3xx_hal_usart_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_WWDG drivers/src/stm32u3xx_hal_wwdg.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_XSPI drivers/src/stm32u3xx_hal_xspi.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_ADC drivers/src/stm32u3xx_ll_adc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_COMP drivers/src/stm32u3xx_ll_comp.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_CRC drivers/src/stm32u3xx_ll_crc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_CRS drivers/src/stm32u3xx_ll_crs.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DAC drivers/src/stm32u3xx_ll_dac.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DLYB drivers/src/stm32u3xx_ll_dlyb.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_DMA drivers/src/stm32u3xx_ll_dma.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_EXTI drivers/src/stm32u3xx_ll_exti.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_GPIO drivers/src/stm32u3xx_ll_gpio.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_I2C drivers/src/stm32u3xx_ll_i2c.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_I3C drivers/src/stm32u3xx_ll_i3c.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_ICACHE drivers/src/stm32u3xx_ll_icache.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_LPTIM drivers/src/stm32u3xx_ll_lptim.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_LPUART drivers/src/stm32u3xx_ll_lpuart.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_OPAMP drivers/src/stm32u3xx_ll_opamp.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_PKA drivers/src/stm32u3xx_ll_pka.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_PWR drivers/src/stm32u3xx_ll_pwr.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RCC drivers/src/stm32u3xx_ll_rcc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RNG drivers/src/stm32u3xx_ll_rng.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32u3xx_ll_rtc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SDMMC drivers/src/stm32u3xx_ll_sdmmc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32u3xx_ll_spi.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32u3xx_ll_tim.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32u3xx_ll_usart.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USB drivers/src/stm32u3xx_ll_usb.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32u3xx_ll_utils.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_UTIL_I3C drivers/src/stm32u3xx_util_i3c.c)
Loading