aboutsummaryrefslogtreecommitdiff
path: root/platform.txt
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-04-17 17:53:03 +0200
committerCristian Maglie <c.maglie@bug.st>2013-04-17 17:53:03 +0200
commit890a3311ed1fee5344190a575bcd4ca213baff79 (patch)
tree94f8927835eecb919cf2864d454e05d53d25e2bc /platform.txt
parent04f3289d0983dcd72343be39ac333026227fac83 (diff)
parentfd662d8639a7193efbf8267b58f24ac563c4a4e6 (diff)
Updated libaries and core handling.
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification Merge branch 'lib-1.5-cores' into ide-1.5.x
Diffstat (limited to 'platform.txt')
-rw-r--r--platform.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/platform.txt b/platform.txt
index a6cd314..5fc2682 100644
--- a/platform.txt
+++ b/platform.txt
@@ -1,8 +1,16 @@
+# Arduino AVR Core and platform.
+# ------------------------------
+
+# For more info:
+# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification
+
+name=Arduino AVR Boards
+version=1.5.3
+
# AVR compile variables
# ---------------------
-name=Arduino AVR Boards
# Default "compiler.path" is correct, change only if you want to overidde the initial value
#compiler.path={ide.path}/tools/avr/bin/..
compiler.c.cmd=avr-gcc
@@ -27,10 +35,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} -D{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} -D{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}"
@@ -50,7 +58,7 @@ recipe.size.regex=Total\s+([0-9]+).*
# AVR Uploader/Programmers tools
-# -------------------
+# ------------------------------
tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude
tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf