diff --git a/boards/deprecated.cmake b/boards/deprecated.cmake index 871cd600f8053..b93692ebde111 100644 --- a/boards/deprecated.cmake +++ b/boards/deprecated.cmake @@ -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 +) diff --git a/boards/weact/stm32h5_core/Kconfig.weact_stm32h5_core b/boards/weact/stm32h562_core/Kconfig.weact_stm32h562_core similarity index 75% rename from boards/weact/stm32h5_core/Kconfig.weact_stm32h5_core rename to boards/weact/stm32h562_core/Kconfig.weact_stm32h562_core index 999012b1955ed..f4c679c5e440e 100644 --- a/boards/weact/stm32h5_core/Kconfig.weact_stm32h5_core +++ b/boards/weact/stm32h562_core/Kconfig.weact_stm32h562_core @@ -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 diff --git a/boards/weact/stm32h5_core/board.cmake b/boards/weact/stm32h562_core/board.cmake similarity index 100% rename from boards/weact/stm32h5_core/board.cmake rename to boards/weact/stm32h562_core/board.cmake diff --git a/boards/weact/stm32h562_core/board.yml b/boards/weact/stm32h562_core/board.yml new file mode 100644 index 0000000000000..360d529820d7e --- /dev/null +++ b/boards/weact/stm32h562_core/board.yml @@ -0,0 +1,6 @@ +board: + name: weact_stm32h562_core + full_name: STM32H562 Core Board + vendor: weact + socs: + - name: stm32h562xx diff --git a/boards/weact/stm32h562_core/doc/img/weact_stm32h562_core.webp b/boards/weact/stm32h562_core/doc/img/weact_stm32h562_core.webp new file mode 100644 index 0000000000000..3cb7a5ab40e19 Binary files /dev/null and b/boards/weact/stm32h562_core/doc/img/weact_stm32h562_core.webp differ diff --git a/boards/weact/stm32h5_core/doc/index.rst b/boards/weact/stm32h562_core/doc/index.rst similarity index 86% rename from boards/weact/stm32h5_core/doc/index.rst rename to boards/weact/stm32h562_core/doc/index.rst index 8ff4c9167359a..bf014117fc08e 100644 --- a/boards/weact/stm32h5_core/doc/index.rst +++ b/boards/weact/stm32h562_core/doc/index.rst @@ -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. @@ -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 @@ -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 @@ -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 @@ -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. @@ -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 @@ -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:`` with the port where the board can be found. For example, under Linux, :code:`/dev/ttyACM0`. @@ -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 diff --git a/boards/weact/stm32h5_core/weact_stm32h5_core.dts b/boards/weact/stm32h562_core/weact_stm32h562_core.dts similarity index 97% rename from boards/weact/stm32h5_core/weact_stm32h5_core.dts rename to boards/weact/stm32h562_core/weact_stm32h562_core.dts index 1fd1754cb8d0a..1a128026e5f82 100644 --- a/boards/weact/stm32h5_core/weact_stm32h5_core.dts +++ b/boards/weact/stm32h562_core/weact_stm32h562_core.dts @@ -10,8 +10,8 @@ #include / { - model = "WeAct Studio STM32H5 Core Board"; - compatible = "weact,stm32h5-core"; + model = "WeAct Studio STM32H562 Core Board"; + compatible = "weact,stm32h562-core"; chosen { zephyr,console = &usart1; diff --git a/boards/weact/stm32h5_core/weact_stm32h5_core.yaml b/boards/weact/stm32h562_core/weact_stm32h562_core.yaml similarity index 72% rename from boards/weact/stm32h5_core/weact_stm32h5_core.yaml rename to boards/weact/stm32h562_core/weact_stm32h562_core.yaml index 942b2f55025bb..8f6a0c70ae572 100644 --- a/boards/weact/stm32h5_core/weact_stm32h5_core.yaml +++ b/boards/weact/stm32h562_core/weact_stm32h562_core.yaml @@ -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: diff --git a/boards/weact/stm32h5_core/weact_stm32h5_core_defconfig b/boards/weact/stm32h562_core/weact_stm32h562_core_defconfig similarity index 100% rename from boards/weact/stm32h5_core/weact_stm32h5_core_defconfig rename to boards/weact/stm32h562_core/weact_stm32h562_core_defconfig diff --git a/boards/weact/stm32h5_core/board.yml b/boards/weact/stm32h5_core/board.yml deleted file mode 100644 index ad89ef703655f..0000000000000 --- a/boards/weact/stm32h5_core/board.yml +++ /dev/null @@ -1,6 +0,0 @@ -board: - name: weact_stm32h5_core - full_name: STM32H5 Core Board - vendor: weact - socs: - - name: stm32h562xx diff --git a/doc/releases/release-notes-4.1.rst b/doc/releases/release-notes-4.1.rst index 7d850846d3ffb..9fffe46493f1d 100644 --- a/doc/releases/release-notes-4.1.rst +++ b/doc/releases/release-notes-4.1.rst @@ -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