I tried with v1.15.1 and v1.15.0 and got the same issue. It seems to be a generation error from cubeMX, these wrong code lines are generated for a L4 series (my case) but are only compatible with L4+ series
Here is what I done:Start new stm32 project > Search for STM32L496ZG and select the STM32L496ZGTx reference > Name my project test02 and use default location (under user folder), C++, Executable, STM32Cube > Firmware Package: STM32Cube FW_L4 v1.15.1,...