soc: stm32: STM32WB: Remove useless package digit
Fixes #16733, applied to STM32WB series.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
diff --git a/boards/arm/nucleo_wb55rg/Kconfig.board b/boards/arm/nucleo_wb55rg/Kconfig.board
index 016d5e9..6e06d94 100644
--- a/boards/arm/nucleo_wb55rg/Kconfig.board
+++ b/boards/arm/nucleo_wb55rg/Kconfig.board
@@ -7,4 +7,4 @@
config BOARD_NUCLEO_WB55RG
bool "Nucleo WB55RG Development Board"
- depends on SOC_STM32WB55XG
+ depends on SOC_STM32WB55XX
diff --git a/boards/arm/nucleo_wb55rg/nucleo_wb55rg_defconfig b/boards/arm/nucleo_wb55rg/nucleo_wb55rg_defconfig
index 7f4e878..44b6f18 100644
--- a/boards/arm/nucleo_wb55rg/nucleo_wb55rg_defconfig
+++ b/boards/arm/nucleo_wb55rg/nucleo_wb55rg_defconfig
@@ -1,6 +1,6 @@
CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32WBX=y
-CONFIG_SOC_STM32WB55XG=y
+CONFIG_SOC_STM32WB55XX=y
CONFIG_CORTEX_M_SYSTICK=y
# 32MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=32000000
diff --git a/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx b/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx
index 5036a15..14865e7 100644
--- a/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx
+++ b/soc/arm/st_stm32/stm32wb/Kconfig.defconfig.stm32wb55xx
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#
-if SOC_STM32WB55XG
+if SOC_STM32WB55XX
config SOC
string
@@ -15,4 +15,4 @@
int
default 63
-endif # SOC_STM32WB55XG
+endif # SOC_STM32WB55XX
diff --git a/soc/arm/st_stm32/stm32wb/Kconfig.soc b/soc/arm/st_stm32/stm32wb/Kconfig.soc
index 4674a95..67fadab 100644
--- a/soc/arm/st_stm32/stm32wb/Kconfig.soc
+++ b/soc/arm/st_stm32/stm32wb/Kconfig.soc
@@ -9,7 +9,7 @@
prompt "STM32WBx MCU Selection"
depends on SOC_SERIES_STM32WBX
-config SOC_STM32WB55XG
+config SOC_STM32WB55XX
bool "STM32WB55XX"
endchoice