CubeMX generates wrong configuration for STM32L071
Hi everyone,
I think STM32CubeMX is generating an incorrect configuration for STM32L071.
In CubeMX → System Core → SYS → System power supply,
I selected Power Regulator = SMPS (instead of LDO) and generated the project.
After code generation, I get build errors because CubeMX inserts code that does not exist for this device / HAL package:
In stm32l0xx_hal_msp.c, I see references like: HAL_PWREx_ConfigSupply(...) PWR_SMPS_SUPPLY But for STM32L0 / my CubeL0 HAL, these are not defined
My version is :
