Browse Source

boards: Convert stm32wb5mmg to HWM v2

Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
pull/69687/head
Guillaume Gautier 1 year ago committed by Carles Cufi
parent
commit
12b297707a
  1. 16
      boards/boards_legacy/arm/stm32wb5mmg/Kconfig.defconfig
  2. 5
      boards/st/stm32wb5mmg/Kconfig.stm32wb5mmg
  3. 0
      boards/st/stm32wb5mmg/board.cmake
  4. 5
      boards/st/stm32wb5mmg/board.yml
  5. 0
      boards/st/stm32wb5mmg/doc/img/STM32WB5MMG.jpg
  6. 2
      boards/st/stm32wb5mmg/doc/stm32wb5mmg.rst
  7. 0
      boards/st/stm32wb5mmg/stm32wb5mmg.dts
  8. 0
      boards/st/stm32wb5mmg/stm32wb5mmg.yaml
  9. 3
      boards/st/stm32wb5mmg/stm32wb5mmg_defconfig
  10. 0
      boards/st/stm32wb5mmg/support/openocd.cfg

16
boards/boards_legacy/arm/stm32wb5mmg/Kconfig.defconfig

@ -1,16 +0,0 @@ @@ -1,16 +0,0 @@
# STM32WB5MMG Bluetooth module board configuration
# Copyright (c) 2024 Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
# SPDX-License-Identifier: Apache-2.0
if BOARD_STM32WB5MMG
config BOARD
default "stm32wb5mmg"
choice BT_HCI_BUS_TYPE
default BT_STM32_IPM
depends on BT
endchoice
endif # BOARD_STM32WB5MMG

5
boards/boards_legacy/arm/stm32wb5mmg/Kconfig.board → boards/st/stm32wb5mmg/Kconfig.stm32wb5mmg

@ -1,8 +1,5 @@ @@ -1,8 +1,5 @@
# STM32WB5MMG Bluetooth module board configuration
# Copyright (c) 2024 Javad Rahimipetroudi <javad.rahimipetroudi@mind.be>
# SPDX-License-Identifier: Apache-2.0
config BOARD_STM32WB5MMG
bool "stm32wb5mmg ultra low power Bluetooth module"
depends on SOC_STM32WB55XX
select SOC_STM32WB55XX

0
boards/boards_legacy/arm/stm32wb5mmg/board.cmake → boards/st/stm32wb5mmg/board.cmake

5
boards/st/stm32wb5mmg/board.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
board:
name: stm32wb5mmg
vendor: st
socs:
- name: stm32wb55xx

0
boards/boards_legacy/arm/stm32wb5mmg/doc/img/STM32WB5MMG.jpg → boards/st/stm32wb5mmg/doc/img/STM32WB5MMG.jpg

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

2
boards/boards_legacy/arm/stm32wb5mmg/doc/stm32wb5mmg.rst → boards/st/stm32wb5mmg/doc/stm32wb5mmg.rst

@ -179,7 +179,7 @@ The Zephyr STM32WB5MMG board configuration supports the following hardware featu @@ -179,7 +179,7 @@ The Zephyr STM32WB5MMG board configuration supports the following hardware featu
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/stm32wb5mmg/stm32wb5mmg_defconfig``
:zephyr_file:`boards/st/stm32wb5mmg/stm32wb5mmg_defconfig`
Bluetooth and compatibility with STM32WB Copro Wireless Binaries
================================================================

0
boards/boards_legacy/arm/stm32wb5mmg/stm32wb5mmg.dts → boards/st/stm32wb5mmg/stm32wb5mmg.dts

0
boards/boards_legacy/arm/stm32wb5mmg/stm32wb5mmg.yaml → boards/st/stm32wb5mmg/stm32wb5mmg.yaml

3
boards/boards_legacy/arm/stm32wb5mmg/stm32wb5mmg_defconfig → boards/st/stm32wb5mmg/stm32wb5mmg_defconfig

@ -1,6 +1,3 @@ @@ -1,6 +1,3 @@
CONFIG_SOC_SERIES_STM32WBX=y
CONFIG_SOC_STM32WB55XX=y
# enable uart driver
CONFIG_SERIAL=y

0
boards/boards_legacy/arm/stm32wb5mmg/support/openocd.cfg → boards/st/stm32wb5mmg/support/openocd.cfg

Loading…
Cancel
Save