diff --git a/boards/boards_legacy/arm/stm32g081b_eval/Kconfig.defconfig b/boards/boards_legacy/arm/stm32g081b_eval/Kconfig.defconfig deleted file mode 100644 index 548b4d75cc13abd..000000000000000 --- a/boards/boards_legacy/arm/stm32g081b_eval/Kconfig.defconfig +++ /dev/null @@ -1,11 +0,0 @@ -# STM32G081B evaluation board configuration - -# Copyright 2021 The Chromium OS Authors -# SPDX-License-Identifier: Apache-2.0 - -if BOARD_STM32G081B_EVAL - -config BOARD - default "stm32g081b_eval" - -endif # BOARD_STM32G081B_EVAL diff --git a/boards/boards_legacy/arm/stm32g081b_eval/Kconfig.board b/boards/st/stm32g081b_eval/Kconfig.stm32g081b_eval similarity index 50% rename from boards/boards_legacy/arm/stm32g081b_eval/Kconfig.board rename to boards/st/stm32g081b_eval/Kconfig.stm32g081b_eval index 2f2299670f52094..0448edcd135d926 100644 --- a/boards/boards_legacy/arm/stm32g081b_eval/Kconfig.board +++ b/boards/st/stm32g081b_eval/Kconfig.stm32g081b_eval @@ -1,8 +1,5 @@ -# STM32G081B Evaluation board configuration - # Copyright 2021 The Chromium OS Authors # SPDX-License-Identifier: Apache-2.0 config BOARD_STM32G081B_EVAL - bool "STM32G081B Evaluation Board" - depends on SOC_STM32G081XX + select SOC_STM32G081XX diff --git a/boards/boards_legacy/arm/stm32g081b_eval/board.cmake b/boards/st/stm32g081b_eval/board.cmake similarity index 100% rename from boards/boards_legacy/arm/stm32g081b_eval/board.cmake rename to boards/st/stm32g081b_eval/board.cmake diff --git a/boards/st/stm32g081b_eval/board.yml b/boards/st/stm32g081b_eval/board.yml new file mode 100644 index 000000000000000..5cdb22ef9b8754d --- /dev/null +++ b/boards/st/stm32g081b_eval/board.yml @@ -0,0 +1,5 @@ +board: + name: stm32g081b_eval + vendor: st + socs: + - name: stm32g081xx diff --git a/boards/boards_legacy/arm/stm32g081b_eval/doc/img/stm32g081b_eval.jpg b/boards/st/stm32g081b_eval/doc/img/stm32g081b_eval.jpg similarity index 100% rename from boards/boards_legacy/arm/stm32g081b_eval/doc/img/stm32g081b_eval.jpg rename to boards/st/stm32g081b_eval/doc/img/stm32g081b_eval.jpg diff --git a/boards/boards_legacy/arm/stm32g081b_eval/doc/index.rst b/boards/st/stm32g081b_eval/doc/index.rst similarity index 100% rename from boards/boards_legacy/arm/stm32g081b_eval/doc/index.rst rename to boards/st/stm32g081b_eval/doc/index.rst diff --git a/boards/boards_legacy/arm/stm32g081b_eval/stm32g081b_eval.dts b/boards/st/stm32g081b_eval/stm32g081b_eval.dts similarity index 100% rename from boards/boards_legacy/arm/stm32g081b_eval/stm32g081b_eval.dts rename to boards/st/stm32g081b_eval/stm32g081b_eval.dts diff --git a/boards/boards_legacy/arm/stm32g081b_eval/stm32g081b_eval.yaml b/boards/st/stm32g081b_eval/stm32g081b_eval.yaml similarity index 100% rename from boards/boards_legacy/arm/stm32g081b_eval/stm32g081b_eval.yaml rename to boards/st/stm32g081b_eval/stm32g081b_eval.yaml diff --git a/boards/boards_legacy/arm/stm32g081b_eval/stm32g081b_eval_defconfig b/boards/st/stm32g081b_eval/stm32g081b_eval_defconfig similarity index 85% rename from boards/boards_legacy/arm/stm32g081b_eval/stm32g081b_eval_defconfig rename to boards/st/stm32g081b_eval/stm32g081b_eval_defconfig index cccb164bbcde7f4..2554c25669715ee 100644 --- a/boards/boards_legacy/arm/stm32g081b_eval/stm32g081b_eval_defconfig +++ b/boards/st/stm32g081b_eval/stm32g081b_eval_defconfig @@ -2,9 +2,6 @@ # # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32G0X=y -CONFIG_SOC_STM32G081XX=y - # Serial Drivers CONFIG_SERIAL=y CONFIG_UART_INTERRUPT_DRIVEN=y