aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Fissore <f.fissore@arduino.cc>2015-11-18 09:34:33 +0100
committerFederico Fissore <f.fissore@arduino.cc>2015-11-18 09:34:33 +0100
commit40b8734f67fad2b1314c127879dc5cebaaa3a3df (patch)
treef765eb3a75f0d1f6f67a292d9af23cfe5ae491b2
parent7cc6dd2cf525325d7834d5c1c54397b925a72c70 (diff)
Modified AVR preproc recipe to match the one used by arduino-builder
-rw-r--r--platform.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform.txt b/platform.txt
index 494efee..d7c9b0b 100644
--- a/platform.txt
+++ b/platform.txt
@@ -86,7 +86,7 @@ preproc.includes.flags=-w -x c++ -M -MG -MP
recipe.preproc.includes="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.includes.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}"
preproc.macros.flags=-w -x c++ -E -CC
-recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}"
+recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}"
# AVR Uploader/Programmers tools
# ------------------------------