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 Aditional Compiler Switches (Read 1495 times)
Frank B
Newbies
*
Offline


Posts: 1
Joined: Feb 27th, 2017
Aditional Compiler Switches
Feb 27th, 2017 at 8:24pm
Print Post  
How can i add compiler-switches to the GCC commandline ?
I'm using a Teensy 3.6
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Aditional Compiler Switches
Reply #1 - Feb 27th, 2017 at 8:37pm
Print Post  
Hi,

Just in case you don't know. If you want to add any of the standard teensy options you can do so using the vMicro menu.

If you have custom options then you can use the various flags/switches in the Visual Micro project properties

The properties can be opened from the vMicro menu or by right clicking the project name in the solution explorer or various other places. note: The visual micro project properties show as a dockable tool window, the vs project properties (pages) as a dialog.

Project-Properties-Reference.html

In the properties list is an extraFlags option at Global and Configuration levels. Configuration being the Release/Debug combo on the tool bar, global means always use in build.

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint