Skip to content
Open
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
3 changes: 3 additions & 0 deletions boards/deprecated.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ set(scobc_module1_DEPRECATED
set(raytac_an54l15q_db/nrf54l15/cpuapp_DEPRECATED
raytac_an54lq_db_15/nrf54l15/cpuapp
)
set(weact_stm32h5_core_DEPRECATED
weact_stm32h562_core
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2025 Kacper Brzostowski
# SPDX-License-Identifier: Apache-2.0

config BOARD_WEACT_STM32H5_CORE
config BOARD_WEACT_STM32H562_CORE
select SOC_STM32H562XX
6 changes: 6 additions & 0 deletions boards/weact/stm32h562_core/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
board:
name: weact_stm32h562_core
full_name: STM32H562 Core Board
vendor: weact
socs:
- name: stm32h562xx
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.. zephyr:board:: weact_stm32h5_core
.. zephyr:board:: weact_stm32h562_core

Overview
********

The ``weact_stm32h5_core`` board is a compact development board equipped with
The ``weact_stm32h562_core`` board is a compact development board equipped with
an STM32H562RGT6 microcontroller. It features basic set of peripherals:
user LED and button, microSD |trade| card slot, and combined SWD & UART header.

Expand All @@ -26,7 +26,7 @@ More information about the board can be found on the `WeAct GitHub`_.
Hardware
********

The ``weact_stm32h5_core`` board provides the following hardware components:
The ``weact_stm32h562_core`` board provides the following hardware components:

- STM32H562RGT6 in LQFP64 package
- ARM 32-bit Cortex-M33 CPU with FPU
Expand Down Expand Up @@ -77,7 +77,7 @@ Pin Mapping
Default Zephyr Peripheral Mapping:
----------------------------------

The ``weact_stm32h5_core`` board is configured as follows
The ``weact_stm32h562_core`` board is configured as follows

- USER_LED : PB2
- USER_PB : PC13
Expand All @@ -103,7 +103,7 @@ Programming and Debugging

.. zephyr:board-supported-runners::

The ``weact_stm32h5_core`` board facilitates firmware flashing via the USB DFU
The ``weact_stm32h562_core`` board facilitates firmware flashing via the USB DFU
bootloader. This method simplifies the process of updating images, although
it doesn't provide debugging capabilities. However, the board provides header
pins for the Serial Wire Debug (SWD) interface, which can be used to connect
Expand All @@ -122,8 +122,8 @@ Upon successful execution of these steps, the device will transition into
bootloader mode and present itself as a USB DFU Mode device. You can program
the device using the west tool or the STM32CubeProgrammer.

Flashing an application to ``weact_stm32h5_core``
-------------------------------------------------
Flashing an application to ``weact_stm32h562_core``
---------------------------------------------------

Here is an example for the :zephyr:code-sample:`hello_world` application.

Expand All @@ -134,7 +134,7 @@ as below:

.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: weact_stm32h5_core
:board: weact_stm32h562_core
:goals: build flash
:gen-args: -DCONFIG_BOOT_DELAY=5000

Expand All @@ -148,7 +148,7 @@ Then, press the RESET button, you should see the following message after few sec

.. code-block:: console

Hello World! weact_stm32h5_core
Hello World! weact_stm32h562_core

Replace :code:`<tty_device>` with the port where the board can be found.
For example, under Linux, :code:`/dev/ttyACM0`.
Expand All @@ -158,31 +158,31 @@ Debugging

This current Zephyr port does not support debugging.

Testing the LEDs in the ``weact_stm32h5_core``
**********************************************
Testing the LEDs in the ``weact_stm32h562_core``
************************************************

There is a sample that allows to test that LED on the board are working
properly with Zephyr:

.. zephyr-app-commands::
:zephyr-app: samples/basic/blinky
:board: weact_stm32h5_core
:board: weact_stm32h562_core
:goals: build flash
:gen-args: -DCONFIG_BOOT_DELAY=5000

You can build and flash the examples to make sure Zephyr is running correctly on
your board. The LED definitions can be found in
:zephyr_file:`boards/weact/stm32h5_core/weact_stm32h5_core.dts`.
:zephyr_file:`boards/weact/stm32h562_core/weact_stm32h562_core.dts`.

Testing shell over USB in the ``weact_stm32h5_core``
****************************************************
Testing shell over USB in the ``weact_stm32h562_core``
******************************************************

There is a sample that allows to test shell interface over USB CDC ACM interface
with Zephyr:

.. zephyr-app-commands::
:zephyr-app: samples/subsys/shell/shell_module
:board: weact_stm32h5_core
:board: weact_stm32h562_core
:goals: build flash
:gen-args: -DCONFIG_BOOT_DELAY=5000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <zephyr/dt-bindings/input/input-event-codes.h>

/ {
model = "WeAct Studio STM32H5 Core Board";
compatible = "weact,stm32h5-core";
model = "WeAct Studio STM32H562 Core Board";
compatible = "weact,stm32h562-core";

chosen {
zephyr,console = &usart1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
identifier: weact_stm32h5_core
name: WeAct Studio STM32H5 Core Board
identifier: weact_stm32h562_core
name: WeAct Studio STM32H562 Core Board
type: mcu
arch: arm
toolchain:
Expand Down
6 changes: 0 additions & 6 deletions boards/weact/stm32h5_core/board.yml

This file was deleted.

2 changes: 1 addition & 1 deletion doc/releases/release-notes-4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ New Boards
* WeAct Studio

* :zephyr:board:`mini_stm32h7b0` (``mini_stm32h7b0``)
* :zephyr:board:`weact_stm32h5_core` (``weact_stm32h5_core``)
* :zephyr:board:`weact_stm32h562_core` (``weact_stm32h562_core``)

* WinChipHead

Expand Down