-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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: weact: Add support for WeAct STM32H5 Core Board #84180
base: main
Are you sure you want to change the base?
boards: weact: Add support for WeAct STM32H5 Core Board #84180
Conversation
Hello @magiczny-kacper, and thank you very much for your first pull request to the Zephyr project! |
e290647
to
33b36c2
Compare
Hi @magiczny-kacper, thanks for your contribution. Please see remarks in PR #84033 and apply the relevant ones here. Also squash the last 2 commits, and preferably put the SoC dtsi definition in a separate commit. |
45d40a6
to
b391224
Compare
@magiczny-kacper the 1st commit title should be |
Added STM32H562xG dts file Signed-off-by: Kacper Brzostowski <[email protected]>
5bf7914
to
00aa596
Compare
Supported Features | ||
================== | ||
|
||
The Zephyr nucleo_h563zi board configuration supports the following hardware features: |
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.
The Zephyr nucleo_h563zi board configuration supports the following hardware features: | |
The Zephyr ``weact_stm32h5_core`` board supports the following hardware features: |
status = "okay"; | ||
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>; | ||
pinctrl-names = "default"; | ||
|
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.
5f8f686
to
ffcdc29
Compare
ffcdc29
to
48052ad
Compare
48052ad
to
80996ff
Compare
.. _STM32CubeProgrammer: | ||
https://www.st.com/en/development-tools/stm32cubeprog.html | ||
|
||
.. _OpenOCD official Github mirror: |
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.
not used
1dc251e
to
0c198ee
Compare
https://www.st.com/resource/en/reference_manual/rm0481-stm32h52333xx-stm32h56263xx-and-stm32h573xx-armbased-32bit-mcus-stmicroelectronics.pdf | ||
|
||
.. _STMicroelectronics OpenOCD Github: | ||
https://github.com/STMicroelectronics/OpenOCD/tree/openocd-cubeide-r6 |
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.
still not removed
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.
Sorry, forgot to add it to commit
0c198ee
to
ceaa8be
Compare
- xtools | ||
ram: 640 | ||
flash: 1024 | ||
supported: |
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.
Sorry I didn't catch this before, we only put tags here for devices that are enabled in board DTS, I don't see any SPI, I3C, CAN,.. nodes.
ceaa8be
to
50119f0
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.
Great work, thanks!
162ad43
to
25e5909
Compare
@JarmouniA thank you too! I have fixed typos to pass CI |
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.
Review requested without fixing raised issues
Replace :code:`<tty_device>` with the port where the board XIAO BLE | ||
can be found. For example, under Linux, :code:`/dev/ttyACM0`. |
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.
Replace :code:`<tty_device>` with the port where the board can be found.
For example, under Linux, :code:`/dev/ttyACM0`.
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.
Changed
board_runner_args(stm32cubeprogrammer "--port=swd" "--reset-mode=hw") | ||
|
||
board_runner_args(pyocd "--target=stm32h562rgtx") | ||
|
||
board_runner_args(jlink "--device=STM32H562RG" "--reset-after-load") | ||
|
||
board_runner_args(dfu-util "--pid=0483:df11" "--alt=0" "--dfuse") | ||
|
||
board_runner_args(openocd "--tcl-port=6666") | ||
board_runner_args(openocd --cmd-pre-init "gdb_report_data_abort enable") | ||
board_runner_args(openocd "--no-halt") | ||
|
||
# Keep first | ||
include(${ZEPHYR_BASE}/boards/common/stm32cubeprogrammer.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/dfu-util.board.cmake) |
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.
If the only flashing method available is usb-dfu, let's remove others for correctness and clarity.
Users using the board with ST-Link will be able to add required lines.
Optionaly you can keep them commented
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.
Changed
+-----------+------------+-------------------------------------+ | ||
| I3C | on-chip | i3c bus | |
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.
Not available, please remove.
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.
Removed
| PWM | on-chip | PWM | | ||
+-----------+------------+-------------------------------------+ |
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.
Not enabled, please remove
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.
Removed
| BKP SRAM | on-chip | Backup SRAM | | ||
+-----------+------------+-------------------------------------+ |
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.
Not enabled please remove
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.
Removed
| ADC | on-chip | ADC Controller | | ||
+-----------+------------+-------------------------------------+ |
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.
Not enabled, please remove
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.
Removed
| DAC | on-chip | DAC Controller | | ||
+-----------+------------+-------------------------------------+ |
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.
Not enabled, please remove.
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.
Removed
flash: 1024 | ||
supported: | ||
- gpio | ||
- backup_sram |
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.
To be removed.
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.
Removed
Low cost STM32H5 series development board with bare minimum to run the MCU Signed-off-by: Kacper Brzostowski <[email protected]>
25e5909
to
c61c7c6
Compare
|
||
gpio_keys { | ||
compatible = "gpio-keys"; | ||
button_0: button0 { |
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.
newline
|
||
leds { | ||
compatible = "gpio-leds"; | ||
led_0: led0 { |
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.
newline
Low cost STM32H5 series development board with bare minimum to run the MCU