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
boards: arm: add support for WeAct STM32G431 Core #63889
boards: arm: add support for WeAct STM32G431 Core #63889
Conversation
7c9da3d
to
e3745bd
Compare
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.
One minor nit, and please address the flash partitioning comment as well as take a look at the CI failures.
Rest looks .
0282e5e
to
abe2ab7
Compare
Given that PD support requires some board modifications, would it be a good idea to represent the PD-enabled board as a variant board? I.e., create a Edit: Looking at the documentation, this might not be possible without abusing the revision system. |
abe2ab7
to
024df1b
Compare
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.
Putting a -1 on this until the chosen node is switched to an alias, as discussed in another PR where this change was split out on its own.
024df1b
to
9d77562
Compare
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.
DT changes look OK to me, thanks
9d77562
to
e90db07
Compare
7eb2801
to
88e1239
Compare
88e1239
to
b6ddb8b
Compare
Add support for the WeAct Studio STM32G431 Core Board. Tested with: - `samples/basic/blinky` - `samples/basic/button` Flashed samples using dfu-util. Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
Add support for the WeAct Studio STM32G431 Core board. Note that this board does not support USB-C PD in its default configuration. See the board documentation for the necessary hardware reconfiguration. Signed-off-by: Andreas Sandberg <andreas@sandberg.uk>
b6ddb8b
to
c334ba5
Compare
Ping @kartben. I should have fixed the issues you pointed out. |
Hi @kartben, it's been 3 weeks. Any chance you could have a look at the updated changeset and see if it addressed your comments? |
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.
looks good to me, sorry that i missed your earlier ping
Add support for the WeAct STM32G431 Core board. This is a low-cost STM32G431 board with a USB-C connector. The board supports USB-C PD if the right solder bridges are modified correctly.
This PR depends on #63886.Note to reviewers: Please pay close attention to the clock configuration. I don't have a lot of experience with this particular corner of STM32 MCUs. The DTS file configures the MCU to use the HSE to drive the USB subsystem instead of the HSI48 clock unlike many of the other boards. My understanding is that this is the recommended way to drive the USB block since it provides a more stable clock source.
Testing: Bard has been tested with the USB-C PD example which works as expected and prints its log on the attached UART. Some of the other basic examples have also been tested to ensure that the user button and LED are both mapped correctly.
Update: