diff --git a/boards/adi/adi_eval_adin1110ebz/Kconfig.adi_eval_adin1110ebz b/boards/adi/adi_eval_adin1110ebz/Kconfig.adi_eval_adin1110ebz new file mode 100644 index 00000000000000..366fff3086b66f --- /dev/null +++ b/boards/adi/adi_eval_adin1110ebz/Kconfig.adi_eval_adin1110ebz @@ -0,0 +1,5 @@ +# Copyright (c) 2024 BayLibre +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_ADI_EVAL_ADIN1110EBZ + select SOC_STM32L4S5XX diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/Kconfig.defconfig b/boards/adi/adi_eval_adin1110ebz/Kconfig.defconfig similarity index 90% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/Kconfig.defconfig rename to boards/adi/adi_eval_adin1110ebz/Kconfig.defconfig index 79e309af4cd612..9c33c1d288d63b 100644 --- a/boards/boards_legacy/arm/adi_eval_adin1110ebz/Kconfig.defconfig +++ b/boards/adi/adi_eval_adin1110ebz/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_ADI_EVAL_ADIN1110EBZ -config BOARD - default "adi_eval_adin1110ebz" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/adi_eval_adin1110ebz.dts b/boards/adi/adi_eval_adin1110ebz/adi_eval_adin1110ebz.dts similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/adi_eval_adin1110ebz.dts rename to boards/adi/adi_eval_adin1110ebz/adi_eval_adin1110ebz.dts diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/adi_eval_adin1110ebz.yaml b/boards/adi/adi_eval_adin1110ebz/adi_eval_adin1110ebz.yaml similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/adi_eval_adin1110ebz.yaml rename to boards/adi/adi_eval_adin1110ebz/adi_eval_adin1110ebz.yaml diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/adi_eval_adin1110ebz_defconfig b/boards/adi/adi_eval_adin1110ebz/adi_eval_adin1110ebz_defconfig similarity index 72% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/adi_eval_adin1110ebz_defconfig rename to boards/adi/adi_eval_adin1110ebz/adi_eval_adin1110ebz_defconfig index 15174238c664cd..c19a47618d1bb7 100644 --- a/boards/boards_legacy/arm/adi_eval_adin1110ebz/adi_eval_adin1110ebz_defconfig +++ b/boards/adi/adi_eval_adin1110ebz/adi_eval_adin1110ebz_defconfig @@ -1,9 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_BOARD_ADI_EVAL_ADIN1110EBZ=y -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L4S5XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/arduino_r3_connector.dtsi b/boards/adi/adi_eval_adin1110ebz/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/arduino_r3_connector.dtsi rename to boards/adi/adi_eval_adin1110ebz/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/board.cmake b/boards/adi/adi_eval_adin1110ebz/board.cmake similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/board.cmake rename to boards/adi/adi_eval_adin1110ebz/board.cmake diff --git a/boards/adi/adi_eval_adin1110ebz/board.yml b/boards/adi/adi_eval_adin1110ebz/board.yml new file mode 100644 index 00000000000000..e5af49e3f351f4 --- /dev/null +++ b/boards/adi/adi_eval_adin1110ebz/board.yml @@ -0,0 +1,5 @@ +board: + name: adi_eval_adin1110ebz + vendor: adi + socs: + - name: stm32l4s5xx diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/doc/img/adi_eval_adin1110ebz.webp b/boards/adi/adi_eval_adin1110ebz/doc/img/adi_eval_adin1110ebz.webp similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/doc/img/adi_eval_adin1110ebz.webp rename to boards/adi/adi_eval_adin1110ebz/doc/img/adi_eval_adin1110ebz.webp diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/doc/index.rst b/boards/adi/adi_eval_adin1110ebz/doc/index.rst similarity index 98% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/doc/index.rst rename to boards/adi/adi_eval_adin1110ebz/doc/index.rst index 3bcc3167596a4b..552dab6d542455 100644 --- a/boards/boards_legacy/arm/adi_eval_adin1110ebz/doc/index.rst +++ b/boards/adi/adi_eval_adin1110ebz/doc/index.rst @@ -82,7 +82,7 @@ following hardware features: The default configuration can be found in the defconfig file: - ``boards/arm/adi_eval_adin1110ebz/adi_eval_adin1110ebz_defconfig`` + :zephyr_file:`boards/adi/adi_eval_adin1110ebz/adi_eval_adin1110ebz_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/pre_dt_board.cmake b/boards/adi/adi_eval_adin1110ebz/pre_dt_board.cmake similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/pre_dt_board.cmake rename to boards/adi/adi_eval_adin1110ebz/pre_dt_board.cmake diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/support/openocd.cfg b/boards/adi/adi_eval_adin1110ebz/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin1110ebz/support/openocd.cfg rename to boards/adi/adi_eval_adin1110ebz/support/openocd.cfg diff --git a/boards/adi/adi_eval_adin2111ebz/Kconfig.adi_eval_adin2111ebz b/boards/adi/adi_eval_adin2111ebz/Kconfig.adi_eval_adin2111ebz new file mode 100644 index 00000000000000..9b051ece984485 --- /dev/null +++ b/boards/adi/adi_eval_adin2111ebz/Kconfig.adi_eval_adin2111ebz @@ -0,0 +1,5 @@ +# Copyright (c) 2024 BayLibre +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_ADI_EVAL_ADIN2111EBZ + select SOC_STM32L4S5XX diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/Kconfig.defconfig b/boards/adi/adi_eval_adin2111ebz/Kconfig.defconfig similarity index 91% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/Kconfig.defconfig rename to boards/adi/adi_eval_adin2111ebz/Kconfig.defconfig index 41dd579738c278..ae255907083f35 100644 --- a/boards/boards_legacy/arm/adi_eval_adin2111ebz/Kconfig.defconfig +++ b/boards/adi/adi_eval_adin2111ebz/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_ADI_EVAL_ADIN2111EBZ -config BOARD - default "adi_eval_adin2111ebz" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/adi_eval_adin2111ebz.dts b/boards/adi/adi_eval_adin2111ebz/adi_eval_adin2111ebz.dts similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/adi_eval_adin2111ebz.dts rename to boards/adi/adi_eval_adin2111ebz/adi_eval_adin2111ebz.dts diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/adi_eval_adin2111ebz.yaml b/boards/adi/adi_eval_adin2111ebz/adi_eval_adin2111ebz.yaml similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/adi_eval_adin2111ebz.yaml rename to boards/adi/adi_eval_adin2111ebz/adi_eval_adin2111ebz.yaml diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/adi_eval_adin2111ebz_defconfig b/boards/adi/adi_eval_adin2111ebz/adi_eval_adin2111ebz_defconfig similarity index 72% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/adi_eval_adin2111ebz_defconfig rename to boards/adi/adi_eval_adin2111ebz/adi_eval_adin2111ebz_defconfig index f7e4d9c4ab350a..c19a47618d1bb7 100644 --- a/boards/boards_legacy/arm/adi_eval_adin2111ebz/adi_eval_adin2111ebz_defconfig +++ b/boards/adi/adi_eval_adin2111ebz/adi_eval_adin2111ebz_defconfig @@ -1,9 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_BOARD_ADI_EVAL_ADIN2111EBZ=y -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L4S5XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/board.cmake b/boards/adi/adi_eval_adin2111ebz/board.cmake similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/board.cmake rename to boards/adi/adi_eval_adin2111ebz/board.cmake diff --git a/boards/adi/adi_eval_adin2111ebz/board.yml b/boards/adi/adi_eval_adin2111ebz/board.yml new file mode 100644 index 00000000000000..0151d544acab44 --- /dev/null +++ b/boards/adi/adi_eval_adin2111ebz/board.yml @@ -0,0 +1,5 @@ +board: + name: adi_eval_adin2111ebz + vendor: adi + socs: + - name: stm32l4s5xx diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/doc/img/adi_eval_adin2111ebz.webp b/boards/adi/adi_eval_adin2111ebz/doc/img/adi_eval_adin2111ebz.webp similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/doc/img/adi_eval_adin2111ebz.webp rename to boards/adi/adi_eval_adin2111ebz/doc/img/adi_eval_adin2111ebz.webp diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/doc/index.rst b/boards/adi/adi_eval_adin2111ebz/doc/index.rst similarity index 98% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/doc/index.rst rename to boards/adi/adi_eval_adin2111ebz/doc/index.rst index ac9d33aa2853b3..afeafa44a22fea 100644 --- a/boards/boards_legacy/arm/adi_eval_adin2111ebz/doc/index.rst +++ b/boards/adi/adi_eval_adin2111ebz/doc/index.rst @@ -86,7 +86,7 @@ following hardware features: The default configuration can be found in the defconfig file: - ``boards/arm/adi_eval_adin2111ebz/adi_eval_adin2111ebz_defconfig`` + :zephyr_file:`boards/adi/adi_eval_adin2111ebz/adi_eval_adin2111ebz_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/pre_dt_board.cmake b/boards/adi/adi_eval_adin2111ebz/pre_dt_board.cmake similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/pre_dt_board.cmake rename to boards/adi/adi_eval_adin2111ebz/pre_dt_board.cmake diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/support/openocd.cfg b/boards/adi/adi_eval_adin2111ebz/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/adi_eval_adin2111ebz/support/openocd.cfg rename to boards/adi/adi_eval_adin2111ebz/support/openocd.cfg diff --git a/boards/alientek/index.rst b/boards/alientek/index.rst new file mode 100644 index 00000000000000..f124ce93459efe --- /dev/null +++ b/boards/alientek/index.rst @@ -0,0 +1,10 @@ +.. _boards-alientek: + +Alientek +######## + +.. toctree:: + :maxdepth: 1 + :glob: + + **/* diff --git a/boards/alientek/pandora_stm32l475/Kconfig.pandora_stm32l475 b/boards/alientek/pandora_stm32l475/Kconfig.pandora_stm32l475 new file mode 100644 index 00000000000000..1d42c17a83d4c5 --- /dev/null +++ b/boards/alientek/pandora_stm32l475/Kconfig.pandora_stm32l475 @@ -0,0 +1,5 @@ +# Copyright (c) 2023 Tisilicon +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_PANDORA_STM32L475 + select SOC_STM32L475XX diff --git a/boards/boards_legacy/arm/pandora_stm32l475/board.cmake b/boards/alientek/pandora_stm32l475/board.cmake similarity index 100% rename from boards/boards_legacy/arm/pandora_stm32l475/board.cmake rename to boards/alientek/pandora_stm32l475/board.cmake diff --git a/boards/alientek/pandora_stm32l475/board.yml b/boards/alientek/pandora_stm32l475/board.yml new file mode 100644 index 00000000000000..725d13c5f305a5 --- /dev/null +++ b/boards/alientek/pandora_stm32l475/board.yml @@ -0,0 +1,5 @@ +board: + name: pandora_stm32l475 + vendor: alientek + socs: + - name: stm32l475xx diff --git a/boards/boards_legacy/arm/pandora_stm32l475/doc/img/pandora_stm32l475.jpg b/boards/alientek/pandora_stm32l475/doc/img/pandora_stm32l475.jpg similarity index 100% rename from boards/boards_legacy/arm/pandora_stm32l475/doc/img/pandora_stm32l475.jpg rename to boards/alientek/pandora_stm32l475/doc/img/pandora_stm32l475.jpg diff --git a/boards/boards_legacy/arm/pandora_stm32l475/doc/index.rst b/boards/alientek/pandora_stm32l475/doc/index.rst similarity index 98% rename from boards/boards_legacy/arm/pandora_stm32l475/doc/index.rst rename to boards/alientek/pandora_stm32l475/doc/index.rst index 76da038e9ec4b0..cee292e1e56acb 100644 --- a/boards/boards_legacy/arm/pandora_stm32l475/doc/index.rst +++ b/boards/alientek/pandora_stm32l475/doc/index.rst @@ -1,4 +1,4 @@ -.. _stm32l475ve_pandora_board: +.. _pandora_stm32l475_board: Alientek STM32L475 Pandora ########################## @@ -127,7 +127,7 @@ Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: - ``boards/arm/pandora_stm32l475/pandora_stm32l475_defconfig`` + :zephyr_file:`boards/alientek/pandora_stm32l475/pandora_stm32l475_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/pandora_stm32l475/pandora_stm32l475.dts b/boards/alientek/pandora_stm32l475/pandora_stm32l475.dts similarity index 100% rename from boards/boards_legacy/arm/pandora_stm32l475/pandora_stm32l475.dts rename to boards/alientek/pandora_stm32l475/pandora_stm32l475.dts diff --git a/boards/boards_legacy/arm/pandora_stm32l475/pandora_stm32l475.yaml b/boards/alientek/pandora_stm32l475/pandora_stm32l475.yaml similarity index 100% rename from boards/boards_legacy/arm/pandora_stm32l475/pandora_stm32l475.yaml rename to boards/alientek/pandora_stm32l475/pandora_stm32l475.yaml diff --git a/boards/boards_legacy/arm/pandora_stm32l475/pandora_stm32l475_defconfig b/boards/alientek/pandora_stm32l475/pandora_stm32l475_defconfig similarity index 85% rename from boards/boards_legacy/arm/pandora_stm32l475/pandora_stm32l475_defconfig rename to boards/alientek/pandora_stm32l475/pandora_stm32l475_defconfig index 6b76862a311973..82ee7285d52d8a 100644 --- a/boards/boards_legacy/arm/pandora_stm32l475/pandora_stm32l475_defconfig +++ b/boards/alientek/pandora_stm32l475/pandora_stm32l475_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L475XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/boards_legacy/arm/pandora_stm32l475/support/openocd.cfg b/boards/alientek/pandora_stm32l475/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/pandora_stm32l475/support/openocd.cfg rename to boards/alientek/pandora_stm32l475/support/openocd.cfg diff --git a/boards/blues/index.rst b/boards/blues/index.rst new file mode 100644 index 00000000000000..a4f76b4c9fadd8 --- /dev/null +++ b/boards/blues/index.rst @@ -0,0 +1,10 @@ +.. _boards-blues: + +Blues +##### + +.. toctree:: + :maxdepth: 1 + :glob: + + **/* diff --git a/boards/boards_legacy/arm/swan_r5/CMakeLists.txt b/boards/blues/swan_r5/CMakeLists.txt similarity index 100% rename from boards/boards_legacy/arm/swan_r5/CMakeLists.txt rename to boards/blues/swan_r5/CMakeLists.txt diff --git a/boards/boards_legacy/arm/swan_r5/Kconfig.defconfig b/boards/blues/swan_r5/Kconfig.defconfig similarity index 90% rename from boards/boards_legacy/arm/swan_r5/Kconfig.defconfig rename to boards/blues/swan_r5/Kconfig.defconfig index 0ab4dbfb0d0f26..a9d7a1e00b1a2e 100644 --- a/boards/boards_legacy/arm/swan_r5/Kconfig.defconfig +++ b/boards/blues/swan_r5/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_SWAN_R5 -config BOARD - default "swan_r5" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/blues/swan_r5/Kconfig.swan_r5 b/boards/blues/swan_r5/Kconfig.swan_r5 new file mode 100644 index 00000000000000..6b3b835c31f1e2 --- /dev/null +++ b/boards/blues/swan_r5/Kconfig.swan_r5 @@ -0,0 +1,5 @@ +# Copyright (c) 2022 Blues Inc. +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_SWAN_R5 + select SOC_STM32L4R5XX diff --git a/boards/boards_legacy/arm/swan_r5/board.c b/boards/blues/swan_r5/board.c similarity index 100% rename from boards/boards_legacy/arm/swan_r5/board.c rename to boards/blues/swan_r5/board.c diff --git a/boards/boards_legacy/arm/swan_r5/board.cmake b/boards/blues/swan_r5/board.cmake similarity index 100% rename from boards/boards_legacy/arm/swan_r5/board.cmake rename to boards/blues/swan_r5/board.cmake diff --git a/boards/blues/swan_r5/board.yml b/boards/blues/swan_r5/board.yml new file mode 100644 index 00000000000000..d9d4096e352a47 --- /dev/null +++ b/boards/blues/swan_r5/board.yml @@ -0,0 +1,5 @@ +board: + name: swan_r5 + vendor: blues + socs: + - name: stm32l4r5xx diff --git a/boards/boards_legacy/arm/swan_r5/doc/img/swan.jpg b/boards/blues/swan_r5/doc/img/swan.jpg similarity index 100% rename from boards/boards_legacy/arm/swan_r5/doc/img/swan.jpg rename to boards/blues/swan_r5/doc/img/swan.jpg diff --git a/boards/boards_legacy/arm/swan_r5/doc/index.rst b/boards/blues/swan_r5/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/swan_r5/doc/index.rst rename to boards/blues/swan_r5/doc/index.rst index 8a70207bf5887b..644e82e86dd95c 100644 --- a/boards/boards_legacy/arm/swan_r5/doc/index.rst +++ b/boards/blues/swan_r5/doc/index.rst @@ -121,7 +121,7 @@ hardware features: Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/swan_r5/swan_r5_defconfig`` +:zephyr_file:`boards/blues/swan_r5/swan_r5_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/swan_r5/feather_connector.dtsi b/boards/blues/swan_r5/feather_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/swan_r5/feather_connector.dtsi rename to boards/blues/swan_r5/feather_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l476rg/support/openocd.cfg b/boards/blues/swan_r5/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/support/openocd.cfg rename to boards/blues/swan_r5/support/openocd.cfg diff --git a/boards/boards_legacy/arm/swan_r5/swan_r5.dts b/boards/blues/swan_r5/swan_r5.dts similarity index 100% rename from boards/boards_legacy/arm/swan_r5/swan_r5.dts rename to boards/blues/swan_r5/swan_r5.dts diff --git a/boards/boards_legacy/arm/swan_r5/swan_r5.yaml b/boards/blues/swan_r5/swan_r5.yaml similarity index 100% rename from boards/boards_legacy/arm/swan_r5/swan_r5.yaml rename to boards/blues/swan_r5/swan_r5.yaml diff --git a/boards/boards_legacy/arm/swan_r5/swan_r5_defconfig b/boards/blues/swan_r5/swan_r5_defconfig similarity index 86% rename from boards/boards_legacy/arm/swan_r5/swan_r5_defconfig rename to boards/blues/swan_r5/swan_r5_defconfig index caaca50d8b881c..596cbc88cbdcd5 100644 --- a/boards/boards_legacy/arm/swan_r5/swan_r5_defconfig +++ b/boards/blues/swan_r5/swan_r5_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L4R5XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/adi_eval_adin1110ebz/Kconfig.board b/boards/boards_legacy/arm/adi_eval_adin1110ebz/Kconfig.board deleted file mode 100644 index 29f1e3b8dbcc28..00000000000000 --- a/boards/boards_legacy/arm/adi_eval_adin1110ebz/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# ADI EVAL-ADIN1110EBZ board configuration - -# Copyright (c) 2024 BayLibre -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_ADI_EVAL_ADIN1110EBZ - bool "ADI EVAL-ADIN1110EBZ evaulation board" - depends on SOC_STM32L4S5XX diff --git a/boards/boards_legacy/arm/adi_eval_adin2111ebz/Kconfig.board b/boards/boards_legacy/arm/adi_eval_adin2111ebz/Kconfig.board deleted file mode 100644 index f173947c39b60a..00000000000000 --- a/boards/boards_legacy/arm/adi_eval_adin2111ebz/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# ADI EVAL-ADIN2111EBZ board configuration - -# Copyright (c) 2024 BayLibre -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_ADI_EVAL_ADIN2111EBZ - bool "ADI EVAL-ADIN2111EBZ evaulation board" - depends on SOC_STM32L4S5XX diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/Kconfig.board b/boards/boards_legacy/arm/b_l4s5i_iot01a/Kconfig.board deleted file mode 100644 index 927b683f71e188..00000000000000 --- a/boards/boards_legacy/arm/b_l4s5i_iot01a/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# B_L4S5I_IOT01A discovery kit configuration - -# Copyright (c) 2020 STMicroelectronics -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_B_L4S5I_IOT01A - bool "STM32L4S5I IOT Discovery kit" - depends on SOC_STM32L4S5XX diff --git a/boards/boards_legacy/arm/disco_l475_iot1/Kconfig.board b/boards/boards_legacy/arm/disco_l475_iot1/Kconfig.board deleted file mode 100644 index 98e8d2917827db..00000000000000 --- a/boards/boards_legacy/arm/disco_l475_iot1/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# Discovery IoT L475 board configuration - -# Copyright (c) 2017 Linaro Limited -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_DISCO_L475_IOT1 - bool "Discovery IoT L475 Development Board" - depends on SOC_STM32L475XX diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/Kconfig.board b/boards/boards_legacy/arm/nucleo_l412rb_p/Kconfig.board deleted file mode 100644 index b81257b7eb7d11..00000000000000 --- a/boards/boards_legacy/arm/nucleo_l412rb_p/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# STM32L412RB Nucleo board configuration - -# Copyright (c) 2021 Guðni Már Gilbert -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_NUCLEO_L412RB_P - bool "Nucleo L412RB-P Development Board" - depends on SOC_STM32L412XX diff --git a/boards/boards_legacy/arm/nucleo_l432kc/Kconfig.board b/boards/boards_legacy/arm/nucleo_l432kc/Kconfig.board deleted file mode 100644 index 5340455df002ad..00000000000000 --- a/boards/boards_legacy/arm/nucleo_l432kc/Kconfig.board +++ /dev/null @@ -1,9 +0,0 @@ -# STM32L432KC Nucleo board configuration - -# Copyright (c) 2016 Open-RnD Sp. z o.o. -# Copyright (c) 2016 BayLibre, SAS -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_NUCLEO_L432KC - bool "Nucleo L432KC Development Board" - depends on SOC_STM32L432XX diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/Kconfig.board b/boards/boards_legacy/arm/nucleo_l433rc_p/Kconfig.board deleted file mode 100644 index 3a53d91bc258a2..00000000000000 --- a/boards/boards_legacy/arm/nucleo_l433rc_p/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# STM32L433RC Nucleo board configuration - -# Copyright (c) 2021 Matija Tudan -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_NUCLEO_L433RC_P - bool "Nucleo L433RC-P Development Board" - depends on SOC_STM32L433XX diff --git a/boards/boards_legacy/arm/nucleo_l452re/Kconfig.board b/boards/boards_legacy/arm/nucleo_l452re/Kconfig.board deleted file mode 100644 index ba69b24e6e6ed2..00000000000000 --- a/boards/boards_legacy/arm/nucleo_l452re/Kconfig.board +++ /dev/null @@ -1,13 +0,0 @@ -# STM32L452RE Nucleo board configuration -# -# Copyright (c) 2019 Libre Solar Technologies GmbH -# -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_NUCLEO_L452RE - bool "Nucleo L452RE Development Board" - depends on SOC_STM32L452XX - -config BOARD_NUCLEO_L452RE_P - bool "Nucleo L452RE-P Development Board" - depends on SOC_STM32L452XX diff --git a/boards/boards_legacy/arm/nucleo_l452re/Kconfig.defconfig b/boards/boards_legacy/arm/nucleo_l452re/Kconfig.defconfig deleted file mode 100644 index 3da8b18ec74239..00000000000000 --- a/boards/boards_legacy/arm/nucleo_l452re/Kconfig.defconfig +++ /dev/null @@ -1,17 +0,0 @@ -# STM32L452RE Nucleo board configuration -# -# Copyright (c) 2019 Libre Solar Technologies GmbH -# -# SPDX-License-Identifier: Apache-2.0 - -if BOARD_NUCLEO_L452RE || BOARD_NUCLEO_L452RE_P - -config BOARD - default "nucleo_l452re" if BOARD_NUCLEO_L452RE - default "nucleo_l452re_p" if BOARD_NUCLEO_L452RE_P - -config SPI_STM32_INTERRUPT - default y - depends on SPI - -endif # BOARD_NUCLEO_L452RE || BOARD_NUCLEO_L452RE_P diff --git a/boards/boards_legacy/arm/nucleo_l476rg/Kconfig.board b/boards/boards_legacy/arm/nucleo_l476rg/Kconfig.board deleted file mode 100644 index b83025518a28a2..00000000000000 --- a/boards/boards_legacy/arm/nucleo_l476rg/Kconfig.board +++ /dev/null @@ -1,9 +0,0 @@ -# STM32L476RG Nucleo board configuration - -# Copyright (c) 2016 Open-RnD Sp. z o.o. -# Copyright (c) 2016 BayLibre, SAS -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_NUCLEO_L476RG - bool "Nucleo L476RG Development Board" - depends on SOC_STM32L476XX diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/Kconfig.board b/boards/boards_legacy/arm/nucleo_l4a6zg/Kconfig.board deleted file mode 100644 index ad15c2540fd7eb..00000000000000 --- a/boards/boards_legacy/arm/nucleo_l4a6zg/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# STM32L4A6ZG Nucleo board configuration - -# Copyright (c) 2022 Tomislav Milkovic -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_NUCLEO_L4A6ZG - bool "Nucleo L4A6ZG Development Board" - depends on SOC_STM32L4A6XX diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/Kconfig.board b/boards/boards_legacy/arm/nucleo_l4r5zi/Kconfig.board deleted file mode 100644 index aebd712289bfa9..00000000000000 --- a/boards/boards_legacy/arm/nucleo_l4r5zi/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# STM32L4R5ZI Nucleo board configuration - -# Copyright (c) 2018 Pushpal Sidhu -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_NUCLEO_L4R5ZI - bool "Nucleo L4R5ZI Development Board" - depends on SOC_STM32L4R5XX diff --git a/boards/boards_legacy/arm/pandora_stm32l475/Kconfig.board b/boards/boards_legacy/arm/pandora_stm32l475/Kconfig.board deleted file mode 100644 index 89ba1c54b98971..00000000000000 --- a/boards/boards_legacy/arm/pandora_stm32l475/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# STM32L475 Pandora board configuration - -# Copyright (c) 2023 Tisilicon -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_PANDORA_STM32L475 - bool "STM32L475 Pandora Development Board" - depends on SOC_STM32L475XX diff --git a/boards/boards_legacy/arm/pandora_stm32l475/Kconfig.defconfig b/boards/boards_legacy/arm/pandora_stm32l475/Kconfig.defconfig deleted file mode 100644 index 2d0f4e8c456ff6..00000000000000 --- a/boards/boards_legacy/arm/pandora_stm32l475/Kconfig.defconfig +++ /dev/null @@ -1,11 +0,0 @@ -# STM32L475 Pandora board configuration - -# Copyright (c) 2023 Tisilicon -# SPDX-License-Identifier: Apache-2.0 - -if BOARD_PANDORA_STM32L475 - -config BOARD - default "pandora_stm32l475" - -endif # BOARD_PANDORA_STM32L475 diff --git a/boards/boards_legacy/arm/stm32l476g_disco/Kconfig.board b/boards/boards_legacy/arm/stm32l476g_disco/Kconfig.board deleted file mode 100644 index 2aa9ec78b19306..00000000000000 --- a/boards/boards_legacy/arm/stm32l476g_disco/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# STM32L476G Discovery board configuration - -# Copyright (c) 2017 Arthur Sfez -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_STM32L476G_DISCO - bool "STM32L476G Discovery Development Board" - depends on SOC_STM32L476XX diff --git a/boards/boards_legacy/arm/stm32l476g_disco/Kconfig.defconfig b/boards/boards_legacy/arm/stm32l476g_disco/Kconfig.defconfig deleted file mode 100644 index 77e423642a3d58..00000000000000 --- a/boards/boards_legacy/arm/stm32l476g_disco/Kconfig.defconfig +++ /dev/null @@ -1,11 +0,0 @@ -# STM32L476G DISCOVERY board configuration - -# Copyright (c) 2017 Arthur Sfez -# SPDX-License-Identifier: Apache-2.0 - -if BOARD_STM32L476G_DISCO - -config BOARD - default "stm32l476g_disco" - -endif # BOARD_STM32L476G_DISCO diff --git a/boards/boards_legacy/arm/stm32l496g_disco/Kconfig.board b/boards/boards_legacy/arm/stm32l496g_disco/Kconfig.board deleted file mode 100644 index 4d2e23204a81a5..00000000000000 --- a/boards/boards_legacy/arm/stm32l496g_disco/Kconfig.board +++ /dev/null @@ -1,10 +0,0 @@ -# STM32L496G Discovery board configuration - -# Copyright (c) 2016 Open-RnD Sp. z o.o. -# Copyright (c) 2016 BayLibre, SAS -# Copyright (c) 2019 Centaur Analytics, Inc -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_STM32L496G_DISCO - bool "STM32L496G Discovery Development Board" - depends on SOC_STM32L496XX diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/Kconfig.board b/boards/boards_legacy/arm/stm32l4r9i_disco/Kconfig.board deleted file mode 100644 index 57da0f65fdfa8c..00000000000000 --- a/boards/boards_legacy/arm/stm32l4r9i_disco/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# STM32L4R9I Discovery board configuration - -# Copyright (c) 2023 STMicroelectronics -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_STM32L4R9I_DISCO - bool "STM32L4R9I Discovery Development Board" - depends on SOC_STM32L4R9XX diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/Kconfig.defconfig b/boards/boards_legacy/arm/stm32l4r9i_disco/Kconfig.defconfig deleted file mode 100644 index 82eafa62744388..00000000000000 --- a/boards/boards_legacy/arm/stm32l4r9i_disco/Kconfig.defconfig +++ /dev/null @@ -1,11 +0,0 @@ -# STM32L4R9I Discovery board configuration - -# Copyright (c) 2023 STMicroelectronics -# SPDX-License-Identifier: Apache-2.0 - -if BOARD_STM32L4R9I_DISCO - -config BOARD - default "stm32l4r9i_disco" - -endif # BOARD_STM32L4R9I_DISCO diff --git a/boards/boards_legacy/arm/swan_r5/Kconfig.board b/boards/boards_legacy/arm/swan_r5/Kconfig.board deleted file mode 100644 index f1f15cb8bd72ab..00000000000000 --- a/boards/boards_legacy/arm/swan_r5/Kconfig.board +++ /dev/null @@ -1,8 +0,0 @@ -# Blues Wireless Swan board configuration - -# Copyright (c) 2022 Blues Inc. -# SPDX-License-Identifier: Apache-2.0 - -config BOARD_SWAN_R5 - bool "Blues Wireless Swan Development Board" - depends on SOC_STM32L4R5XX diff --git a/boards/st/b_l4s5i_iot01a/Kconfig.b_l4s5i_iot01a b/boards/st/b_l4s5i_iot01a/Kconfig.b_l4s5i_iot01a new file mode 100644 index 00000000000000..e4c8a21a27aee0 --- /dev/null +++ b/boards/st/b_l4s5i_iot01a/Kconfig.b_l4s5i_iot01a @@ -0,0 +1,5 @@ +# Copyright (c) 2020 STMicroelectronics +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_B_L4S5I_IOT01A + select SOC_STM32L4S5XX diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/Kconfig.defconfig b/boards/st/b_l4s5i_iot01a/Kconfig.defconfig similarity index 94% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/Kconfig.defconfig rename to boards/st/b_l4s5i_iot01a/Kconfig.defconfig index 059f36907a28c5..36b722dbf38199 100644 --- a/boards/boards_legacy/arm/b_l4s5i_iot01a/Kconfig.defconfig +++ b/boards/st/b_l4s5i_iot01a/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_B_L4S5I_IOT01A -config BOARD - default "b_l4s5i_iot01a" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/arduino_r3_connector.dtsi b/boards/st/b_l4s5i_iot01a/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/arduino_r3_connector.dtsi rename to boards/st/b_l4s5i_iot01a/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/b_l4s5i_iot01a.dts b/boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a.dts similarity index 100% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/b_l4s5i_iot01a.dts rename to boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a.dts diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/b_l4s5i_iot01a.yaml b/boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a.yaml similarity index 100% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/b_l4s5i_iot01a.yaml rename to boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a.yaml diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig b/boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig similarity index 81% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig rename to boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig index 981dd5f1670d9d..9e3dfce576e064 100644 --- a/boards/boards_legacy/arm/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig +++ b/boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L4S5XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/board.cmake b/boards/st/b_l4s5i_iot01a/board.cmake similarity index 100% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/board.cmake rename to boards/st/b_l4s5i_iot01a/board.cmake diff --git a/boards/st/b_l4s5i_iot01a/board.yml b/boards/st/b_l4s5i_iot01a/board.yml new file mode 100644 index 00000000000000..e41cb4b1002397 --- /dev/null +++ b/boards/st/b_l4s5i_iot01a/board.yml @@ -0,0 +1,5 @@ +board: + name: b_l4s5i_iot01a + vendor: st + socs: + - name: stm32l4s5xx diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/doc/img/b-l4s5i_iot01a.jpg b/boards/st/b_l4s5i_iot01a/doc/img/b-l4s5i_iot01a.jpg similarity index 100% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/doc/img/b-l4s5i_iot01a.jpg rename to boards/st/b_l4s5i_iot01a/doc/img/b-l4s5i_iot01a.jpg diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/doc/index.rst b/boards/st/b_l4s5i_iot01a/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/doc/index.rst rename to boards/st/b_l4s5i_iot01a/doc/index.rst index d5b11c8b30b3ab..17455c772dd0a1 100644 --- a/boards/boards_legacy/arm/b_l4s5i_iot01a/doc/index.rst +++ b/boards/st/b_l4s5i_iot01a/doc/index.rst @@ -135,7 +135,7 @@ The Zephyr b_l4s5i_iot01a board configuration supports the following hardware fe The default configuration can be found in the defconfig file: - ``boards/arm/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig`` + :zephyr_file:`boards/st/b_l4s5i_iot01a/b_l4s5i_iot01a_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/b_l4s5i_iot01a/support/openocd.cfg b/boards/st/b_l4s5i_iot01a/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/b_l4s5i_iot01a/support/openocd.cfg rename to boards/st/b_l4s5i_iot01a/support/openocd.cfg diff --git a/boards/boards_legacy/arm/disco_l475_iot1/Kconfig.defconfig b/boards/st/disco_l475_iot1/Kconfig.defconfig similarity index 94% rename from boards/boards_legacy/arm/disco_l475_iot1/Kconfig.defconfig rename to boards/st/disco_l475_iot1/Kconfig.defconfig index 3a53147decf641..5679d2caff840d 100644 --- a/boards/boards_legacy/arm/disco_l475_iot1/Kconfig.defconfig +++ b/boards/st/disco_l475_iot1/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_DISCO_L475_IOT1 -config BOARD - default "disco_l475_iot1" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/st/disco_l475_iot1/Kconfig.disco_l475_iot1 b/boards/st/disco_l475_iot1/Kconfig.disco_l475_iot1 new file mode 100644 index 00000000000000..ee5352391883ac --- /dev/null +++ b/boards/st/disco_l475_iot1/Kconfig.disco_l475_iot1 @@ -0,0 +1,5 @@ +# Copyright (c) 2017 Linaro Limited +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_DISCO_L475_IOT1 + select SOC_STM32L475XX diff --git a/boards/boards_legacy/arm/disco_l475_iot1/arduino_r3_connector.dtsi b/boards/st/disco_l475_iot1/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/disco_l475_iot1/arduino_r3_connector.dtsi rename to boards/st/disco_l475_iot1/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/disco_l475_iot1/board.cmake b/boards/st/disco_l475_iot1/board.cmake similarity index 100% rename from boards/boards_legacy/arm/disco_l475_iot1/board.cmake rename to boards/st/disco_l475_iot1/board.cmake diff --git a/boards/st/disco_l475_iot1/board.yml b/boards/st/disco_l475_iot1/board.yml new file mode 100644 index 00000000000000..c11f22591a5690 --- /dev/null +++ b/boards/st/disco_l475_iot1/board.yml @@ -0,0 +1,5 @@ +board: + name: disco_l475_iot1 + vendor: st + socs: + - name: stm32l475xx diff --git a/boards/boards_legacy/arm/disco_l475_iot1/disco_l475_iot1.dts b/boards/st/disco_l475_iot1/disco_l475_iot1.dts similarity index 100% rename from boards/boards_legacy/arm/disco_l475_iot1/disco_l475_iot1.dts rename to boards/st/disco_l475_iot1/disco_l475_iot1.dts diff --git a/boards/boards_legacy/arm/disco_l475_iot1/disco_l475_iot1.yaml b/boards/st/disco_l475_iot1/disco_l475_iot1.yaml similarity index 100% rename from boards/boards_legacy/arm/disco_l475_iot1/disco_l475_iot1.yaml rename to boards/st/disco_l475_iot1/disco_l475_iot1.yaml diff --git a/boards/boards_legacy/arm/disco_l475_iot1/disco_l475_iot1_defconfig b/boards/st/disco_l475_iot1/disco_l475_iot1_defconfig similarity index 80% rename from boards/boards_legacy/arm/disco_l475_iot1/disco_l475_iot1_defconfig rename to boards/st/disco_l475_iot1/disco_l475_iot1_defconfig index a25b1eff6458ed..2ff706148f2956 100644 --- a/boards/boards_legacy/arm/disco_l475_iot1/disco_l475_iot1_defconfig +++ b/boards/st/disco_l475_iot1/disco_l475_iot1_defconfig @@ -1,9 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_BOARD_DISCO_L475_IOT1=y -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L475XX=y - # enable uart driver CONFIG_SERIAL=y CONFIG_UART_INTERRUPT_DRIVEN=y diff --git a/boards/boards_legacy/arm/disco_l475_iot1/doc/img/disco_l475_iot1.jpg b/boards/st/disco_l475_iot1/doc/img/disco_l475_iot1.jpg similarity index 100% rename from boards/boards_legacy/arm/disco_l475_iot1/doc/img/disco_l475_iot1.jpg rename to boards/st/disco_l475_iot1/doc/img/disco_l475_iot1.jpg diff --git a/boards/boards_legacy/arm/disco_l475_iot1/doc/index.rst b/boards/st/disco_l475_iot1/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/disco_l475_iot1/doc/index.rst rename to boards/st/disco_l475_iot1/doc/index.rst index 906729fcf8e411..dc49d4fcb2d68a 100644 --- a/boards/boards_legacy/arm/disco_l475_iot1/doc/index.rst +++ b/boards/st/disco_l475_iot1/doc/index.rst @@ -136,7 +136,7 @@ Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: - ``boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig`` + :zephyr_file:`boards/st/disco_l475_iot1/disco_l475_iot1_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/disco_l475_iot1/support/openocd.cfg b/boards/st/disco_l475_iot1/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/disco_l475_iot1/support/openocd.cfg rename to boards/st/disco_l475_iot1/support/openocd.cfg diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/Kconfig.defconfig b/boards/st/nucleo_l412rb_p/Kconfig.defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l412rb_p/Kconfig.defconfig rename to boards/st/nucleo_l412rb_p/Kconfig.defconfig index 210607bd31d80b..1ea0e9a194a12e 100644 --- a/boards/boards_legacy/arm/nucleo_l412rb_p/Kconfig.defconfig +++ b/boards/st/nucleo_l412rb_p/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_NUCLEO_L412RB_P -config BOARD - default "nucleo_l412rb_p" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/st/nucleo_l412rb_p/Kconfig.nucleo_l412rb_p b/boards/st/nucleo_l412rb_p/Kconfig.nucleo_l412rb_p new file mode 100644 index 00000000000000..9faaea408546a4 --- /dev/null +++ b/boards/st/nucleo_l412rb_p/Kconfig.nucleo_l412rb_p @@ -0,0 +1,5 @@ +# Copyright (c) 2021 Guðni Már Gilbert +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_NUCLEO_L412RB_P + select SOC_STM32L412XX diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/arduino_r3_connector.dtsi b/boards/st/nucleo_l412rb_p/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l412rb_p/arduino_r3_connector.dtsi rename to boards/st/nucleo_l412rb_p/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/board.cmake b/boards/st/nucleo_l412rb_p/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_l412rb_p/board.cmake rename to boards/st/nucleo_l412rb_p/board.cmake diff --git a/boards/st/nucleo_l412rb_p/board.yml b/boards/st/nucleo_l412rb_p/board.yml new file mode 100644 index 00000000000000..92ab56d2df399f --- /dev/null +++ b/boards/st/nucleo_l412rb_p/board.yml @@ -0,0 +1,5 @@ +board: + name: nucleo_l412rb_p + vendor: st + socs: + - name: stm32l412xx diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/doc/img/nucleo_l412rb_p.jpg b/boards/st/nucleo_l412rb_p/doc/img/nucleo_l412rb_p.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l412rb_p/doc/img/nucleo_l412rb_p.jpg rename to boards/st/nucleo_l412rb_p/doc/img/nucleo_l412rb_p.jpg diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/doc/img/nucleo_l412rb_p_pinout.jpg b/boards/st/nucleo_l412rb_p/doc/img/nucleo_l412rb_p_pinout.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l412rb_p/doc/img/nucleo_l412rb_p_pinout.jpg rename to boards/st/nucleo_l412rb_p/doc/img/nucleo_l412rb_p_pinout.jpg diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/doc/index.rst b/boards/st/nucleo_l412rb_p/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/nucleo_l412rb_p/doc/index.rst rename to boards/st/nucleo_l412rb_p/doc/index.rst index 3485d01cba1d6f..b423f06c17489c 100644 --- a/boards/boards_legacy/arm/nucleo_l412rb_p/doc/index.rst +++ b/boards/st/nucleo_l412rb_p/doc/index.rst @@ -161,7 +161,7 @@ The Zephyr ``nucleo_l412rb_p`` board configuration supports the following hardwa Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/nucleo_l412rb_p/nucleo_l412rb_p_defconfig`` +:zephyr_file:`boards/st/nucleo_l412rb_p/nucleo_l412rb_p_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/nucleo_l412rb_p.dts b/boards/st/nucleo_l412rb_p/nucleo_l412rb_p.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l412rb_p/nucleo_l412rb_p.dts rename to boards/st/nucleo_l412rb_p/nucleo_l412rb_p.dts diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/nucleo_l412rb_p.yaml b/boards/st/nucleo_l412rb_p/nucleo_l412rb_p.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_l412rb_p/nucleo_l412rb_p.yaml rename to boards/st/nucleo_l412rb_p/nucleo_l412rb_p.yaml diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/nucleo_l412rb_p_defconfig b/boards/st/nucleo_l412rb_p/nucleo_l412rb_p_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l412rb_p/nucleo_l412rb_p_defconfig rename to boards/st/nucleo_l412rb_p/nucleo_l412rb_p_defconfig index a3541daa6f6ab7..349e958591e43c 100644 --- a/boards/boards_legacy/arm/nucleo_l412rb_p/nucleo_l412rb_p_defconfig +++ b/boards/st/nucleo_l412rb_p/nucleo_l412rb_p_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L412XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/boards_legacy/arm/nucleo_l412rb_p/support/openocd.cfg b/boards/st/nucleo_l412rb_p/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l412rb_p/support/openocd.cfg rename to boards/st/nucleo_l412rb_p/support/openocd.cfg diff --git a/boards/boards_legacy/arm/nucleo_l432kc/Kconfig.defconfig b/boards/st/nucleo_l432kc/Kconfig.defconfig similarity index 87% rename from boards/boards_legacy/arm/nucleo_l432kc/Kconfig.defconfig rename to boards/st/nucleo_l432kc/Kconfig.defconfig index d76ef2633af2c3..2820946d23a7ed 100644 --- a/boards/boards_legacy/arm/nucleo_l432kc/Kconfig.defconfig +++ b/boards/st/nucleo_l432kc/Kconfig.defconfig @@ -6,9 +6,6 @@ if BOARD_NUCLEO_L432KC -config BOARD - default "nucleo_l432kc" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/st/nucleo_l432kc/Kconfig.nucleo_l432kc b/boards/st/nucleo_l432kc/Kconfig.nucleo_l432kc new file mode 100644 index 00000000000000..800f96f6c013e6 --- /dev/null +++ b/boards/st/nucleo_l432kc/Kconfig.nucleo_l432kc @@ -0,0 +1,5 @@ +# Copyright (c) 2016 BayLibre, SAS +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_NUCLEO_L432KC + select SOC_STM32L432XX diff --git a/boards/boards_legacy/arm/nucleo_l432kc/board.cmake b/boards/st/nucleo_l432kc/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_l432kc/board.cmake rename to boards/st/nucleo_l432kc/board.cmake diff --git a/boards/st/nucleo_l432kc/board.yml b/boards/st/nucleo_l432kc/board.yml new file mode 100644 index 00000000000000..25ccfc0ddf9c4f --- /dev/null +++ b/boards/st/nucleo_l432kc/board.yml @@ -0,0 +1,5 @@ +board: + name: nucleo_l432kc + vendor: st + socs: + - name: stm32l432xx diff --git a/boards/boards_legacy/arm/nucleo_l432kc/doc/img/nucleo_l432kc.jpg b/boards/st/nucleo_l432kc/doc/img/nucleo_l432kc.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l432kc/doc/img/nucleo_l432kc.jpg rename to boards/st/nucleo_l432kc/doc/img/nucleo_l432kc.jpg diff --git a/boards/boards_legacy/arm/nucleo_l432kc/doc/img/nucleo_l432kc_arduino_nano.jpg b/boards/st/nucleo_l432kc/doc/img/nucleo_l432kc_arduino_nano.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l432kc/doc/img/nucleo_l432kc_arduino_nano.jpg rename to boards/st/nucleo_l432kc/doc/img/nucleo_l432kc_arduino_nano.jpg diff --git a/boards/boards_legacy/arm/nucleo_l432kc/doc/index.rst b/boards/st/nucleo_l432kc/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/nucleo_l432kc/doc/index.rst rename to boards/st/nucleo_l432kc/doc/index.rst index b054c472f22603..ddbfaec6a805ee 100644 --- a/boards/boards_legacy/arm/nucleo_l432kc/doc/index.rst +++ b/boards/st/nucleo_l432kc/doc/index.rst @@ -122,7 +122,7 @@ The Zephyr nucleo_l432kc board configuration supports the following hardware fea Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/nucleo_l432kc/nucleo_l432kc_defconfig`` +:zephyr_file:`boards/st/nucleo_l432kc/nucleo_l432kc_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/nucleo_l432kc/nucleo_l432kc.dts b/boards/st/nucleo_l432kc/nucleo_l432kc.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l432kc/nucleo_l432kc.dts rename to boards/st/nucleo_l432kc/nucleo_l432kc.dts diff --git a/boards/boards_legacy/arm/nucleo_l432kc/nucleo_l432kc.yaml b/boards/st/nucleo_l432kc/nucleo_l432kc.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_l432kc/nucleo_l432kc.yaml rename to boards/st/nucleo_l432kc/nucleo_l432kc.yaml diff --git a/boards/boards_legacy/arm/nucleo_l432kc/nucleo_l432kc_defconfig b/boards/st/nucleo_l432kc/nucleo_l432kc_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l432kc/nucleo_l432kc_defconfig rename to boards/st/nucleo_l432kc/nucleo_l432kc_defconfig index d4bf42213f4b2f..82ee7285d52d8a 100644 --- a/boards/boards_legacy/arm/nucleo_l432kc/nucleo_l432kc_defconfig +++ b/boards/st/nucleo_l432kc/nucleo_l432kc_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L432XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/boards_legacy/arm/nucleo_l432kc/support/openocd.cfg b/boards/st/nucleo_l432kc/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l432kc/support/openocd.cfg rename to boards/st/nucleo_l432kc/support/openocd.cfg diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/Kconfig.defconfig b/boards/st/nucleo_l433rc_p/Kconfig.defconfig similarity index 84% rename from boards/boards_legacy/arm/nucleo_l433rc_p/Kconfig.defconfig rename to boards/st/nucleo_l433rc_p/Kconfig.defconfig index 62136895033403..5db4cd8f6d3d27 100644 --- a/boards/boards_legacy/arm/nucleo_l433rc_p/Kconfig.defconfig +++ b/boards/st/nucleo_l433rc_p/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_NUCLEO_L433RC_P -config BOARD - default "nucleo_l433rc_p" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/st/nucleo_l433rc_p/Kconfig.nucleo_l433rc_p b/boards/st/nucleo_l433rc_p/Kconfig.nucleo_l433rc_p new file mode 100644 index 00000000000000..e2e57e6890b524 --- /dev/null +++ b/boards/st/nucleo_l433rc_p/Kconfig.nucleo_l433rc_p @@ -0,0 +1,5 @@ +# Copyright (c) 2021 Matija Tudan +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_NUCLEO_L433RC_P + select SOC_STM32L433XX diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/arduino_r3_connector.dtsi b/boards/st/nucleo_l433rc_p/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l433rc_p/arduino_r3_connector.dtsi rename to boards/st/nucleo_l433rc_p/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/board.cmake b/boards/st/nucleo_l433rc_p/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_l433rc_p/board.cmake rename to boards/st/nucleo_l433rc_p/board.cmake diff --git a/boards/st/nucleo_l433rc_p/board.yml b/boards/st/nucleo_l433rc_p/board.yml new file mode 100644 index 00000000000000..03c1f3c6f6fb6d --- /dev/null +++ b/boards/st/nucleo_l433rc_p/board.yml @@ -0,0 +1,5 @@ +board: + name: nucleo_l433rc_p + vendor: st + socs: + - name: stm32l433xx diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/doc/img/nucleo_l433rc_p.jpg b/boards/st/nucleo_l433rc_p/doc/img/nucleo_l433rc_p.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l433rc_p/doc/img/nucleo_l433rc_p.jpg rename to boards/st/nucleo_l433rc_p/doc/img/nucleo_l433rc_p.jpg diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/doc/img/nucleo_l433rc_p_pinout.jpg b/boards/st/nucleo_l433rc_p/doc/img/nucleo_l433rc_p_pinout.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l433rc_p/doc/img/nucleo_l433rc_p_pinout.jpg rename to boards/st/nucleo_l433rc_p/doc/img/nucleo_l433rc_p_pinout.jpg diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/doc/index.rst b/boards/st/nucleo_l433rc_p/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/nucleo_l433rc_p/doc/index.rst rename to boards/st/nucleo_l433rc_p/doc/index.rst index 6e86a44cee0ccf..8981c68b2361ff 100644 --- a/boards/boards_legacy/arm/nucleo_l433rc_p/doc/index.rst +++ b/boards/st/nucleo_l433rc_p/doc/index.rst @@ -125,7 +125,7 @@ The Zephyr nucleo_l433rc_p board configuration supports the following hardware f Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/nucleo_l433rc_p/nucleo_l433rc_p_defconfig`` +:zephyr_file:`boards/st/nucleo_l433rc_p/nucleo_l433rc_p_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/nucleo_l433rc_p.dts b/boards/st/nucleo_l433rc_p/nucleo_l433rc_p.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l433rc_p/nucleo_l433rc_p.dts rename to boards/st/nucleo_l433rc_p/nucleo_l433rc_p.dts diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/nucleo_l433rc_p.yaml b/boards/st/nucleo_l433rc_p/nucleo_l433rc_p.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_l433rc_p/nucleo_l433rc_p.yaml rename to boards/st/nucleo_l433rc_p/nucleo_l433rc_p.yaml diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/nucleo_l433rc_p_defconfig b/boards/st/nucleo_l433rc_p/nucleo_l433rc_p_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l433rc_p/nucleo_l433rc_p_defconfig rename to boards/st/nucleo_l433rc_p/nucleo_l433rc_p_defconfig index 72a116e3fec1e4..82ee7285d52d8a 100644 --- a/boards/boards_legacy/arm/nucleo_l433rc_p/nucleo_l433rc_p_defconfig +++ b/boards/st/nucleo_l433rc_p/nucleo_l433rc_p_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L433XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/boards_legacy/arm/nucleo_l433rc_p/support/openocd.cfg b/boards/st/nucleo_l433rc_p/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l433rc_p/support/openocd.cfg rename to boards/st/nucleo_l433rc_p/support/openocd.cfg diff --git a/boards/st/nucleo_l452re/Kconfig.defconfig b/boards/st/nucleo_l452re/Kconfig.defconfig new file mode 100644 index 00000000000000..1758af6e18caab --- /dev/null +++ b/boards/st/nucleo_l452re/Kconfig.defconfig @@ -0,0 +1,13 @@ +# STM32L452RE Nucleo board configuration +# +# Copyright (c) 2019 Libre Solar Technologies GmbH +# +# SPDX-License-Identifier: Apache-2.0 + +if BOARD_NUCLEO_L452RE + +config SPI_STM32_INTERRUPT + default y + depends on SPI + +endif # BOARD_NUCLEO_L452RE diff --git a/boards/st/nucleo_l452re/Kconfig.nucleo_l452re b/boards/st/nucleo_l452re/Kconfig.nucleo_l452re new file mode 100644 index 00000000000000..08df2bfc05fef7 --- /dev/null +++ b/boards/st/nucleo_l452re/Kconfig.nucleo_l452re @@ -0,0 +1,5 @@ +# Copyright (c) 2019 Libre Solar Technologies GmbH +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_NUCLEO_L452RE + select SOC_STM32L452XX diff --git a/boards/boards_legacy/arm/nucleo_l452re/arduino_r3_connector.dtsi b/boards/st/nucleo_l452re/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/arduino_r3_connector.dtsi rename to boards/st/nucleo_l452re/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l452re/board.cmake b/boards/st/nucleo_l452re/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/board.cmake rename to boards/st/nucleo_l452re/board.cmake diff --git a/boards/st/nucleo_l452re/board.yml b/boards/st/nucleo_l452re/board.yml new file mode 100644 index 00000000000000..9bbf96304971ed --- /dev/null +++ b/boards/st/nucleo_l452re/board.yml @@ -0,0 +1,7 @@ +board: + name: nucleo_l452re + vendor: st + socs: + - name: stm32l452xx + variants: + - name: p diff --git a/boards/boards_legacy/arm/nucleo_l452re/doc/img/nucleo_l452re_p.jpg b/boards/st/nucleo_l452re/doc/img/nucleo_l452re_p.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/doc/img/nucleo_l452re_p.jpg rename to boards/st/nucleo_l452re/doc/img/nucleo_l452re_p.jpg diff --git a/boards/boards_legacy/arm/nucleo_l452re/doc/img/nucleo_l452re_p_pinout.jpg b/boards/st/nucleo_l452re/doc/img/nucleo_l452re_p_pinout.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/doc/img/nucleo_l452re_p_pinout.jpg rename to boards/st/nucleo_l452re/doc/img/nucleo_l452re_p_pinout.jpg diff --git a/boards/boards_legacy/arm/nucleo_l452re/doc/img/nucleo_l452re_pinout.jpg b/boards/st/nucleo_l452re/doc/img/nucleo_l452re_pinout.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/doc/img/nucleo_l452re_pinout.jpg rename to boards/st/nucleo_l452re/doc/img/nucleo_l452re_pinout.jpg diff --git a/boards/boards_legacy/arm/nucleo_l452re/doc/index.rst b/boards/st/nucleo_l452re/doc/index.rst similarity index 95% rename from boards/boards_legacy/arm/nucleo_l452re/doc/index.rst rename to boards/st/nucleo_l452re/doc/index.rst index 4b68d032be1781..57839f931c5d2d 100644 --- a/boards/boards_legacy/arm/nucleo_l452re/doc/index.rst +++ b/boards/st/nucleo_l452re/doc/index.rst @@ -132,7 +132,10 @@ The Zephyr nucleo_l452re board configuration supports the following hardware fea Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/nucleo_l452re/nucleo_l452re_defconfig`` +:zephyr_file:`boards/st/nucleo_l452re/nucleo_l452re_defconfig` + +And for Nucleo L452RE-P in this defconfig file: +:zephyr_file:`boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p_defconfig` Connections and IOs @@ -218,6 +221,13 @@ Now build and flash an application. Here is an example for :board: nucleo_l452re :goals: build flash +For Nucleo L452RE-P, use this command instead: + +.. zephyr-app-commands:: + :zephyr-app: samples/hello_world + :board: nucleo_l452re/stm32l452xx/p + :goals: build flash + You should see the following message on the console: .. code-block:: console diff --git a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re.dts b/boards/st/nucleo_l452re/nucleo_l452re.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re.dts rename to boards/st/nucleo_l452re/nucleo_l452re.dts diff --git a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re.yaml b/boards/st/nucleo_l452re/nucleo_l452re.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re.yaml rename to boards/st/nucleo_l452re/nucleo_l452re.yaml diff --git a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_common.dtsi b/boards/st/nucleo_l452re/nucleo_l452re_common.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_common.dtsi rename to boards/st/nucleo_l452re/nucleo_l452re_common.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_defconfig b/boards/st/nucleo_l452re/nucleo_l452re_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_defconfig rename to boards/st/nucleo_l452re/nucleo_l452re_defconfig index 14b7ffdd20928b..94950b2862fcaa 100644 --- a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_defconfig +++ b/boards/st/nucleo_l452re/nucleo_l452re_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L452XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_p.dts b/boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_p.dts rename to boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p.dts diff --git a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_p.yaml b/boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p.yaml similarity index 81% rename from boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_p.yaml rename to boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p.yaml index 7ca93a9c9bc43e..86e8a58034f761 100644 --- a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_p.yaml +++ b/boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p.yaml @@ -1,4 +1,4 @@ -identifier: nucleo_l452re_p +identifier: nucleo_l452re/stm32l452xx/p name: ST Nucleo L452RE-P type: mcu arch: arm diff --git a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_p_defconfig b/boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_p_defconfig rename to boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p_defconfig index 14b7ffdd20928b..94950b2862fcaa 100644 --- a/boards/boards_legacy/arm/nucleo_l452re/nucleo_l452re_p_defconfig +++ b/boards/st/nucleo_l452re/nucleo_l452re_stm32l452xx_p_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L452XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/nucleo_l452re/st_morpho_connector.dtsi b/boards/st/nucleo_l452re/st_morpho_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/st_morpho_connector.dtsi rename to boards/st/nucleo_l452re/st_morpho_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l452re/support/openocd.cfg b/boards/st/nucleo_l452re/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l452re/support/openocd.cfg rename to boards/st/nucleo_l452re/support/openocd.cfg diff --git a/boards/boards_legacy/arm/nucleo_l476rg/Kconfig.defconfig b/boards/st/nucleo_l476rg/Kconfig.defconfig similarity index 87% rename from boards/boards_legacy/arm/nucleo_l476rg/Kconfig.defconfig rename to boards/st/nucleo_l476rg/Kconfig.defconfig index cbbef016161a43..276fdc47b58095 100644 --- a/boards/boards_legacy/arm/nucleo_l476rg/Kconfig.defconfig +++ b/boards/st/nucleo_l476rg/Kconfig.defconfig @@ -6,9 +6,6 @@ if BOARD_NUCLEO_L476RG -config BOARD - default "nucleo_l476rg" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/st/nucleo_l476rg/Kconfig.nucleo_l476rg b/boards/st/nucleo_l476rg/Kconfig.nucleo_l476rg new file mode 100644 index 00000000000000..dd3608327d185e --- /dev/null +++ b/boards/st/nucleo_l476rg/Kconfig.nucleo_l476rg @@ -0,0 +1,5 @@ +# Copyright (c) 2016 BayLibre, SAS +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_NUCLEO_L476RG + select SOC_STM32L476XX diff --git a/boards/boards_legacy/arm/nucleo_l476rg/arduino_r3_connector.dtsi b/boards/st/nucleo_l476rg/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/arduino_r3_connector.dtsi rename to boards/st/nucleo_l476rg/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l476rg/board.cmake b/boards/st/nucleo_l476rg/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/board.cmake rename to boards/st/nucleo_l476rg/board.cmake diff --git a/boards/st/nucleo_l476rg/board.yml b/boards/st/nucleo_l476rg/board.yml new file mode 100644 index 00000000000000..c6b21713e34ec1 --- /dev/null +++ b/boards/st/nucleo_l476rg/board.yml @@ -0,0 +1,5 @@ +board: + name: nucleo_l476rg + vendor: st + socs: + - name: stm32l476xx diff --git a/boards/boards_legacy/arm/nucleo_l476rg/doc/img/nucleo_l476rg.jpg b/boards/st/nucleo_l476rg/doc/img/nucleo_l476rg.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/doc/img/nucleo_l476rg.jpg rename to boards/st/nucleo_l476rg/doc/img/nucleo_l476rg.jpg diff --git a/boards/boards_legacy/arm/nucleo_l476rg/doc/img/nucleo_l476rg_arduino.jpg b/boards/st/nucleo_l476rg/doc/img/nucleo_l476rg_arduino.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/doc/img/nucleo_l476rg_arduino.jpg rename to boards/st/nucleo_l476rg/doc/img/nucleo_l476rg_arduino.jpg diff --git a/boards/boards_legacy/arm/nucleo_l476rg/doc/img/nucleo_l476rg_morpho.jpg b/boards/st/nucleo_l476rg/doc/img/nucleo_l476rg_morpho.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/doc/img/nucleo_l476rg_morpho.jpg rename to boards/st/nucleo_l476rg/doc/img/nucleo_l476rg_morpho.jpg diff --git a/boards/boards_legacy/arm/nucleo_l476rg/doc/index.rst b/boards/st/nucleo_l476rg/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/nucleo_l476rg/doc/index.rst rename to boards/st/nucleo_l476rg/doc/index.rst index 10dff333643841..a45b18b339e189 100644 --- a/boards/boards_legacy/arm/nucleo_l476rg/doc/index.rst +++ b/boards/st/nucleo_l476rg/doc/index.rst @@ -127,7 +127,7 @@ The Zephyr nucleo_l476rg board configuration supports the following hardware fea Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig`` +:zephyr_file:`boards/st/nucleo_l476rg/nucleo_l476rg_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/nucleo_l476rg/nucleo_l476rg.dts b/boards/st/nucleo_l476rg/nucleo_l476rg.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/nucleo_l476rg.dts rename to boards/st/nucleo_l476rg/nucleo_l476rg.dts diff --git a/boards/boards_legacy/arm/nucleo_l476rg/nucleo_l476rg.yaml b/boards/st/nucleo_l476rg/nucleo_l476rg.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/nucleo_l476rg.yaml rename to boards/st/nucleo_l476rg/nucleo_l476rg.yaml diff --git a/boards/boards_legacy/arm/nucleo_l476rg/nucleo_l476rg_defconfig b/boards/st/nucleo_l476rg/nucleo_l476rg_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l476rg/nucleo_l476rg_defconfig rename to boards/st/nucleo_l476rg/nucleo_l476rg_defconfig index 0ba22d7b6c432f..76e7e50d1fac52 100644 --- a/boards/boards_legacy/arm/nucleo_l476rg/nucleo_l476rg_defconfig +++ b/boards/st/nucleo_l476rg/nucleo_l476rg_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L476XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/nucleo_l476rg/st_morpho_connector.dtsi b/boards/st/nucleo_l476rg/st_morpho_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l476rg/st_morpho_connector.dtsi rename to boards/st/nucleo_l476rg/st_morpho_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l496zg/support/openocd.cfg b/boards/st/nucleo_l476rg/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l496zg/support/openocd.cfg rename to boards/st/nucleo_l476rg/support/openocd.cfg diff --git a/boards/boards_legacy/arm/nucleo_l496zg/Kconfig.defconfig b/boards/st/nucleo_l496zg/Kconfig.defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l496zg/Kconfig.defconfig rename to boards/st/nucleo_l496zg/Kconfig.defconfig index 34fcc96575a220..f15b6d411eca88 100644 --- a/boards/boards_legacy/arm/nucleo_l496zg/Kconfig.defconfig +++ b/boards/st/nucleo_l496zg/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_NUCLEO_L496ZG -config BOARD - default "nucleo_l496zg" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/boards_legacy/arm/nucleo_l496zg/Kconfig.board b/boards/st/nucleo_l496zg/Kconfig.nucleo_l496zg similarity index 51% rename from boards/boards_legacy/arm/nucleo_l496zg/Kconfig.board rename to boards/st/nucleo_l496zg/Kconfig.nucleo_l496zg index 908385c5f53ba9..79dc7f4b042d16 100644 --- a/boards/boards_legacy/arm/nucleo_l496zg/Kconfig.board +++ b/boards/st/nucleo_l496zg/Kconfig.nucleo_l496zg @@ -1,8 +1,5 @@ -# STM32L496ZG Nucleo board configuration - # Copyright (c) 2018-2019 Centaur Analytics, Inc # SPDX-License-Identifier: Apache-2.0 config BOARD_NUCLEO_L496ZG - bool "Nucleo L496ZG Development Board" - depends on SOC_STM32L496XX + select SOC_STM32L496XX diff --git a/boards/boards_legacy/arm/nucleo_l496zg/arduino_r3_connector.dtsi b/boards/st/nucleo_l496zg/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l496zg/arduino_r3_connector.dtsi rename to boards/st/nucleo_l496zg/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l496zg/board.cmake b/boards/st/nucleo_l496zg/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_l496zg/board.cmake rename to boards/st/nucleo_l496zg/board.cmake diff --git a/boards/st/nucleo_l496zg/board.yml b/boards/st/nucleo_l496zg/board.yml new file mode 100644 index 00000000000000..3d1c909cffc790 --- /dev/null +++ b/boards/st/nucleo_l496zg/board.yml @@ -0,0 +1,5 @@ +board: + name: nucleo_l496zg + vendor: st + socs: + - name: stm32l496xx diff --git a/boards/boards_legacy/arm/nucleo_l496zg/doc/img/nucleo_l496zg.jpg b/boards/st/nucleo_l496zg/doc/img/nucleo_l496zg.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l496zg/doc/img/nucleo_l496zg.jpg rename to boards/st/nucleo_l496zg/doc/img/nucleo_l496zg.jpg diff --git a/boards/boards_legacy/arm/nucleo_l496zg/doc/index.rst b/boards/st/nucleo_l496zg/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/nucleo_l496zg/doc/index.rst rename to boards/st/nucleo_l496zg/doc/index.rst index 49d011b8846751..da208a4c8d931f 100644 --- a/boards/boards_legacy/arm/nucleo_l496zg/doc/index.rst +++ b/boards/st/nucleo_l496zg/doc/index.rst @@ -133,7 +133,7 @@ The Zephyr nucleo_l496zg board configuration supports the following hardware fea Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/nucleo_l496zg/nucleo_l496zg_defconfig`` +:zephyr_file:`boards/st/nucleo_l496zg/nucleo_l496zg_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/nucleo_l496zg/nucleo_l496zg.dts b/boards/st/nucleo_l496zg/nucleo_l496zg.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l496zg/nucleo_l496zg.dts rename to boards/st/nucleo_l496zg/nucleo_l496zg.dts diff --git a/boards/boards_legacy/arm/nucleo_l496zg/nucleo_l496zg.yaml b/boards/st/nucleo_l496zg/nucleo_l496zg.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_l496zg/nucleo_l496zg.yaml rename to boards/st/nucleo_l496zg/nucleo_l496zg.yaml diff --git a/boards/boards_legacy/arm/nucleo_l496zg/nucleo_l496zg_defconfig b/boards/st/nucleo_l496zg/nucleo_l496zg_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l496zg/nucleo_l496zg_defconfig rename to boards/st/nucleo_l496zg/nucleo_l496zg_defconfig index e195230eb20829..5ef11a3cb3ff67 100644 --- a/boards/boards_legacy/arm/nucleo_l496zg/nucleo_l496zg_defconfig +++ b/boards/st/nucleo_l496zg/nucleo_l496zg_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L496XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/support/openocd.cfg b/boards/st/nucleo_l496zg/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4a6zg/support/openocd.cfg rename to boards/st/nucleo_l496zg/support/openocd.cfg diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/Kconfig.defconfig b/boards/st/nucleo_l4a6zg/Kconfig.defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l4a6zg/Kconfig.defconfig rename to boards/st/nucleo_l4a6zg/Kconfig.defconfig index c08656612952be..a7e0339c369b90 100644 --- a/boards/boards_legacy/arm/nucleo_l4a6zg/Kconfig.defconfig +++ b/boards/st/nucleo_l4a6zg/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_NUCLEO_L4A6ZG -config BOARD - default "nucleo_l4a6zg" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/st/nucleo_l4a6zg/Kconfig.nucleo_l4a6zg b/boards/st/nucleo_l4a6zg/Kconfig.nucleo_l4a6zg new file mode 100644 index 00000000000000..fb33c9a9a23d16 --- /dev/null +++ b/boards/st/nucleo_l4a6zg/Kconfig.nucleo_l4a6zg @@ -0,0 +1,5 @@ +# Copyright (c) 2022 Tomislav Milkovic +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_NUCLEO_L4A6ZG + select SOC_STM32L4A6XX diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/arduino_r3_connector.dtsi b/boards/st/nucleo_l4a6zg/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4a6zg/arduino_r3_connector.dtsi rename to boards/st/nucleo_l4a6zg/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/board.cmake b/boards/st/nucleo_l4a6zg/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4a6zg/board.cmake rename to boards/st/nucleo_l4a6zg/board.cmake diff --git a/boards/st/nucleo_l4a6zg/board.yml b/boards/st/nucleo_l4a6zg/board.yml new file mode 100644 index 00000000000000..6e935c5d0826ae --- /dev/null +++ b/boards/st/nucleo_l4a6zg/board.yml @@ -0,0 +1,5 @@ +board: + name: nucleo_l4a6zg + vendor: st + socs: + - name: stm32l4a6xx diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/doc/index.rst b/boards/st/nucleo_l4a6zg/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/nucleo_l4a6zg/doc/index.rst rename to boards/st/nucleo_l4a6zg/doc/index.rst index 7e61d9f8907679..30cac697ddee3d 100644 --- a/boards/boards_legacy/arm/nucleo_l4a6zg/doc/index.rst +++ b/boards/st/nucleo_l4a6zg/doc/index.rst @@ -138,7 +138,7 @@ The Zephyr nucleo_l4a6zg board configuration supports the following hardware fea Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/nucleo_l4a6zg/nucleo_l4a6zg_defconfig`` +:zephyr_file:`boards/st/nucleo_l4a6zg/nucleo_l4a6zg_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/nucleo_l4a6zg.dts b/boards/st/nucleo_l4a6zg/nucleo_l4a6zg.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4a6zg/nucleo_l4a6zg.dts rename to boards/st/nucleo_l4a6zg/nucleo_l4a6zg.dts diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/nucleo_l4a6zg.yaml b/boards/st/nucleo_l4a6zg/nucleo_l4a6zg.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4a6zg/nucleo_l4a6zg.yaml rename to boards/st/nucleo_l4a6zg/nucleo_l4a6zg.yaml diff --git a/boards/boards_legacy/arm/nucleo_l4a6zg/nucleo_l4a6zg_defconfig b/boards/st/nucleo_l4a6zg/nucleo_l4a6zg_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l4a6zg/nucleo_l4a6zg_defconfig rename to boards/st/nucleo_l4a6zg/nucleo_l4a6zg_defconfig index a2e8b6eb212c5b..5ef11a3cb3ff67 100644 --- a/boards/boards_legacy/arm/nucleo_l4a6zg/nucleo_l4a6zg_defconfig +++ b/boards/st/nucleo_l4a6zg/nucleo_l4a6zg_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L4A6XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/support/openocd.cfg b/boards/st/nucleo_l4a6zg/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4r5zi/support/openocd.cfg rename to boards/st/nucleo_l4a6zg/support/openocd.cfg diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/Kconfig.defconfig b/boards/st/nucleo_l4r5zi/Kconfig.defconfig similarity index 89% rename from boards/boards_legacy/arm/nucleo_l4r5zi/Kconfig.defconfig rename to boards/st/nucleo_l4r5zi/Kconfig.defconfig index 5b3db7604cbd99..31b375e87d2d9e 100644 --- a/boards/boards_legacy/arm/nucleo_l4r5zi/Kconfig.defconfig +++ b/boards/st/nucleo_l4r5zi/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_NUCLEO_L4R5ZI -config BOARD - default "nucleo_l4r5zi" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/st/nucleo_l4r5zi/Kconfig.nucleo_l4r5zi b/boards/st/nucleo_l4r5zi/Kconfig.nucleo_l4r5zi new file mode 100644 index 00000000000000..06fe55dc6b5bb6 --- /dev/null +++ b/boards/st/nucleo_l4r5zi/Kconfig.nucleo_l4r5zi @@ -0,0 +1,5 @@ +# Copyright (c) 2018 Pushpal Sidhu +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_NUCLEO_L4R5ZI + select SOC_STM32L4R5XX diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/arduino_r3_connector.dtsi b/boards/st/nucleo_l4r5zi/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4r5zi/arduino_r3_connector.dtsi rename to boards/st/nucleo_l4r5zi/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/board.cmake b/boards/st/nucleo_l4r5zi/board.cmake similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4r5zi/board.cmake rename to boards/st/nucleo_l4r5zi/board.cmake diff --git a/boards/st/nucleo_l4r5zi/board.yml b/boards/st/nucleo_l4r5zi/board.yml new file mode 100644 index 00000000000000..46ead4d88316c3 --- /dev/null +++ b/boards/st/nucleo_l4r5zi/board.yml @@ -0,0 +1,5 @@ +board: + name: nucleo_l4r5zi + vendor: st + socs: + - name: stm32l4r5xx diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/doc/img/nucleo144_layout.jpg b/boards/st/nucleo_l4r5zi/doc/img/nucleo144_layout.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4r5zi/doc/img/nucleo144_layout.jpg rename to boards/st/nucleo_l4r5zi/doc/img/nucleo144_layout.jpg diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/doc/img/nucleo_l4r5zi.jpg b/boards/st/nucleo_l4r5zi/doc/img/nucleo_l4r5zi.jpg similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4r5zi/doc/img/nucleo_l4r5zi.jpg rename to boards/st/nucleo_l4r5zi/doc/img/nucleo_l4r5zi.jpg diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/doc/index.rst b/boards/st/nucleo_l4r5zi/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/nucleo_l4r5zi/doc/index.rst rename to boards/st/nucleo_l4r5zi/doc/index.rst index b132403ce2adbd..f449c985a83600 100644 --- a/boards/boards_legacy/arm/nucleo_l4r5zi/doc/index.rst +++ b/boards/st/nucleo_l4r5zi/doc/index.rst @@ -145,7 +145,7 @@ hardware features: Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: -``boards/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig`` +:zephyr_file:`boards/st/nucleo_l4r5zi/nucleo_l4r5zi_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/nucleo_l4r5zi.dts b/boards/st/nucleo_l4r5zi/nucleo_l4r5zi.dts similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4r5zi/nucleo_l4r5zi.dts rename to boards/st/nucleo_l4r5zi/nucleo_l4r5zi.dts diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/nucleo_l4r5zi.yaml b/boards/st/nucleo_l4r5zi/nucleo_l4r5zi.yaml similarity index 100% rename from boards/boards_legacy/arm/nucleo_l4r5zi/nucleo_l4r5zi.yaml rename to boards/st/nucleo_l4r5zi/nucleo_l4r5zi.yaml diff --git a/boards/boards_legacy/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig b/boards/st/nucleo_l4r5zi/nucleo_l4r5zi_defconfig similarity index 85% rename from boards/boards_legacy/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig rename to boards/st/nucleo_l4r5zi/nucleo_l4r5zi_defconfig index 0efb42f55a9f67..4ba8077edd667c 100644 --- a/boards/boards_legacy/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig +++ b/boards/st/nucleo_l4r5zi/nucleo_l4r5zi_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L4R5XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/sensortile_box/support/openocd.cfg b/boards/st/nucleo_l4r5zi/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/sensortile_box/support/openocd.cfg rename to boards/st/nucleo_l4r5zi/support/openocd.cfg diff --git a/boards/boards_legacy/arm/sensortile_box/Kconfig.defconfig b/boards/st/sensortile_box/Kconfig.defconfig similarity index 91% rename from boards/boards_legacy/arm/sensortile_box/Kconfig.defconfig rename to boards/st/sensortile_box/Kconfig.defconfig index 1f3d19b39cadae..29aa7598ef81b0 100644 --- a/boards/boards_legacy/arm/sensortile_box/Kconfig.defconfig +++ b/boards/st/sensortile_box/Kconfig.defconfig @@ -5,9 +5,6 @@ if BOARD_SENSORTILE_BOX -config BOARD - default "sensortile_box" - if BT config SPI diff --git a/boards/boards_legacy/arm/sensortile_box/Kconfig.board b/boards/st/sensortile_box/Kconfig.sensortile_box similarity index 50% rename from boards/boards_legacy/arm/sensortile_box/Kconfig.board rename to boards/st/sensortile_box/Kconfig.sensortile_box index 5341a09871afdb..0d7ec6b82af5f5 100644 --- a/boards/boards_legacy/arm/sensortile_box/Kconfig.board +++ b/boards/st/sensortile_box/Kconfig.sensortile_box @@ -1,8 +1,5 @@ -# SensorTile.box board configuration - # Copyright (c) 2019 STMicroelectronics # SPDX-License-Identifier: Apache-2.0 config BOARD_SENSORTILE_BOX - bool "SensorTile.box Development Board" - depends on SOC_STM32L4R9XX + select SOC_STM32L4R9XX diff --git a/boards/boards_legacy/arm/sensortile_box/board.cmake b/boards/st/sensortile_box/board.cmake similarity index 100% rename from boards/boards_legacy/arm/sensortile_box/board.cmake rename to boards/st/sensortile_box/board.cmake diff --git a/boards/st/sensortile_box/board.yml b/boards/st/sensortile_box/board.yml new file mode 100644 index 00000000000000..4ac086b2cb7c97 --- /dev/null +++ b/boards/st/sensortile_box/board.yml @@ -0,0 +1,5 @@ +board: + name: sensortile_box + vendor: st + socs: + - name: stm32l4r9xx diff --git a/boards/boards_legacy/arm/sensortile_box/doc/img/sensortile_box.jpg b/boards/st/sensortile_box/doc/img/sensortile_box.jpg similarity index 100% rename from boards/boards_legacy/arm/sensortile_box/doc/img/sensortile_box.jpg rename to boards/st/sensortile_box/doc/img/sensortile_box.jpg diff --git a/boards/boards_legacy/arm/sensortile_box/doc/index.rst b/boards/st/sensortile_box/doc/index.rst similarity index 100% rename from boards/boards_legacy/arm/sensortile_box/doc/index.rst rename to boards/st/sensortile_box/doc/index.rst diff --git a/boards/boards_legacy/arm/sensortile_box/sensortile_box.dts b/boards/st/sensortile_box/sensortile_box.dts similarity index 100% rename from boards/boards_legacy/arm/sensortile_box/sensortile_box.dts rename to boards/st/sensortile_box/sensortile_box.dts diff --git a/boards/boards_legacy/arm/sensortile_box/sensortile_box.yaml b/boards/st/sensortile_box/sensortile_box.yaml similarity index 100% rename from boards/boards_legacy/arm/sensortile_box/sensortile_box.yaml rename to boards/st/sensortile_box/sensortile_box.yaml diff --git a/boards/boards_legacy/arm/sensortile_box/sensortile_box_defconfig b/boards/st/sensortile_box/sensortile_box_defconfig similarity index 85% rename from boards/boards_legacy/arm/sensortile_box/sensortile_box_defconfig rename to boards/st/sensortile_box/sensortile_box_defconfig index 2970c68d6c9e7a..4ba8077edd667c 100644 --- a/boards/boards_legacy/arm/sensortile_box/sensortile_box_defconfig +++ b/boards/st/sensortile_box/sensortile_box_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L4R9XX=y - # enable uart driver CONFIG_SERIAL=y diff --git a/boards/boards_legacy/arm/swan_r5/support/openocd.cfg b/boards/st/sensortile_box/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/swan_r5/support/openocd.cfg rename to boards/st/sensortile_box/support/openocd.cfg diff --git a/boards/st/stm32l476g_disco/Kconfig.stm32l476g_disco b/boards/st/stm32l476g_disco/Kconfig.stm32l476g_disco new file mode 100644 index 00000000000000..7c062054f4480f --- /dev/null +++ b/boards/st/stm32l476g_disco/Kconfig.stm32l476g_disco @@ -0,0 +1,5 @@ +# Copyright (c) 2017 Arthur Sfez +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_STM32L476G_DISCO + select SOC_STM32L476XX diff --git a/boards/boards_legacy/arm/stm32l476g_disco/board.cmake b/boards/st/stm32l476g_disco/board.cmake similarity index 100% rename from boards/boards_legacy/arm/stm32l476g_disco/board.cmake rename to boards/st/stm32l476g_disco/board.cmake diff --git a/boards/st/stm32l476g_disco/board.yml b/boards/st/stm32l476g_disco/board.yml new file mode 100644 index 00000000000000..c82c2c618430e1 --- /dev/null +++ b/boards/st/stm32l476g_disco/board.yml @@ -0,0 +1,5 @@ +board: + name: stm32l476g_disco + vendor: st + socs: + - name: stm32l476xx diff --git a/boards/boards_legacy/arm/stm32l476g_disco/doc/img/stm32l476g_disco.jpg b/boards/st/stm32l476g_disco/doc/img/stm32l476g_disco.jpg similarity index 100% rename from boards/boards_legacy/arm/stm32l476g_disco/doc/img/stm32l476g_disco.jpg rename to boards/st/stm32l476g_disco/doc/img/stm32l476g_disco.jpg diff --git a/boards/boards_legacy/arm/stm32l476g_disco/doc/index.rst b/boards/st/stm32l476g_disco/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/stm32l476g_disco/doc/index.rst rename to boards/st/stm32l476g_disco/doc/index.rst index 65eef57c609f9c..ef40802a709aa9 100644 --- a/boards/boards_legacy/arm/stm32l476g_disco/doc/index.rst +++ b/boards/st/stm32l476g_disco/doc/index.rst @@ -126,7 +126,7 @@ Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: - ``boards/arm/stm32l476g_disco/stm32l476g_disco_defconfig`` + :zephyr_file:`boards/st/stm32l476g_disco/stm32l476g_disco_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/stm32l476g_disco/stm32l476g_disco.dts b/boards/st/stm32l476g_disco/stm32l476g_disco.dts similarity index 100% rename from boards/boards_legacy/arm/stm32l476g_disco/stm32l476g_disco.dts rename to boards/st/stm32l476g_disco/stm32l476g_disco.dts diff --git a/boards/boards_legacy/arm/stm32l476g_disco/stm32l476g_disco.yaml b/boards/st/stm32l476g_disco/stm32l476g_disco.yaml similarity index 100% rename from boards/boards_legacy/arm/stm32l476g_disco/stm32l476g_disco.yaml rename to boards/st/stm32l476g_disco/stm32l476g_disco.yaml diff --git a/boards/boards_legacy/arm/stm32l476g_disco/stm32l476g_disco_defconfig b/boards/st/stm32l476g_disco/stm32l476g_disco_defconfig similarity index 85% rename from boards/boards_legacy/arm/stm32l476g_disco/stm32l476g_disco_defconfig rename to boards/st/stm32l476g_disco/stm32l476g_disco_defconfig index 0f0f47059fe071..82ee7285d52d8a 100644 --- a/boards/boards_legacy/arm/stm32l476g_disco/stm32l476g_disco_defconfig +++ b/boards/st/stm32l476g_disco/stm32l476g_disco_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L476XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/boards_legacy/arm/stm32l476g_disco/support/openocd.cfg b/boards/st/stm32l476g_disco/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/stm32l476g_disco/support/openocd.cfg rename to boards/st/stm32l476g_disco/support/openocd.cfg diff --git a/boards/boards_legacy/arm/stm32l496g_disco/CMakeLists.txt b/boards/st/stm32l496g_disco/CMakeLists.txt similarity index 100% rename from boards/boards_legacy/arm/stm32l496g_disco/CMakeLists.txt rename to boards/st/stm32l496g_disco/CMakeLists.txt diff --git a/boards/boards_legacy/arm/stm32l496g_disco/Kconfig.defconfig b/boards/st/stm32l496g_disco/Kconfig.defconfig similarity index 88% rename from boards/boards_legacy/arm/stm32l496g_disco/Kconfig.defconfig rename to boards/st/stm32l496g_disco/Kconfig.defconfig index 114aacf680d937..604ea42983c33f 100644 --- a/boards/boards_legacy/arm/stm32l496g_disco/Kconfig.defconfig +++ b/boards/st/stm32l496g_disco/Kconfig.defconfig @@ -6,9 +6,6 @@ if BOARD_STM32L496G_DISCO -config BOARD - default "stm32l496g_disco" - config SPI_STM32_INTERRUPT default y depends on SPI diff --git a/boards/st/stm32l496g_disco/Kconfig.stm32l496g_disco b/boards/st/stm32l496g_disco/Kconfig.stm32l496g_disco new file mode 100644 index 00000000000000..43f50ffced9f0d --- /dev/null +++ b/boards/st/stm32l496g_disco/Kconfig.stm32l496g_disco @@ -0,0 +1,5 @@ +# Copyright (c) 2019 Centaur Analytics, Inc +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_STM32L496G_DISCO + select SOC_STM32L496XX diff --git a/boards/boards_legacy/arm/stm32l496g_disco/arduino_r3_connector.dtsi b/boards/st/stm32l496g_disco/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/stm32l496g_disco/arduino_r3_connector.dtsi rename to boards/st/stm32l496g_disco/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/stm32l496g_disco/board.cmake b/boards/st/stm32l496g_disco/board.cmake similarity index 100% rename from boards/boards_legacy/arm/stm32l496g_disco/board.cmake rename to boards/st/stm32l496g_disco/board.cmake diff --git a/boards/st/stm32l496g_disco/board.yml b/boards/st/stm32l496g_disco/board.yml new file mode 100644 index 00000000000000..9d6b18a598d7b4 --- /dev/null +++ b/boards/st/stm32l496g_disco/board.yml @@ -0,0 +1,5 @@ +board: + name: stm32l496g_disco + vendor: st + socs: + - name: stm32l496xx diff --git a/boards/boards_legacy/arm/stm32l496g_disco/board_adc_vref.c b/boards/st/stm32l496g_disco/board_adc_vref.c similarity index 100% rename from boards/boards_legacy/arm/stm32l496g_disco/board_adc_vref.c rename to boards/st/stm32l496g_disco/board_adc_vref.c diff --git a/boards/boards_legacy/arm/stm32l496g_disco/doc/img/stm32l496g_disco.jpg b/boards/st/stm32l496g_disco/doc/img/stm32l496g_disco.jpg similarity index 100% rename from boards/boards_legacy/arm/stm32l496g_disco/doc/img/stm32l496g_disco.jpg rename to boards/st/stm32l496g_disco/doc/img/stm32l496g_disco.jpg diff --git a/boards/boards_legacy/arm/stm32l496g_disco/doc/index.rst b/boards/st/stm32l496g_disco/doc/index.rst similarity index 99% rename from boards/boards_legacy/arm/stm32l496g_disco/doc/index.rst rename to boards/st/stm32l496g_disco/doc/index.rst index e8bc81f092b9e8..576c07bc2cc9ac 100644 --- a/boards/boards_legacy/arm/stm32l496g_disco/doc/index.rst +++ b/boards/st/stm32l496g_disco/doc/index.rst @@ -155,7 +155,7 @@ Other hardware features are not yet supported on this Zephyr port. The default configuration can be found in the defconfig file: - ``boards/arm/stm32l496g_disco/stm32l496g_disco_defconfig`` + :zephyr_file:`boards/st/stm32l496g_disco/stm32l496g_disco_defconfig` Connections and IOs diff --git a/boards/boards_legacy/arm/stm32l496g_disco/stm32l496g_disco.dts b/boards/st/stm32l496g_disco/stm32l496g_disco.dts similarity index 100% rename from boards/boards_legacy/arm/stm32l496g_disco/stm32l496g_disco.dts rename to boards/st/stm32l496g_disco/stm32l496g_disco.dts diff --git a/boards/boards_legacy/arm/stm32l496g_disco/stm32l496g_disco.yaml b/boards/st/stm32l496g_disco/stm32l496g_disco.yaml similarity index 100% rename from boards/boards_legacy/arm/stm32l496g_disco/stm32l496g_disco.yaml rename to boards/st/stm32l496g_disco/stm32l496g_disco.yaml diff --git a/boards/boards_legacy/arm/stm32l496g_disco/stm32l496g_disco_defconfig b/boards/st/stm32l496g_disco/stm32l496g_disco_defconfig similarity index 85% rename from boards/boards_legacy/arm/stm32l496g_disco/stm32l496g_disco_defconfig rename to boards/st/stm32l496g_disco/stm32l496g_disco_defconfig index d2d940208b5ce4..c7582ad0d95389 100644 --- a/boards/boards_legacy/arm/stm32l496g_disco/stm32l496g_disco_defconfig +++ b/boards/st/stm32l496g_disco/stm32l496g_disco_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L496XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/boards_legacy/arm/stm32l496g_disco/support/openocd.cfg b/boards/st/stm32l496g_disco/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/stm32l496g_disco/support/openocd.cfg rename to boards/st/stm32l496g_disco/support/openocd.cfg diff --git a/boards/st/stm32l4r9i_disco/Kconfig.stm32l4r9i_disco b/boards/st/stm32l4r9i_disco/Kconfig.stm32l4r9i_disco new file mode 100644 index 00000000000000..680643035711e0 --- /dev/null +++ b/boards/st/stm32l4r9i_disco/Kconfig.stm32l4r9i_disco @@ -0,0 +1,5 @@ +# Copyright (c) 2023 STMicroelectronics +# SPDX-License-Identifier: Apache-2.0 + +config BOARD_STM32L4R9I_DISCO + select SOC_STM32L4R9XX diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/arduino_r3_connector.dtsi b/boards/st/stm32l4r9i_disco/arduino_r3_connector.dtsi similarity index 100% rename from boards/boards_legacy/arm/stm32l4r9i_disco/arduino_r3_connector.dtsi rename to boards/st/stm32l4r9i_disco/arduino_r3_connector.dtsi diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/board.cmake b/boards/st/stm32l4r9i_disco/board.cmake similarity index 100% rename from boards/boards_legacy/arm/stm32l4r9i_disco/board.cmake rename to boards/st/stm32l4r9i_disco/board.cmake diff --git a/boards/st/stm32l4r9i_disco/board.yml b/boards/st/stm32l4r9i_disco/board.yml new file mode 100644 index 00000000000000..267fd87932da75 --- /dev/null +++ b/boards/st/stm32l4r9i_disco/board.yml @@ -0,0 +1,5 @@ +board: + name: stm32l4r9i_disco + vendor: st + socs: + - name: stm32l4r9xx diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/doc/img/stm32l4r9i_disco.jpg b/boards/st/stm32l4r9i_disco/doc/img/stm32l4r9i_disco.jpg similarity index 100% rename from boards/boards_legacy/arm/stm32l4r9i_disco/doc/img/stm32l4r9i_disco.jpg rename to boards/st/stm32l4r9i_disco/doc/img/stm32l4r9i_disco.jpg diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/doc/index.rst b/boards/st/stm32l4r9i_disco/doc/index.rst similarity index 98% rename from boards/boards_legacy/arm/stm32l4r9i_disco/doc/index.rst rename to boards/st/stm32l4r9i_disco/doc/index.rst index 0f651e2b9ffc25..e2053313122bf5 100644 --- a/boards/boards_legacy/arm/stm32l4r9i_disco/doc/index.rst +++ b/boards/st/stm32l4r9i_disco/doc/index.rst @@ -65,7 +65,7 @@ Other hardware features are not yet supported on Zephyr porting. The default configuration can be found in the defconfig file: - ``boards/arm/stm32l4r9i_disco/stm32l4r9i_disco_defconfig`` + :zephyr_file:`boards/st/stm32l4r9i_disco/stm32l4r9i_disco_defconfig` Pin Mapping diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/stm32l4r9i_disco.dts b/boards/st/stm32l4r9i_disco/stm32l4r9i_disco.dts similarity index 100% rename from boards/boards_legacy/arm/stm32l4r9i_disco/stm32l4r9i_disco.dts rename to boards/st/stm32l4r9i_disco/stm32l4r9i_disco.dts diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/stm32l4r9i_disco.yaml b/boards/st/stm32l4r9i_disco/stm32l4r9i_disco.yaml similarity index 100% rename from boards/boards_legacy/arm/stm32l4r9i_disco/stm32l4r9i_disco.yaml rename to boards/st/stm32l4r9i_disco/stm32l4r9i_disco.yaml diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/stm32l4r9i_disco_defconfig b/boards/st/stm32l4r9i_disco/stm32l4r9i_disco_defconfig similarity index 85% rename from boards/boards_legacy/arm/stm32l4r9i_disco/stm32l4r9i_disco_defconfig rename to boards/st/stm32l4r9i_disco/stm32l4r9i_disco_defconfig index 546bd3379a8547..ac681be2af064e 100644 --- a/boards/boards_legacy/arm/stm32l4r9i_disco/stm32l4r9i_disco_defconfig +++ b/boards/st/stm32l4r9i_disco/stm32l4r9i_disco_defconfig @@ -1,8 +1,5 @@ # SPDX-License-Identifier: Apache-2.0 -CONFIG_SOC_SERIES_STM32L4X=y -CONFIG_SOC_STM32L4R9XX=y - # Enable MPU CONFIG_ARM_MPU=y diff --git a/boards/boards_legacy/arm/stm32l4r9i_disco/support/openocd.cfg b/boards/st/stm32l4r9i_disco/support/openocd.cfg similarity index 100% rename from boards/boards_legacy/arm/stm32l4r9i_disco/support/openocd.cfg rename to boards/st/stm32l4r9i_disco/support/openocd.cfg diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.soc b/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.soc deleted file mode 100644 index 9719ff4b73d9a2..00000000000000 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.soc +++ /dev/null @@ -1,70 +0,0 @@ -# ST Microelectronics STM32L4 MCU line - -# Copyright (c) 2016 Open-RnD Sp. z o.o. -# Copyright (c) 2016 BayLibre, SAS -# Copyright (c) 2019 Centaur Analytics, Inc -# Copyright (c) 2019 STMicroelectronics -# SPDX-License-Identifier: Apache-2.0 - -choice - prompt "STM32L4x MCU Selection" - depends on SOC_SERIES_STM32L4X - -config SOC_STM32L476XX - bool "STM32L476XX" - -config SOC_STM32L486XX - bool "STM32L486XX" - -config SOC_STM32L496XX - bool "STM32L496XX" - -config SOC_STM32L4A6XX - bool "STM32L4A6XX" - -config SOC_STM32L412XX - bool "STM32L412XX" - -config SOC_STM32L422XX - bool "STM32L422XX" - -config SOC_STM32L431XX - bool "STM32L431XX" - -config SOC_STM32L432XX - bool "STM32L432XX" - -config SOC_STM32L433XX - bool "STM32L433XX" - -config SOC_STM32L451XX - bool "STM32L451XX" - -config SOC_STM32L452XX - bool "STM32L452XX" - -config SOC_STM32L462XX - bool "STM32L462XX" - -config SOC_STM32L475XX - bool "STM32L475XX" - -config SOC_STM32L4P5XX - bool "STM32L4P5XX" - -config SOC_STM32L4Q5XX - bool "STM32L4Q5XX" - -config SOC_STM32L4S5XX - bool "STM32L4S5XX" - -config SOC_STM32L4R5XX - bool "STM32L4R5XX" - -config SOC_STM32L4R9XX - bool "STM32L4R9XX" - -config SOC_STM32L471XX - bool "STM32L471XX" - -endchoice diff --git a/soc/st/stm32/soc.yml b/soc/st/stm32/soc.yml index 123b2b88dfe6a8..f2af437fdd3d00 100644 --- a/soc/st/stm32/soc.yml +++ b/soc/st/stm32/soc.yml @@ -97,6 +97,27 @@ family: - name: stm32l151xc - name: stm32l152xc - name: stm32l152xe + - name: stm32l4x + socs: + - name: stm32l412xx + - name: stm32l422xx + - name: stm32l431xx + - name: stm32l432xx + - name: stm32l433xx + - name: stm32l451xx + - name: stm32l452xx + - name: stm32l462xx + - name: stm32l471xx + - name: stm32l475xx + - name: stm32l476xx + - name: stm32l486xx + - name: stm32l496xx + - name: stm32l4a6xx + - name: stm32l4p5xx + - name: stm32l4q5xx + - name: stm32l4s5xx + - name: stm32l4r5xx + - name: stm32l4r9xx - name: stm32l5x socs: - name: stm32l552xx diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/CMakeLists.txt b/soc/st/stm32/stm32l4/CMakeLists.txt similarity index 91% rename from soc/soc_legacy/arm/st_stm32/stm32l4/CMakeLists.txt rename to soc/st/stm32/stm32l4/CMakeLists.txt index 94edc2622740f6..2a910ba75121d3 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/CMakeLists.txt +++ b/soc/st/stm32/stm32l4/CMakeLists.txt @@ -11,4 +11,6 @@ zephyr_sources_ifdef(CONFIG_PM zephyr_sources_ifdef(CONFIG_POWEROFF poweroff.c) +zephyr_include_directories(.) + set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "") diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.series b/soc/st/stm32/stm32l4/Kconfig similarity index 78% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.series rename to soc/st/stm32/stm32l4/Kconfig index 6ac4f1e704ca7f..80bc62075c3fce 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.series +++ b/soc/st/stm32/stm32l4/Kconfig @@ -5,16 +5,12 @@ # SPDX-License-Identifier: Apache-2.0 config SOC_SERIES_STM32L4X - bool "STM32L4x Series MCU" select ARM select CPU_CORTEX_M4 select CPU_CORTEX_M_HAS_DWT select CPU_HAS_FPU - select SOC_FAMILY_STM32 select HAS_STM32CUBE select CPU_HAS_ARM_MPU select HAS_SWO select HAS_PM select HAS_POWEROFF - help - Enable support for STM32L4 MCU series diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.series b/soc/st/stm32/stm32l4/Kconfig.defconfig similarity index 80% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.series rename to soc/st/stm32/stm32l4/Kconfig.defconfig index d0761404eb58ee..7dcb3ff506c328 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.series +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig @@ -8,7 +8,7 @@ if SOC_SERIES_STM32L4X -source "soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4*" +rsource "Kconfig.defconfig.stm32l4*" config SOC_SERIES default "stm32l4" diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l412xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l412xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l412xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l412xx index 2918e3d3dd2608..eb73f26dc4df67 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l412xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l412xx @@ -5,9 +5,6 @@ if SOC_STM32L412XX -config SOC - default "stm32l412xx" - config NUM_IRQS default 83 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l422xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l422xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l422xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l422xx index f6be07396bad9c..24143f8ede9445 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l422xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l422xx @@ -5,9 +5,6 @@ if SOC_STM32L422XX -config SOC - default "stm32l422xx" - config NUM_IRQS default 83 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l431xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l431xx similarity index 83% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l431xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l431xx index d21a2bd58f94ed..65b1136536859d 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l431xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l431xx @@ -5,9 +5,6 @@ if SOC_STM32L431XX -config SOC - default "stm32l431xx" - config NUM_IRQS default 83 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l432xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l432xx similarity index 86% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l432xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l432xx index d6ed27b7b44f37..b16bdfd5090bf9 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l432xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l432xx @@ -6,9 +6,6 @@ if SOC_STM32L432XX -config SOC - default "stm32l432xx" - config NUM_IRQS default 83 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l433xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l433xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l433xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l433xx index d10133eb1a8939..2cb0b3162a0ef8 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l433xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l433xx @@ -5,9 +5,6 @@ if SOC_STM32L433XX -config SOC - default "stm32l433xx" - config NUM_IRQS default 83 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l451xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l451xx similarity index 85% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l451xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l451xx index d3f5867a8dc123..36350d41b5e63c 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l451xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l451xx @@ -5,9 +5,6 @@ if SOC_STM32L451XX -config SOC - default "stm32l451xx" - config NUM_IRQS default 85 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l452xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l452xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l452xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l452xx index 0c6cc32f1f896d..c1564d0513d837 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l452xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l452xx @@ -5,9 +5,6 @@ if SOC_STM32L452XX -config SOC - default "stm32l452xx" - config NUM_IRQS default 85 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l462xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l462xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l462xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l462xx index 1c3575884b283e..57d136e67c55a0 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l462xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l462xx @@ -5,9 +5,6 @@ if SOC_STM32L462XX -config SOC - default "stm32l462xx" - config NUM_IRQS default 85 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l471xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l471xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l471xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l471xx index afb35990beebfe..22e8dd61d44fc1 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l471xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l471xx @@ -5,9 +5,6 @@ if SOC_STM32L471XX -config SOC - default "stm32l471xx" - config NUM_IRQS default 82 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l475xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l475xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l475xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l475xx index 25e11c3bcec364..0e3e1d231e6f58 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l475xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l475xx @@ -5,9 +5,6 @@ if SOC_STM32L475XX -config SOC - default "stm32l475xx" - config NUM_IRQS default 82 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l476xx similarity index 86% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l476xx index d2f70cd6c662d6..bd53c4066cc3ac 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l476xx @@ -6,9 +6,6 @@ if SOC_STM32L476XX -config SOC - default "stm32l476xx" - config NUM_IRQS default 82 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l486xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l486xx similarity index 88% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l486xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l486xx index 600948c5ffa477..4e5cbd8b5815aa 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l486xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l486xx @@ -7,9 +7,6 @@ if SOC_STM32L486XX -config SOC - default "stm32l486xx" - config NUM_IRQS default 82 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l496xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l496xx similarity index 88% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l496xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l496xx index 6d5dcb62bade26..d7100e5c9caa74 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l496xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l496xx @@ -7,9 +7,6 @@ if SOC_STM32L496XX -config SOC - default "stm32l496xx" - config NUM_IRQS default 91 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4a6xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4a6xx similarity index 89% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4a6xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4a6xx index 12a88ee608f3af..7cfcecfe204655 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4a6xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4a6xx @@ -8,9 +8,6 @@ if SOC_STM32L4A6XX -config SOC - default "stm32l4a6xx" - config NUM_IRQS default 91 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4p5xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4p5xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4p5xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4p5xx index 605264f36a04e6..2c55c2d0113075 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4p5xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4p5xx @@ -5,9 +5,6 @@ if SOC_STM32L4P5XX -config SOC - default "stm32l4p5xx" - config NUM_IRQS default 95 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4q5xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4q5xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4q5xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4q5xx index 964cd4ad9ad2ab..779d194eb4c234 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4q5xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4q5xx @@ -5,9 +5,6 @@ if SOC_STM32L4Q5XX -config SOC - default "stm32l4q5xx" - config NUM_IRQS default 95 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r5xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4r5xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r5xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4r5xx index 3a22131077408d..301004d3a84a09 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r5xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4r5xx @@ -5,9 +5,6 @@ if SOC_STM32L4R5XX -config SOC - default "stm32l4r5xx" - config NUM_IRQS default 95 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r9xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4r9xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r9xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4r9xx index fd39575c550211..150a22332b7927 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r9xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4r9xx @@ -5,9 +5,6 @@ if SOC_STM32L4R9XX -config SOC - default "stm32l4r9xx" - config NUM_IRQS default 95 diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4s5xx b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4s5xx similarity index 84% rename from soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4s5xx rename to soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4s5xx index 79d97dbe08356f..85ab309e848bcc 100644 --- a/soc/soc_legacy/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4s5xx +++ b/soc/st/stm32/stm32l4/Kconfig.defconfig.stm32l4s5xx @@ -5,9 +5,6 @@ if SOC_STM32L4S5XX -config SOC - default "stm32l4s5xx" - config NUM_IRQS default 95 diff --git a/soc/st/stm32/stm32l4/Kconfig.soc b/soc/st/stm32/stm32l4/Kconfig.soc new file mode 100644 index 00000000000000..352b7048a30e5d --- /dev/null +++ b/soc/st/stm32/stm32l4/Kconfig.soc @@ -0,0 +1,111 @@ +# ST Microelectronics STM32L4 MCU line + +# Copyright (c) 2016 Open-RnD Sp. z o.o. +# Copyright (c) 2016 BayLibre, SAS +# Copyright (c) 2019 Centaur Analytics, Inc +# Copyright (c) 2019 STMicroelectronics +# SPDX-License-Identifier: Apache-2.0 + +config SOC_SERIES_STM32L4X + bool + select SOC_FAMILY_STM32 + +config SOC_SERIES + default "stm32l4" if SOC_SERIES_STM32L4X + +config SOC_STM32L412XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L422XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L431XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L432XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L433XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L451XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L452XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L462XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L471XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L475XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L476XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L486XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L496XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L4A6XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L4P5XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L4Q5XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L4S5XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L4R5XX + bool + select SOC_SERIES_STM32L4X + +config SOC_STM32L4R9XX + bool + select SOC_SERIES_STM32L4X + +config SOC + default "stm32l412xx" if SOC_STM32L412XX + default "stm32l422xx" if SOC_STM32L422XX + default "stm32l431xx" if SOC_STM32L431XX + default "stm32l432xx" if SOC_STM32L432XX + default "stm32l433xx" if SOC_STM32L433XX + default "stm32l451xx" if SOC_STM32L451XX + default "stm32l452xx" if SOC_STM32L452XX + default "stm32l462xx" if SOC_STM32L462XX + default "stm32l471xx" if SOC_STM32L471XX + default "stm32l475xx" if SOC_STM32L475XX + default "stm32l476xx" if SOC_STM32L476XX + default "stm32l486xx" if SOC_STM32L486XX + default "stm32l496xx" if SOC_STM32L496XX + default "stm32l4a6xx" if SOC_STM32L4A6XX + default "stm32l4p5xx" if SOC_STM32L4P5XX + default "stm32l4q5xx" if SOC_STM32L4Q5XX + default "stm32l4s5xx" if SOC_STM32L4S5XX + default "stm32l4r5xx" if SOC_STM32L4R5XX + default "stm32l4r9xx" if SOC_STM32L4R9XX diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/power.c b/soc/st/stm32/stm32l4/power.c similarity index 100% rename from soc/soc_legacy/arm/st_stm32/stm32l4/power.c rename to soc/st/stm32/stm32l4/power.c diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/poweroff.c b/soc/st/stm32/stm32l4/poweroff.c similarity index 100% rename from soc/soc_legacy/arm/st_stm32/stm32l4/poweroff.c rename to soc/st/stm32/stm32l4/poweroff.c diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/soc.c b/soc/st/stm32/stm32l4/soc.c similarity index 100% rename from soc/soc_legacy/arm/st_stm32/stm32l4/soc.c rename to soc/st/stm32/stm32l4/soc.c diff --git a/soc/soc_legacy/arm/st_stm32/stm32l4/soc.h b/soc/st/stm32/stm32l4/soc.h similarity index 100% rename from soc/soc_legacy/arm/st_stm32/stm32l4/soc.h rename to soc/st/stm32/stm32l4/soc.h diff --git a/tests/drivers/flash/stm32/testcase.yaml b/tests/drivers/flash/stm32/testcase.yaml index f3346c96052e9a..fe13b3444fd4f2 100644 --- a/tests/drivers/flash/stm32/testcase.yaml +++ b/tests/drivers/flash/stm32/testcase.yaml @@ -14,7 +14,7 @@ tests: dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions") drivers.flash.stm32.l4: platform_allow: - - nucleo_l452re_p + - nucleo_l452re/stm32l452xx/p - disco_l475_iot1 extra_configs: - CONFIG_FLASH_STM32_READOUT_PROTECTION=y