From 3220a59a3e9813fbc85de6eba613d21619456dba Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Mon, 15 May 2023 08:54:19 +0200 Subject: [PATCH] arch/stm32: STM32_FOC_G4_ADCCHAN0_WORKAROUND depend on STM32G4 --- arch/arm/src/stm32/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index da4f365c09..eda16b617d 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -12208,6 +12208,7 @@ config STM32_FOC_USE_ADC4 config STM32_FOC_G4_ADCCHAN0_WORKAROUND bool "FOC G4 ADC channel 0 unwanted conversion workaround" default n + depends on STM32_STM32G4XXX ---help--- Some STM32G4 family chips have an issue that causes unwanted ADC channel 0 conversion when a regular conversion is interrupted by an injected conversion.