From c4ae349570280b31f7893574bddbfb3be7b0499d Mon Sep 17 00:00:00 2001 From: Abderrahmane Jarmouni Date: Wed, 7 Feb 2024 18:00:55 +0100 Subject: [PATCH] soc: st: stm32: stm32f4: change SOC_STM32F405XG to SOC_STM32F405XX Change SOC_STM32F405XG flag to SOC_STM32F405XX since it refers to SoC stm32f405xx in kconfig.soc Signed-off-by: Abderrahmane Jarmouni --- .../Kconfig.adafruit_feather_stm32f405 | 2 +- boards/olimex/olimex_stm32_h405/Kconfig.olimex_stm32_h405 | 2 +- boards/olimex/olimex_stm32_p405/Kconfig.olimex_stm32_p405 | 2 +- soc/st/stm32/stm32f4/Kconfig.defconfig.stm32f405xx | 4 ++-- soc/st/stm32/stm32f4/Kconfig.soc | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/boards/adafruit/adafruit_feather_stm32f405/Kconfig.adafruit_feather_stm32f405 b/boards/adafruit/adafruit_feather_stm32f405/Kconfig.adafruit_feather_stm32f405 index 41223744ce6f30..e26a99c90ce52b 100644 --- a/boards/adafruit/adafruit_feather_stm32f405/Kconfig.adafruit_feather_stm32f405 +++ b/boards/adafruit/adafruit_feather_stm32f405/Kconfig.adafruit_feather_stm32f405 @@ -2,4 +2,4 @@ # SPDX-License-Identifier: Apache-2.0 config BOARD_ADAFRUIT_FEATHER_STM32F405 - select SOC_STM32F405XG + select SOC_STM32F405XX diff --git a/boards/olimex/olimex_stm32_h405/Kconfig.olimex_stm32_h405 b/boards/olimex/olimex_stm32_h405/Kconfig.olimex_stm32_h405 index 14754387e3a56f..e6797add494bd7 100644 --- a/boards/olimex/olimex_stm32_h405/Kconfig.olimex_stm32_h405 +++ b/boards/olimex/olimex_stm32_h405/Kconfig.olimex_stm32_h405 @@ -2,4 +2,4 @@ # SPDX-License-Identifier: Apache-2.0 config BOARD_OLIMEX_STM32_H405 - select SOC_STM32F405XG + select SOC_STM32F405XX diff --git a/boards/olimex/olimex_stm32_p405/Kconfig.olimex_stm32_p405 b/boards/olimex/olimex_stm32_p405/Kconfig.olimex_stm32_p405 index b36d196cd89def..7c61fe39272185 100644 --- a/boards/olimex/olimex_stm32_p405/Kconfig.olimex_stm32_p405 +++ b/boards/olimex/olimex_stm32_p405/Kconfig.olimex_stm32_p405 @@ -2,4 +2,4 @@ # SPDX-License-Identifier: Apache-2.0 config BOARD_OLIMEX_STM32_P405 - select SOC_STM32F405XG + select SOC_STM32F405XX diff --git a/soc/st/stm32/stm32f4/Kconfig.defconfig.stm32f405xx b/soc/st/stm32/stm32f4/Kconfig.defconfig.stm32f405xx index bacf0bd397f98a..646517bfbedf0b 100644 --- a/soc/st/stm32/stm32f4/Kconfig.defconfig.stm32f405xx +++ b/soc/st/stm32/stm32f4/Kconfig.defconfig.stm32f405xx @@ -3,9 +3,9 @@ # Copyright (c) 2016 Linaro Limited. # SPDX-License-Identifier: Apache-2.0 -if SOC_STM32F405XG +if SOC_STM32F405XX config NUM_IRQS default 82 -endif # SOC_STM32F405XG +endif # SOC_STM32F405XX diff --git a/soc/st/stm32/stm32f4/Kconfig.soc b/soc/st/stm32/stm32f4/Kconfig.soc index 240f0b395bc7be..928e8760693d9a 100644 --- a/soc/st/stm32/stm32f4/Kconfig.soc +++ b/soc/st/stm32/stm32f4/Kconfig.soc @@ -18,7 +18,7 @@ config SOC_STM32F401XE bool select SOC_SERIES_STM32F4X -config SOC_STM32F405XG +config SOC_STM32F405XX bool select SOC_SERIES_STM32F4X @@ -93,7 +93,7 @@ config SOC_STM32F469XX config SOC default "stm32f401xc" if SOC_STM32F401XC default "stm32f401xe" if SOC_STM32F401XE - default "stm32f405xx" if SOC_STM32F405XG + default "stm32f405xx" if SOC_STM32F405XX default "stm32f407xx" if SOC_STM32F407XE default "stm32f407xx" if SOC_STM32F407XG default "stm32f410rx" if SOC_STM32F410RX