@drewhanshaw wrote:Hello,I recently noticed an issue with the CMake project generated by CubeMX targeting the STM32G4CETx MCU.The generated gcc-arm-none-eabi.cmake sets the optimization flags using `CMAKE_C_FLAGS`, which are then overwritten by the d...