Skip to content

Commit

Permalink
soc: stm32: STM32L4: Remove useless package digit
Browse files Browse the repository at this point in the history
Fixes #16733, applied to STM32L4 series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information
erwango authored and nashif committed Jun 17, 2019
1 parent 191b309 commit dbad99e
Show file tree
Hide file tree
Showing 24 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion boards/arm/disco_l475_iot1/Kconfig.board
Expand Up @@ -7,4 +7,4 @@

config BOARD_DISCO_L475_IOT1
bool "Discovery IoT L475 Development Board"
depends on SOC_STM32L475XG
depends on SOC_STM32L475XX
2 changes: 1 addition & 1 deletion boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig
Expand Up @@ -3,7 +3,7 @@
CONFIG_ARM=y
CONFIG_BOARD_DISCO_L475_IOT1=y
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L475XG=y
CONFIG_SOC_STM32L475XX=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000

Expand Down
2 changes: 1 addition & 1 deletion boards/arm/nucleo_l432kc/Kconfig.board
Expand Up @@ -8,4 +8,4 @@

config BOARD_NUCLEO_L432KC
bool "Nucleo L432KC Development Board"
depends on SOC_STM32L432XC
depends on SOC_STM32L432XX
2 changes: 1 addition & 1 deletion boards/arm/nucleo_l432kc/nucleo_l432kc_defconfig
Expand Up @@ -2,7 +2,7 @@

CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L432XC=y
CONFIG_SOC_STM32L432XX=y
CONFIG_CORTEX_M_SYSTICK=y
# 80MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=80000000
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/nucleo_l476rg/Kconfig.board
Expand Up @@ -8,4 +8,4 @@

config BOARD_NUCLEO_L476RG
bool "Nucleo L476RG Development Board"
depends on SOC_STM32L476XG
depends on SOC_STM32L476XX
2 changes: 1 addition & 1 deletion boards/arm/nucleo_l476rg/nucleo_l476rg_defconfig
Expand Up @@ -2,7 +2,7 @@

CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L476XG=y
CONFIG_SOC_STM32L476XX=y
CONFIG_CORTEX_M_SYSTICK=y
# 80MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=80000000
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/nucleo_l496zg/Kconfig.board
Expand Up @@ -7,4 +7,4 @@

config BOARD_NUCLEO_L496ZG
bool "Nucleo L496ZG Development Board"
depends on SOC_STM32L496XG
depends on SOC_STM32L496XX
2 changes: 1 addition & 1 deletion boards/arm/nucleo_l496zg/nucleo_l496zg_defconfig
Expand Up @@ -2,7 +2,7 @@

CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L496XG=y
CONFIG_SOC_STM32L496XX=y
CONFIG_CORTEX_M_SYSTICK=y
# 80MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=80000000
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/nucleo_l4r5zi/Kconfig.board
Expand Up @@ -7,4 +7,4 @@

config BOARD_NUCLEO_L4R5ZI
bool "Nucleo L4R5ZI Development Board"
depends on SOC_STM32L4R5XI
depends on SOC_STM32L4R5XX
2 changes: 1 addition & 1 deletion boards/arm/nucleo_l4r5zi/nucleo_l4r5zi_defconfig
Expand Up @@ -2,7 +2,7 @@

CONFIG_ARM=y
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L4R5XI=y
CONFIG_SOC_STM32L4R5XX=y
CONFIG_BOARD_NUCLEO_L4R5ZI=y
CONFIG_CORTEX_M_SYSTICK=y

Expand Down
2 changes: 1 addition & 1 deletion boards/arm/stm32l476g_disco/Kconfig.board
Expand Up @@ -7,4 +7,4 @@

config BOARD_STM32L476G_DISCO
bool "STM32L476G Discovery Development Board"
depends on SOC_STM32L476XG
depends on SOC_STM32L476XX
2 changes: 1 addition & 1 deletion boards/arm/stm32l476g_disco/stm32l476g_disco_defconfig
Expand Up @@ -3,7 +3,7 @@
CONFIG_ARM=y
CONFIG_BOARD_STM32L476G_DISCO=y
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L476XG=y
CONFIG_SOC_STM32L476XX=y
CONFIG_CORTEX_M_SYSTICK=y
# 80MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=80000000
Expand Down
2 changes: 1 addition & 1 deletion boards/arm/stm32l496g_disco/Kconfig.board
Expand Up @@ -8,4 +8,4 @@

config BOARD_STM32L496G_DISCO
bool "STM32L496G Discovery Development Board"
depends on SOC_STM32L496XG
depends on SOC_STM32L496XX
2 changes: 1 addition & 1 deletion boards/arm/stm32l496g_disco/stm32l496g_disco_defconfig
Expand Up @@ -3,7 +3,7 @@
CONFIG_ARM=y
CONFIG_BOARD_STM32L496G_DISCO=y
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L496XG=y
CONFIG_SOC_STM32L496XX=y
CONFIG_CORTEX_M_SYSTICK=y
# 80MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=80000000
Expand Down
2 changes: 1 addition & 1 deletion samples/basic/blink_led/src/main.c
Expand Up @@ -16,7 +16,7 @@
#include <pwm.h>

