File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,12 @@ recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).*
81
81
recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
82
82
recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
83
83
84
+ ## Preprocessor
85
+ preproc.includes.flags=-w -x c++ -M -MG -MP
86
+ 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} "{source_file}"
87
+
88
+ preproc.macros.flags=-w -x c++ -E -CC
89
+ 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}"
84
90
85
91
# AVR Uploader/Programmers tools
86
92
# ------------------------------
You can’t perform that action at this time.
0 commit comments