zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.44k stars 6.4k forks source link

adc: stm32g4: Fix ADC instances naming #24718

Closed erwango closed 4 years ago

erwango commented 4 years ago

Describe the bug In dts/arm/st/g4/stm32g4.dtsi, ADC instances were numbered starting from 0. This does not match STM32 numbering scheme, there is no ADC_0 instance in ref manual, firt one is ADC_1.

Expected behavior ADC instances description in device tree should respect ref manual naming convension.

erwango commented 4 years ago

^^@ABOSTM