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 stm32u0 series #76242

Merged
merged 10 commits into from
Aug 26, 2024
Merged

Add stm32u0 series #76242

merged 10 commits into from
Aug 26, 2024

Conversation

marwaiehm-st
Copy link
Collaborator

@marwaiehm-st marwaiehm-st commented Jul 23, 2024

Add stm32u0 series

@zephyrbot
Copy link
Collaborator

zephyrbot commented Jul 23, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_stm32 zephyrproject-rtos/hal_stm32@f131715 zephyrproject-rtos/hal_stm32@484af4f (main) zephyrproject-rtos/[email protected]

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@zephyrbot zephyrbot added manifest manifest-hal_stm32 DNM This PR should not be merged (Do Not Merge) labels Jul 23, 2024
@FRASTM FRASTM added the platform: STM32 ST Micro STM32 label Jul 24, 2024
@marwaiehm-st marwaiehm-st force-pushed the add_stm32_u0 branch 7 times, most recently from 289b124 to f9b49cb Compare August 1, 2024 14:24
soc/st/stm32/stm32u0x/CMakeLists.txt Outdated Show resolved Hide resolved
soc/st/stm32/stm32u0x/Kconfig Outdated Show resolved Hide resolved
dts/arm/st/u0/stm32u0.dtsi Outdated Show resolved Hide resolved
boards/st/nucleo_u083rc/doc/index.rst Outdated Show resolved Hide resolved
boards/st/nucleo_u083rc/nucleo_u083rc.dts Outdated Show resolved Hide resolved
drivers/clock_control/clock_stm32u0.c Outdated Show resolved Hide resolved
boards/st/stm32u083c_dk/doc/index.rst Outdated Show resolved Hide resolved
boards/st/stm32u083c_dk/stm32u083c_dk.dts Outdated Show resolved Hide resolved
drivers/hwinfo/hwinfo_stm32.c Show resolved Hide resolved
@marwaiehm-st marwaiehm-st force-pushed the add_stm32_u0 branch 3 times, most recently from d0f37bc to 38e21f1 Compare August 12, 2024 18:01
@marwaiehm-st marwaiehm-st marked this pull request as ready for review August 14, 2024 09:09
@zephyrbot zephyrbot added area: Samples Samples area: Clock Control area: Flash area: HWINFO Hardware Information Driver area: Devicetree Binding PR modifies or adds a Device Tree binding labels Aug 14, 2024
Add STM32U0 pinctrl.dtsi and HAL-LL files

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Provide support for the familly STM32U0 and ST32U083

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Add the stm32u0 clock control and the RCC bus reset register offset

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
@erwango
Copy link
Member

erwango commented Aug 22, 2024

@str4t0m Thanks for the review, PTAL.

Copy link
Collaborator

@mathieuchopstm mathieuchopstm left a comment

Choose a reason for hiding this comment

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

A few things to change and comments, otherwise LGTM.

boards/st/stm32u083c_dk/doc/index.rst Outdated Show resolved Hide resolved
drivers/clock_control/CMakeLists.txt Outdated Show resolved Hide resolved
soc/st/stm32/stm32u0x/soc.c Outdated Show resolved Hide resolved
soc/st/stm32/stm32u0x/soc.c Outdated Show resolved Hide resolved
soc/st/stm32/stm32u0x/soc.c Outdated Show resolved Hide resolved
boards/st/nucleo_u083rc/doc/index.rst Outdated Show resolved Hide resolved
boards/st/stm32u083c_dk/doc/index.rst Outdated Show resolved Hide resolved
boards/st/nucleo_u083rc/doc/index.rst Outdated Show resolved Hide resolved
boards/st/stm32u083c_dk/doc/index.rst Outdated Show resolved Hide resolved
Add binding "st,stm32u0-pll-clock" for U0 clocks.

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Add the function that clear standby and stop flags

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Add STM32U0 familly support

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Cast the argument to "unsigned long" to avoid the
warning

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Reuse the file clock_stm32g0.c for the STM32U0 and
rename it to clock_stm32g0_u0.c
because the G0 and U0 series share the same clock control.

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
Add board support for nucleo_u083rc

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
mathieuchopstm
mathieuchopstm previously approved these changes Aug 22, 2024
str4t0m
str4t0m previously approved these changes Aug 26, 2024
dts/bindings/clock/st,stm32u0-pll-clock.yaml Outdated Show resolved Hide resolved
boards/st/stm32u083c_dk/doc/index.rst Show resolved Hide resolved
Add board support for stm32u083c_dk

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
@nashif nashif merged commit 4215078 into zephyrproject-rtos:main Aug 26, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.