Skip to content

Commit 58761d9

Browse files
committed
Merge branch 'archive_file_path-backwards-compatibility' of https://github.com/sandeepmistry/ArduinoCore-samd
2 parents 2e9e453 + e1b164f commit 58761d9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ SAMD CORE 1.6.6
44
* Added analogInputToDigitalPin macro
55
* Fixed NUM_DIGITAL_PINS for Zero Board.
66
* On-board RX-TX LEDs now blinks when there is activity on the native USB port
7+
* Fixed platform.txt, the core now compiles again with Arduino IDE <=1.6.5. Thanks @per1234
78

89
SAMD CORE 1.6.5 2016.04.02
910

platform.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -D
8686
recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {compiler.arm.cmsis.path} {includes} "{source_file}" -o "{object_file}"
8787

8888
## Create archives
89+
# archive_file_path is needed for backwards compatibility with IDE 1.6.5 or older, IDE 1.6.6 or newer overrides this value
90+
archive_file_path={build.path}/{archive_file}
8991
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
9092

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

0 commit comments

Comments
 (0)