mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Adding preprocessing recipes to AVR core
This commit is contained in:
parent
de8390f6db
commit
455d03e460
@ -81,6 +81,12 @@ recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).*
|
|||||||
recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
|
recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
|
||||||
recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
|
recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
|
||||||
|
|
||||||
|
## Preprocessor
|
||||||
|
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} "{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}"
|
||||||
|
|
||||||
# AVR Uploader/Programmers tools
|
# AVR Uploader/Programmers tools
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user