Compiler optimization flag passing-IDE to Visual Studio 2013 Community (freeware)

Status
Not open for further replies.

stevech

Well-known member
What do I need to add and where it goes, to give a value to the optimizer flags that aren't defined, as shown below

Sketchbook: file:///C:/Users/steve/Documents/Arduino
Core Include Paths
Include Path 'c:\arduino\hardware\teensy\avr\cores\teensy3'
"c:\arduino/hardware/tools/arm/bin/arm-none-eabi-g++" -c {build.flags.optimize} -g -Wall -ffunction-sections -fdata-sections -MMD -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m0plus -D__MKL26Z64__ -DTEENSYDUINO=121 -DARDUINO=160 -DF_CPU={build.fcpu} -DARDUINO_ARCH_AVR -D{build.usbtype} -DLAYOUT_{build.keylayout} -I"c:\arduino\hardware\teensy\avr\cores\teensy3" "C:\Users\steve\AppData\Local\V.Micro\Arduino\Builds\Teensy_helloWorld\teensyLC\Teensy_helloWorld.cpp" -o "C:\Users\steve\AppData\Local\V.Micro\Arduino\Builds\Teensy_helloWorld\teensyLC\Teensy_helloWorld.cpp.o" -DF_CPU=48000000 -DUSB_SERIAL_HID -DLAYOUT_US_ENGLISH
arm-none-eabi-g++*:error: {build.flags.optimize}: No such file or directory
Error compiling
 
Status
Not open for further replies.
Back
Top