Skip to content

Commit 5097212

Browse files
committed
Add comment for archive_file_path
1 parent 6241459 commit 5097212

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hardware/arduino/avr/platform.txt

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -m
6060
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}"
6161

6262
## Create archives
63+
# archive_file_path is needed for backwards compatibility with IDE 1.6.5 or older, IDE 1.6.6 or newer overrides this value
6364
archive_file_path={build.path}/{archive_file}
6465
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
6566

0 commit comments

Comments
 (0)