-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
soc: arm: st_stm32: stm32g4: STM32G4 support #18806
soc: arm: st_stm32: stm32g4: STM32G4 support #18806
Conversation
Requires PR from stm32_hal zephyrproject-rtos/hal_stm32#20 |
Found the following issues, please fix and resubmit: Identity/Emails issues022fcf72fb832b30536281d0e1e724ea9ddd8ee1: author email (Erwan Gouriou erwan.gouriou@linaro.org) needs to match one of the signed-off-by entries. |
It would be worth to split the PR into several commits, e.g. one for the SoC support, one for the new board(s) support... |
16aed53
to
5e1ca5e
Compare
Split the commit as requested by @loicpoulain and added copyright dues zephyrbot warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rosterloh , thanks for this change with this wide range of updated drivers.
Did you had time to test everything?
As mentioned by @loicpoulain, it eases the review when change is split in several small commits.
Here is an example of split PR that was done for L1 port: #12354
I fully understand it is more initial work for author, but since review work is getting easier, upstream goes faster overall.
@erwango I've done the following tests:
|
Ok, then please focus your commits on drivers actually validated: clock, gpio, interrupt_controller. |
5e1ca5e
to
43c533c
Compare
@erwango I've validated everything I've checked in. Just pushed a few fixes in and additional commit. clock, gpio, i2c, interrupt_controller, pwm, led, pinmux, serial, spi and usb all working. I've also submitted a PR to your openocd repo to provide G4 support there. I've been doing all my testing with it so am happy it works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rosterloh, thanks for the work so far, looks promising.
To get merged there is some additional work that will be requested:
- get automatic checks passing (shippable + checkpatch (you can let the ">80 char" warning for now))
- split the PR into subsystem commits (as mentioned already L1 port (Add 96Boards WisTrio board support #12354) is a good example of what is expected). This is requested to ease the review work and has been followed for all other series porting PRs.
- Squash the "fix commit" into the previous commits
Thanks
@erwango Woo Hoo! All passed. |
Approved, but last point will be to update |
Merged the HAL repo change. |
This commit adds the STM32CUBE HAL for STM32G4x series MCUs. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add soc and dts files to support for most of the common peripherals in the STM32G4 series. Add specific support for the STM32G431RB. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add clock support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add pinmux support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add GPIO driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add EXTI driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add UART driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add flash driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add I2C driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add SPI driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add ADC driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add PWM driver support for STM32G4X SoC series. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add counter driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add RNG driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add USB driver support for STM32G4X SoC series. Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Add watchdog driver support for STM32G4X SoC series. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
Nucleo-G431RB board support and description Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
78a0bde
to
590621e
Compare
Add support for STM32G4 series
Signed-off-by: Richard Osterloh richard.osterloh@gmail.com