ESP32 ADC driver


Matias N.
 

Hi,
I noticed that there's no ADC driver for ESP32 yet and thus I decided to create a very simple internal driver
since I need ADC support on my project. I'm currently doing something very similar to espressif's ADC driver,
invoking HAL functions. However, I'm not getting good raw ADC readings (getting values between 4096 to 55000).

I'm wondering if there's some hidden difficulty in getting ESP32 ADC working in Zephyr, which maybe is
the reason why there's no official driver yet. If there's some effort planned/in-progress it would be nice to
know about any issues encountered.

Best,
Matias