This is old problem, but it stays for current trunk. The definition of the structure "default_config" in file ..\os\hal\ports\STM32\LLD\ADCv3\hal_adc_lld.c not compatible with KEIL:
Code: Select all
...
107 static const ADCConfig default_config = {
108 difsel: 0
109 };
...
It must be or ".defsel = 0" or simple "0".