aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFede85 <f.vanzati@gmail.com>2013-07-19 13:23:59 +0200
committerFede85 <f.vanzati@gmail.com>2013-07-19 13:23:59 +0200
commitf84a4ae1cdfbe46e72a1c99175f04eab1a1df046 (patch)
tree760025dd6003f131a927511a6525b3ef78a732f7
parentcfebeec56699b44a6df3bf257545fb1a32acac32 (diff)
parent77678f3af1b667b21ee4bf6f62ed233735d68d1a (diff)
Merge remote-tracking branch 'upstream/ide-1.5.x' into ide-1.5.x-library-to-new-format
-rw-r--r--platform.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform.txt b/platform.txt
index 6bbe078..eaf9469 100644
--- a/platform.txt
+++ b/platform.txt
@@ -40,6 +40,9 @@ recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -mmcu={b
## Compile c++ files
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}"
+## Compile S files
+recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.S.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}"