diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/Kconfig.board b/boards/boards_legacy/arm/96b_stm32_sensor_mez/Kconfig.board deleted file mode 100644 index 3d17d091ae4..00000000000 --- a/boards/boards_legacy/arm/96b_stm32_sensor_mez/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# 96Boards STM32 Sensor Mezzanine board configuration - -# Copyright (c) 2018 Linaro Limited. -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_96B_STM32_SENSOR_MEZ - bool "96Boards STM32 Sensor Mezzanine Board" - depends on SOC_STM32F446XX diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez.dts b/boards/st/96b_stm32_sensor_mez/96b_stm32_sensor_mez.dts similarity index 100% rename from boards/boards_legacy/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez.dts rename to boards/st/96b_stm32_sensor_mez/96b_stm32_sensor_mez.dts diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez.yaml b/boards/st/96b_stm32_sensor_mez/96b_stm32_sensor_mez.yaml similarity index 100% rename from boards/boards_legacy/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez.yaml rename to boards/st/96b_stm32_sensor_mez/96b_stm32_sensor_mez.yaml diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig b/boards/st/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig similarity index 84% rename from boards/boards_legacy/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig rename to boards/st/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig index a9e0141c125..c729b83e3d0 100644 --- a/boards/boards_legacy/arm/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig +++ b/boards/st/96b_stm32_sensor_mez/96b_stm32_sensor_mez_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32F4X=y -CONFIG_SOC_STM32F446XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/st/96b_stm32_sensor_mez/Kconfig.96b_stm32_sensor_mez b/boards/st/96b_stm32_sensor_mez/Kconfig.96b_stm32_sensor_mez new file mode 100644 index 00000000000..aa4bd5b97bb --- /dev/null +++ b/boards/st/96b_stm32_sensor_mez/Kconfig.96b_stm32_sensor_mez @@ -0,0 +1,5 @@ +# Copyright (c) 2018 Linaro Limited. +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_96B_STM32_SENSOR_MEZ + select SOC_STM32F446XX diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/Kconfig.defconfig b/boards/st/96b_stm32_sensor_mez/Kconfig.defconfig similarity index 84% rename from boards/boards_legacy/arm/96b_stm32_sensor_mez/Kconfig.defconfig rename to boards/st/96b_stm32_sensor_mez/Kconfig.defconfig index bfe0f730222..f6678ae9110 100644 --- a/boards/boards_legacy/arm/96b_stm32_sensor_mez/Kconfig.defconfig +++ b/boards/st/96b_stm32_sensor_mez/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_96B_STM32_SENSOR_MEZ -config BOARD - default "96b_stm32_sensor_mez" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/board.cmake b/boards/st/96b_stm32_sensor_mez/board.cmake similarity index 100% rename from boards/boards_legacy/arm/96b_stm32_sensor_mez/board.cmake rename to boards/st/96b_stm32_sensor_mez/board.cmake diff --git a/boards/st/96b_stm32_sensor_mez/board.yml b/boards/st/96b_stm32_sensor_mez/board.yml new file mode 100644 index 00000000000..e410dcc9e65 --- /dev/null +++ b/boards/st/96b_stm32_sensor_mez/board.yml @@ -0,0 +1,5 @@ +board: + name: 96b_stm32_sensor_mez + vendor: st + socs: + - name: stm32f446xx diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/doc/img/96b_stm32_sensor_mez.jpg b/boards/st/96b_stm32_sensor_mez/doc/img/96b_stm32_sensor_mez.jpg similarity index 100% rename from boards/boards_legacy/arm/96b_stm32_sensor_mez/doc/img/96b_stm32_sensor_mez.jpg rename to boards/st/96b_stm32_sensor_mez/doc/img/96b_stm32_sensor_mez.jpg diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/doc/index.rst b/boards/st/96b_stm32_sensor_mez/doc/index.rst similarity index 100% rename from boards/boards_legacy/arm/96b_stm32_sensor_mez/doc/index.rst rename to boards/st/96b_stm32_sensor_mez/doc/index.rst diff --git a/boards/boards_legacy/arm/96b_stm32_sensor_mez/support/openocd.cfg b/boards/st/96b_stm32_sensor_mez/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/96b_stm32_sensor_mez/support/openocd.cfg rename to boards/st/96b_stm32_sensor_mez/support/openocd.cfg