Skip to content
Permalink
Browse files

soc: stm32: STM32L4: Remove useless package digit

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 dbad99ec924075928e070ab44b9d0c45e632ed39
@@ -7,4 +7,4 @@

config BOARD_DISCO_L475_IOT1
bool "Discovery IoT L475 Development Board"
depends on SOC_STM32L475XG
depends on SOC_STM32L475XX
@@ -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

@@ -8,4 +8,4 @@

config BOARD_NUCLEO_L432KC
bool "Nucleo L432KC Development Board"
depends on SOC_STM32L432XC
depends on SOC_STM32L432XX
@@ -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
@@ -8,4 +8,4 @@

config BOARD_NUCLEO_L476RG
bool "Nucleo L476RG Development Board"
depends on SOC_STM32L476XG
depends on SOC_STM32L476XX
@@ -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
@@ -7,4 +7,4 @@

config BOARD_NUCLEO_L496ZG
bool "Nucleo L496ZG Development Board"
depends on SOC_STM32L496XG
depends on SOC_STM32L496XX
@@ -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
@@ -7,4 +7,4 @@

config BOARD_NUCLEO_L4R5ZI
bool "Nucleo L4R5ZI Development Board"
depends on SOC_STM32L4R5XI
depends on SOC_STM32L4R5XX
@@ -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

@@ -7,4 +7,4 @@

config BOARD_STM32L476G_DISCO
bool "STM32L476G Discovery Development Board"
depends on SOC_STM32L476XG
depends on SOC_STM32L476XX
@@ -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
@@ -8,4 +8,4 @@

config BOARD_STM32L496G_DISCO
bool "STM32L496G Discovery Development Board"
depends on SOC_STM32L496XG
depends on SOC_STM32L496XX
@@ -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
@@ -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
@@ -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
@@ -6,7 +6,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L432XC
if SOC_STM32L432XX

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

endif # GPIO_STM32

endif # SOC_STM32L432XC
endif # SOC_STM32L432XX
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L433XC
if SOC_STM32L433XX

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

endif # GPIO_STM32

endif # SOC_STM32L433XC
endif # SOC_STM32L433XX
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L452XC
if SOC_STM32L452XX

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

endif # GPIO_STM32

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

if SOC_STM32L475XG
if SOC_STM32L475XX

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

endif # GPIO_STM32

endif # SOC_STM32L475XG
endif # SOC_STM32L475XX
@@ -6,7 +6,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L476XG
if SOC_STM32L476XX

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

endif # GPIO_STM32

endif # SOC_STM32L476XG
endif # SOC_STM32L476XX
@@ -6,7 +6,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L496XG
if SOC_STM32L496XX

config SOC
string
@@ -35,4 +35,4 @@ config GPIO_STM32_PORTI

endif # GPIO_STM32

endif # SOC_STM32L496XG
endif # SOC_STM32L496XX
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#

if SOC_STM32L4R5XI
if SOC_STM32L4R5XX

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

endif # GPIO_STM32

endif # SOC_STM32L4R5XI
endif # SOC_STM32L4R5XX
@@ -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"

0 comments on commit dbad99e

Please sign in to comment.
You can’t perform that action at this time.