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

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

commit 36362501673e1c9be31605caac342ad4e3741b6f
Author: Jakob Jungreuthmayer <[email protected]>
AuthorDate: Mon Nov 2 14:59:37 2026 +0100

    arch/arm/stm32: Allow the M0 ADC driver on STM32F0
    
    stm32_adc_m0_v1.c refused to build for STM32F0 with "#error Not
    tested".  Tested on an STM32F072VB: seven regular channels converted
    by DMA, with a potentiometer on one of them read across its whole
    range (0 to 4095).
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Jakob Jungreuthmayer 
<[email protected]>
---
 arch/arm/src/common/stm32/stm32_adc_m0_v1.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/src/common/stm32/stm32_adc_m0_v1.c 
b/arch/arm/src/common/stm32/stm32_adc_m0_v1.c
index 7c6088f31cd..9e7e2594e12 100644
--- a/arch/arm/src/common/stm32/stm32_adc_m0_v1.c
+++ b/arch/arm/src/common/stm32/stm32_adc_m0_v1.c
@@ -60,10 +60,6 @@
 
 #if defined(CONFIG_STM32_ADC1)
 
-#if defined(CONFIG_STM32_STM32F0)
-#  error Not tested
-#endif
-
 /****************************************************************************
  * Pre-processor Definitions
  ****************************************************************************/

Reply via email to