Question
STM32G0 LL Driver Cube Code Generation Bug (For Internal ADC)
STM32CubeIDE Version: Version: 1.3.0
STM32Cube Version: Version: 5.6.0-RC6 Build: 20200218-1639 (UTC)
Fimrware Package: STM32Cube FW_G0 V1.3.0
When using LL Driver (with VREFINT sampling)
It generates code as follows:
LL_ADC_SetCommonPathInternalCh(__LL_ADC_COMMON_INSTANCE(ADC1), LL_ADC_CHANNEL_VREFINT
);Which should be
LL_ADC_SetCommonPathInternalCh(__LL_ADC_COMMON_INSTANCE(ADC1), LL_ADC_PATH_INTERNAL_VREFINT);