Question
How do set optimization that I want in the Makefile for a makefile project using STM32CubeMX?
Every time a generate the code for a makefile project, STM32CubeMX changes the optimization level to -O2. I want to be able to set it as I wish, in my current case, to -Og. How do I tell STM32CubeMX to set the optimization ion the Makefile to -Og?