diff options
author | Cristian Maglie <c.maglie@bug.st> | 2013-03-18 13:14:30 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-03-18 13:14:30 +0100 |
commit | 341f6b8ffb8aae80a7f0878924caf39c52a72881 (patch) | |
tree | 3237b6b754696c89a9437e62fb76f2fb9ee64522 /platform.txt | |
parent | 8d09b16828d7844c8838c8848f23b15a487764f1 (diff) |
Changed the way ARDUINO is defined inside platform.txt
Diffstat (limited to 'platform.txt')
-rw-r--r-- | platform.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform.txt b/platform.txt index 53c3162..f2f80f1 100644 --- a/platform.txt +++ b/platform.txt @@ -27,10 +27,10 @@ build.extra_flags= # -------------------- ## Compile c files -recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -D{software}={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" +recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" ## Compile c++ files -recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -D{software}={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" +recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" ## Create archives recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}" |