Browse Source

boards: Convert sensortile_box_pro to HWM v2

Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
pull/69687/head
Erwan Gouriou 1 year ago committed by Carles Cufi
parent
commit
c1ee449ef1
  1. 0
      boards/st/sensortile_box_pro/CMakeLists.txt
  2. 3
      boards/st/sensortile_box_pro/Kconfig.defconfig
  3. 5
      boards/st/sensortile_box_pro/Kconfig.sensortile_box_pro
  4. 0
      boards/st/sensortile_box_pro/board.c
  5. 0
      boards/st/sensortile_box_pro/board.cmake
  6. 5
      boards/st/sensortile_box_pro/board.yml
  7. 0
      boards/st/sensortile_box_pro/doc/img/sensortile_box_pro.jpg
  8. 10
      boards/st/sensortile_box_pro/doc/index.rst
  9. 0
      boards/st/sensortile_box_pro/sensortile_box_pro.dts
  10. 0
      boards/st/sensortile_box_pro/sensortile_box_pro.yaml
  11. 3
      boards/st/sensortile_box_pro/sensortile_box_pro_defconfig
  12. 0
      boards/st/sensortile_box_pro/support/openocd.cfg

0
boards/boards_legacy/arm/sensortile_box_pro/CMakeLists.txt → boards/st/sensortile_box_pro/CMakeLists.txt

3
boards/boards_legacy/arm/sensortile_box_pro/Kconfig.defconfig → boards/st/sensortile_box_pro/Kconfig.defconfig

@ -5,9 +5,6 @@ @@ -5,9 +5,6 @@
if BOARD_SENSORTILE_BOX_PRO
config BOARD
default "sensortile_box_pro"
if BT
config SPI

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

@ -1,8 +1,5 @@ @@ -1,8 +1,5 @@
# SENSORTILE_BOX_PRO board configuration
# Copyright (c) 2023 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
config BOARD_SENSORTILE_BOX_PRO
bool "SENSORTILE_BOX_PRO Board"
depends on SOC_STM32U585XX
select SOC_STM32U585XX

0
boards/boards_legacy/arm/sensortile_box_pro/board.c → boards/st/sensortile_box_pro/board.c

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

5
boards/st/sensortile_box_pro/board.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
board:
name: sensortile_box_pro
vendor: st
socs:
- name: stm32u585xx

0
boards/boards_legacy/arm/sensortile_box_pro/doc/img/sensortile_box_pro.jpg → boards/st/sensortile_box_pro/doc/img/sensortile_box_pro.jpg

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

10
boards/boards_legacy/arm/sensortile_box_pro/doc/index.rst → boards/st/sensortile_box_pro/doc/index.rst

@ -225,13 +225,13 @@ There are two possible options for Zephyr console output: @@ -225,13 +225,13 @@ There are two possible options for Zephyr console output:
To enable console and shell over UART
- switch the console lines from cdc_acm to uart4
(:file:`boards/arm/sensortile_box_pro/sensortile_box_pro.dts`)
(:file:`boards/st/sensortile_box_pro/sensortile_box_pro.dts`)
- comment out the USB configuration macros
(:file:`boards/arm/sensortile_box_pro/sensortile_box_pro_defconfig`)
(:file:`boards/st/sensortile_box_pro/sensortile_box_pro_defconfig`)
.. code-block:: dts
:caption: boards/arm/sensortile_box_pro/sensortile_box_pro.dts
:caption: boards/st/sensortile_box_pro/sensortile_box_pro.dts
/ {
chosen {
@ -243,7 +243,7 @@ There are two possible options for Zephyr console output: @@ -243,7 +243,7 @@ There are two possible options for Zephyr console output:
};
.. code-block:: Kconfig
:caption: boards/arm/sensortile_box_pro/sensortile_box_pro_defconfig
:caption: boards/st/sensortile_box_pro/sensortile_box_pro_defconfig
# Comment out following USB config lines when
# switching console to UART
@ -258,7 +258,7 @@ There are two possible options for Zephyr console output: @@ -258,7 +258,7 @@ There are two possible options for Zephyr console output:
- through USB as USB CDC/ACM class. This is the default case present in the board dts file.
.. code-block:: dts
:caption: boards/arm/sensortile_box_pro/sensortile_box_pro.dts
:caption: boards/st/sensortile_box_pro/sensortile_box_pro.dts
/ {
chosen {

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

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

3
boards/boards_legacy/arm/sensortile_box_pro/sensortile_box_pro_defconfig → boards/st/sensortile_box_pro/sensortile_box_pro_defconfig

@ -1,8 +1,5 @@ @@ -1,8 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32U5X=y
CONFIG_SOC_STM32U585XX=y
# Enable MPU
CONFIG_ARM_MPU=y

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

Loading…
Cancel
Save