With the newest CubeMx version 6.11.x, when selecting oversampling, a ratio is being set, and this ratio is a define, which are in "ADC_VER_V5_V90" that is not being set when a new project is created. #if defined(ADC_VER_V5_V90)#define ADC3_OVERSAMPL...