stm: Improved ADC module; add BOARD_NAME config value.