Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 33c9558

Browse files
committed
AVR recipe.ar.pattern backwards compatibility
Define archive_file_path in Arduino AVR Boards platform.txt to provide backwards compatibility with IDE versions previous to 1.6.6. The archive_file_path value set in platform.txt is overridden in IDE 1.6.6+. This produces avr-ar commands identical to the previous behavior.
1 parent 7b2f6fc commit 33c9558

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎platform.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -m
6262
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} {compiler.S.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}"
6363

6464
## Create archives
65+
archive_file_path={build.path}/{archive_file}
6566
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
6667

6768
## Combine gc-sections, archives, and objects

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /