Skip to main content
pgregson1
Associate III
August 16, 2019
Question

How do set optimization that I want in the Makefile for a makefile project using STM32CubeMX?

  • August 16, 2019
  • 0 replies
  • 572 views

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?

This topic has been closed for replies.