Hi Francisco,
We did it a while ago, it's quite easy.
https://github.com/unwireddevices/RIOT/blob/master/cpu/stm32l1/periph/adc.c
https://github.com/unwireddevices/RIOT/blob/master/cpu/stm32l1/include/perip
h_cpu.h
1) In board.h configure internal ADC channels with GPIO_UNDEF pin
Hi,
I have been working with the STM32L151RC uc and would like to read two of
it's internal ADC channels. The problem is RIOT present implementation por
the ADC only takes into account external ADC lines, witch means it require
a GPIO assignment. What would be the best way of implementing this? a