#if defined(CONFIG_SOC_STM32F401XE) || defined(CONFIG_SOC_STM32F412ZG) || \
defined(CONFIG_SOC_STM32F413XX) || defined(CONFIG_SOC_STM32L476XG) || \
defined(CONFIG_SOC_STM32F413XX) || defined(CONFIG_SOC_STM32L476XX) || \
defined(CONFIG_SOC_STM32F407XG) || defined(CONFIG_SOC_STM32F302X8)
#define PWM_DRIVER DT_PWM_STM32_2_DEV_NAME
#define PWM_CHANNEL 1
Expand Down
2 changes: 1 addition & 1 deletion samples/basic/fade_led/src/main.c
Expand Up @@ -15,7 +15,7 @@
#include <device.h>
#include <pwm.h>

#if defined(CONFIG_SOC_STM32F401XE) || defined(CONFIG_SOC_STM32L476XG)
#if defined(CONFIG_SOC_STM32F401XE) || defined(CONFIG_SOC_STM32L476XX)
#define PWM_DRIVER DT_PWM_STM32_2_DEV_NAME
#define PWM_CHANNEL 1
#elif CONFIG_SOC_STM32F103XB
Expand Down
4 changes: 2 additions & 2 deletions soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l432xx
Expand Up @@ -6,7 +6,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L432XC
if SOC_STM32L432XX

config SOC
string
Expand All @@ -23,4 +23,4 @@ config GPIO_STM32_PORTH

endif # GPIO_STM32

endif # SOC_STM32L432XC
endif # SOC_STM32L432XX
4 changes: 2 additions & 2 deletions soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l433xx
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L433XC
if SOC_STM32L433XX

config SOC
string
Expand All @@ -25,4 +25,4 @@ config GPIO_STM32_PORTE

endif # GPIO_STM32

endif # SOC_STM32L433XC
endif # SOC_STM32L433XX
4 changes: 2 additions & 2 deletions soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l452xx
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L452XC
if SOC_STM32L452XX

config SOC
string
Expand All @@ -25,4 +25,4 @@ config GPIO_STM32_PORTE

endif # GPIO_STM32

endif # SOC_STM32L452XC
endif # SOC_STM32L452XX
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L475XG
if SOC_STM32L475XX

config SOC
string
Expand All @@ -31,4 +31,4 @@ config GPIO_STM32_PORTG

endif # GPIO_STM32

endif # SOC_STM32L475XG
endif # SOC_STM32L475XX
4 changes: 2 additions & 2 deletions soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l476xx
Expand Up @@ -6,7 +6,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L476XG
if SOC_STM32L476XX

config SOC
string
Expand All @@ -32,4 +32,4 @@ config GPIO_STM32_PORTG

endif # GPIO_STM32

endif # SOC_STM32L476XG
endif # SOC_STM32L476XX
4 changes: 2 additions & 2 deletions soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l496xx
Expand Up @@ -6,7 +6,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L496XG
if SOC_STM32L496XX

config SOC
string
Expand Down Expand Up @@ -35,4 +35,4 @@ config GPIO_STM32_PORTI

endif # GPIO_STM32

endif # SOC_STM32L496XG
endif # SOC_STM32L496XX
4 changes: 2 additions & 2 deletions soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r5xx
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L4R5XI
if SOC_STM32L4R5XX

config SOC
string
Expand All @@ -31,4 +31,4 @@ config GPIO_STM32_PORTG

endif # GPIO_STM32

endif # SOC_STM32L4R5XI
endif # SOC_STM32L4R5XX
28 changes: 14 additions & 14 deletions soc/arm/st_stm32/stm32l4/Kconfig.soc
Expand Up @@ -10,26 +10,26 @@ choice
prompt "STM32L4x MCU Selection"
depends on SOC_SERIES_STM32L4X

config SOC_STM32L476XG
bool "STM32L476XG"
config SOC_STM32L476XX
bool "STM32L476X"

config SOC_STM32L496XG
bool "STM32L496XG"
config SOC_STM32L496XX
bool "STM32L496XX"

config SOC_STM32L432XC
bool "STM32L432XC"
config SOC_STM32L432XX
bool "STM32L432XX"

config SOC_STM32L433XC
bool "STM32L433XC"
config SOC_STM32L433XX
bool "STM32L433XX"

config SOC_STM32L452XC
bool "STM32L452XC"
config SOC_STM32L452XX
bool "STM32L452XX"

config SOC_STM32L475XG
bool "STM32L475XG"
config SOC_STM32L475XX
bool "STM32L475XX"

config SOC_STM32L4R5XI
bool "STM32L4R5XI"
config SOC_STM32L4R5XX
bool "STM32L4R5XX"

config SOC_STM32L471XX
bool "STM32L471XX"
Expand Down

0 comments on commit dbad99e

Please sign in to comment.