This brings in the new ADC api for STM32 parts. Update to new standardized ADC apis. Drops pointless channel definitions, uses common names for common functions. No functional changes. Based on work in: https://github.com/libopencm3/libopencm3-examples/pull/130
README
It's intended for the ST STM32F0DISCOVERY eval board. Measures voltage on the ADC_IN1 input, and prints it to the serial port.
Board connections
| Port | Function | Description |
|---|---|---|
PA1 |
(ADC_IN1) |
Analog input |
PA9 |
(USART1) |
TTL serial output (38400,8,N,1) |