You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2019/12/24 21:53:26 UTC

[incubator-nuttx] branch master updated: 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_STM32L432 [...]

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 1db6f92  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 wit [...]
1db6f92 is described below

commit 1db6f929a2e152129024ff6cb9055270b30014ac
Author: Pieter du Preez <pd...@gmail.com>
AuthorDate: Tue Dec 24 15:51:28 2019 -0600

    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_STM3 [...]
---
 arch/arm/src/stm32l4/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/src/stm32l4/Kconfig b/arch/arm/src/stm32l4/Kconfig
index 56cf44b..d795083 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