boards: Convert sensortile_box_pro to HWM v2
Port the board to HWMv2. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
committed by
Carles Cufi
parent
db4deddf9d
commit
c1ee449ef1
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_SENSORTILE_BOX_PRO
|
||||
|
||||
config BOARD
|
||||
default "sensortile_box_pro"
|
||||
|
||||
if BT
|
||||
|
||||
config SPI
|
||||
@@ -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
|
||||
5
boards/st/sensortile_box_pro/board.yml
Normal file
5
boards/st/sensortile_box_pro/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: sensortile_box_pro
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32u585xx
|
||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@@ -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:
|
||||
};
|
||||
|
||||
.. 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:
|
||||
- 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 {
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user