From 24d7f625dc2499fb9033ede16ef66f61ec8d6896 Mon Sep 17 00:00:00 2001 From: Abderrahmane Jarmouni Date: Tue, 6 Feb 2024 17:50:29 +0100 Subject: [PATCH] boards: Convert nucleo_f429zi to HWM v2 Port the board to HWMv2. Signed-off-by: Abderrahmane Jarmouni --- .../boards_legacy/arm/nucleo_f429zi/Kconfig.board | 8 -------- .../arm => st}/nucleo_f429zi/Kconfig.defconfig | 3 --- boards/st/nucleo_f429zi/Kconfig.nucleo_f429zi | 5 +++++ .../nucleo_f429zi/arduino_r3_connector.dtsi | 0 .../arm => st}/nucleo_f429zi/board.cmake | 0 boards/st/nucleo_f429zi/board.yml | 5 +++++ .../nucleo_f429zi/doc/img/nucleo_f429zi.jpg | Bin .../nucleo_f429zi/doc/img/nucleo_f429zi_cn11.jpg | Bin .../nucleo_f429zi/doc/img/nucleo_f429zi_cn12.jpg | Bin .../nucleo_f429zi/doc/img/nucleo_f429zi_cn7.jpg | Bin .../nucleo_f429zi/doc/img/nucleo_f429zi_cn8.jpg | Bin .../arm => st}/nucleo_f429zi/doc/index.rst | 0 .../arm => st}/nucleo_f429zi/nucleo_f429zi.dts | 0 .../arm => st}/nucleo_f429zi/nucleo_f429zi.yaml | 0 .../nucleo_f429zi/nucleo_f429zi_defconfig | 3 --- .../arm => st}/nucleo_f429zi/support/openocd.cfg | 0 16 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 boards/boards_legacy/arm/nucleo_f429zi/Kconfig.board rename boards/{boards_legacy/arm => st}/nucleo_f429zi/Kconfig.defconfig (85%) create mode 100644 boards/st/nucleo_f429zi/Kconfig.nucleo_f429zi rename boards/{boards_legacy/arm => st}/nucleo_f429zi/arduino_r3_connector.dtsi (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/board.cmake (100%) create mode 100644 boards/st/nucleo_f429zi/board.yml rename boards/{boards_legacy/arm => st}/nucleo_f429zi/doc/img/nucleo_f429zi.jpg (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/doc/img/nucleo_f429zi_cn11.jpg (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/doc/img/nucleo_f429zi_cn12.jpg (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/doc/img/nucleo_f429zi_cn7.jpg (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/doc/img/nucleo_f429zi_cn8.jpg (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/doc/index.rst (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/nucleo_f429zi.dts (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/nucleo_f429zi.yaml (100%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/nucleo_f429zi_defconfig (85%) rename boards/{boards_legacy/arm => st}/nucleo_f429zi/support/openocd.cfg (100%) diff --git a/boards/boards_legacy/arm/nucleo_f429zi/Kconfig.board b/boards/boards_legacy/arm/nucleo_f429zi/Kconfig.board deleted file mode 100644 index b9e033f8622..00000000000 --- a/boards/boards_legacy/arm/nucleo_f429zi/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# NUCLEO-144 F429ZI board configuration - -# Copyright (c) 2017 Linaro Limited -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_NUCLEO_F429ZI - bool "NUCLEO-144 F429ZI Development Board" - depends on SOC_STM32F429XX diff --git a/boards/boards_legacy/arm/nucleo_f429zi/Kconfig.defconfig b/boards/st/nucleo_f429zi/Kconfig.defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_f429zi/Kconfig.defconfig rename to boards/st/nucleo_f429zi/Kconfig.defconfig index 99fdd74ade1..2198e75674f 100644 --- a/boards/boards_legacy/arm/nucleo_f429zi/Kconfig.defconfig +++ b/boards/st/nucleo_f429zi/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_NUCLEO_F429ZI -config BOARD - default "nucleo_f429zi" - if NETWORKING config NET_L2_ETHERNET diff --git a/boards/st/nucleo_f429zi/Kconfig.nucleo_f429zi b/boards/st/nucleo_f429zi/Kconfig.nucleo_f429zi new file mode 100644 index 00000000000..baed70d72d7 --- /dev/null +++ b/boards/st/nucleo_f429zi/Kconfig.nucleo_f429zi @@ -0,0 +1,5 @@ +# Copyright (c) 2017 Linaro Limited +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_NUCLEO_F429ZI + select SOC_STM32F429XX diff --git a/boards/boards_legacy/arm/nucleo_f429zi/arduino_r3_connector.dtsi b/boards/st/nucleo_f429zi/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/arduino_r3_connector.dtsi rename to boards/st/nucleo_f429zi/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_f429zi/board.cmake b/boards/st/nucleo_f429zi/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/board.cmake rename to boards/st/nucleo_f429zi/board.cmake diff --git a/boards/st/nucleo_f429zi/board.yml b/boards/st/nucleo_f429zi/board.yml new file mode 100644 index 00000000000..ecf8e93828b --- /dev/null +++ b/boards/st/nucleo_f429zi/board.yml @@ -0,0 +1,5 @@ +board: + name: nucleo_f429zi + vendor: st + socs: + - name: stm32f429xx diff --git a/boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi.jpg b/boards/st/nucleo_f429zi/doc/img/nucleo_f429zi.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi.jpg rename to boards/st/nucleo_f429zi/doc/img/nucleo_f429zi.jpg diff --git a/boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi_cn11.jpg b/boards/st/nucleo_f429zi/doc/img/nucleo_f429zi_cn11.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi_cn11.jpg rename to boards/st/nucleo_f429zi/doc/img/nucleo_f429zi_cn11.jpg diff --git a/boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi_cn12.jpg b/boards/st/nucleo_f429zi/doc/img/nucleo_f429zi_cn12.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi_cn12.jpg rename to boards/st/nucleo_f429zi/doc/img/nucleo_f429zi_cn12.jpg diff --git a/boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi_cn7.jpg b/boards/st/nucleo_f429zi/doc/img/nucleo_f429zi_cn7.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi_cn7.jpg rename to boards/st/nucleo_f429zi/doc/img/nucleo_f429zi_cn7.jpg diff --git a/boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi_cn8.jpg b/boards/st/nucleo_f429zi/doc/img/nucleo_f429zi_cn8.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/doc/img/nucleo_f429zi_cn8.jpg rename to boards/st/nucleo_f429zi/doc/img/nucleo_f429zi_cn8.jpg diff --git a/boards/boards_legacy/arm/nucleo_f429zi/doc/index.rst b/boards/st/nucleo_f429zi/doc/index.rst similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/doc/index.rst rename to boards/st/nucleo_f429zi/doc/index.rst diff --git a/boards/boards_legacy/arm/nucleo_f429zi/nucleo_f429zi.dts b/boards/st/nucleo_f429zi/nucleo_f429zi.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/nucleo_f429zi.dts rename to boards/st/nucleo_f429zi/nucleo_f429zi.dts diff --git a/boards/boards_legacy/arm/nucleo_f429zi/nucleo_f429zi.yaml b/boards/st/nucleo_f429zi/nucleo_f429zi.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/nucleo_f429zi.yaml rename to boards/st/nucleo_f429zi/nucleo_f429zi.yaml diff --git a/boards/boards_legacy/arm/nucleo_f429zi/nucleo_f429zi_defconfig b/boards/st/nucleo_f429zi/nucleo_f429zi_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_f429zi/nucleo_f429zi_defconfig rename to boards/st/nucleo_f429zi/nucleo_f429zi_defconfig index 478a485246c..750f99bdff3 100644 --- a/boards/boards_legacy/arm/nucleo_f429zi/nucleo_f429zi_defconfig +++ b/boards/st/nucleo_f429zi/nucleo_f429zi_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32F4X=y -CONFIG_SOC_STM32F429XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/boards_legacy/arm/nucleo_f429zi/support/openocd.cfg b/boards/st/nucleo_f429zi/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_f429zi/support/openocd.cfg rename to boards/st/nucleo_f429zi/support/openocd.cfg