Remove the troublesome avr/dev/delay.* files. Add PLATFORM_NAME and combine the confusing *_REVISION defines into a single PLATFORM_TYPE
The conversion was made from an incorrect source when the GPIO pin was not PB7. Added functions and macros used to select the correct ADC channel.
MBXXX is a fake platform that actually include all the platforms based on STM32W108 microcontroller. Detection of the board is made at runtime, at the expense of code size.