CUBEMX 6.15 with Keil Full Assert bug
Same problem here (Cube 6.15.0, Keil uVision
Although HAL is selected,

Cube installed both HAL and LL files for ADC and some other peripherals by mistake.

which results in a compile error

../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.c(25): error: 'stm32_assert.h' file not foundTo get rid of this, I excluded the unnecessary file in the project as shown above and the error is gone.
Edit: Moved from CUBE MX with Keil 5.39 Full Assert bug in stm32l0xx DFP
