arch/arm/src/stm32l4/Kconfig: Fixed conditional config for STM32L4_STM32L432XX and STM32L4_STM32L442XX archs. The wrong spelling of STM32L4_STM32L432XX and STM32L4_STM32L442XX, caused the following three peripherals to be available although they are not supported by these architectures: USART3, SPI2, and I2C1. These were available for selection in menuconfig and caused compiler errors when selected. This patch replaces the STM32L4_L432XX and STM32L4_L442XX items with STM32L4_STM32L432XX and STM32L4_STM32L442XX.
This commit is contained in:
parent
eba8eec74b
commit
1db6f929a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user