Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic disable/no optimization not working? (Read 574 times)
kraftboy
Newbies
*
Offline


Posts: 1
Joined: Nov 22nd, 2017
disable/no optimization not working?
Dec 24th, 2020 at 8:12pm
Print Post  
Hi,

In my project properties, I've got "Disable Optimization Core/Libraries/Project" all set to true, and in vmicro > debugger > "compiler optmization" is set to "no optmization"

And yet my compiler command lines are all still passing -Os and -Og .. 

-Os seems to come from platform.txt and -Og I presume is vmicro trying to set for default optimization. Changes to either the optimziation settings in the project properties as mentionned above or the setting in vmicro > debugger > compiler optimization seem to have no effect as far as I can tell.

What gives? Using 2020.910.23. Verbose build output/platform info attached.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint