aboutsummaryrefslogtreecommitdiff
path: root/platform.txt
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-07-12 21:09:45 +0200
committerCristian Maglie <c.maglie@bug.st>2013-07-12 21:09:45 +0200
commite5653931433bb44884440a608c44c6ce5048c998 (patch)
tree94702363b4b936bbb54cfae1f624f238d95bbb3f /platform.txt
parent620fe0a3ac6ed9ecd63a9e0cdd268b1d0b8e7236 (diff)
assembly compile recipe is missing (C. A. Church)
Fixes #1457
Diffstat (limited to 'platform.txt')
-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}"