diff --git a/arch/arm/src/stm32l4/Kconfig b/arch/arm/src/stm32l4/Kconfig index 56cf44bce0..d79508364d 100644 --- a/arch/arm/src/stm32l4/Kconfig +++ b/arch/arm/src/stm32l4/Kconfig @@ -477,7 +477,7 @@ config STM32L4_STM32L4X3 select ARCH_HAVE_FPU select STM32L4_HAVE_USART1 select STM32L4_HAVE_USART2 - select STM32L4_HAVE_USART3 if !(STM32L4_L432XX || STM32L4_L442XX) + select STM32L4_HAVE_USART3 if !(STM32L4_STM32L432XX || STM32L4_STM32L442XX) select STM32L4_HAVE_LPTIM1 select STM32L4_HAVE_LPTIM2 select STM32L4_HAVE_COMP @@ -1385,7 +1385,7 @@ config STM32L4_LCD config STM32L4_SPI2 bool "SPI2" default n - depends on !(STM32L4_L432XX || STM32L4_L442XX) + depends on !(STM32L4_STM32L432XX || STM32L4_STM32L442XX) select SPI select STM32L4_SPI @@ -1431,7 +1431,7 @@ config STM32L4_I2C1 config STM32L4_I2C2 bool "I2C2" default n - depends on !(STM32L4_L432XX || STM32L4_L442XX) + depends on !(STM32L4_STM32L432XX || STM32L4_STM32L442XX) select STM32L4_I2C config STM32L4_I2C3