From bca2493a5c68ba5c0a2c6963b462d917794bfb2d Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Tue, 28 Apr 2020 17:15:18 +0200 Subject: Added precompiled lib support --- platform.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platform.txt') diff --git a/platform.txt b/platform.txt index 608ad29..8d38363 100644 --- a/platform.txt +++ b/platform.txt @@ -33,6 +33,7 @@ compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc, compiler.elf2hex.flags=-O ihex -R .eeprom compiler.elf2hex.cmd=avr-objcopy compiler.ldflags= +compiler.libraries.ldflags= compiler.size.cmd=avr-size # This can be overridden in boards.txt @@ -65,7 +66,7 @@ archive_file_path={build.path}/{archive_file} recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}" ## Combine gc-sections, archives, and objects -recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" {object_files} "{build.path}/{archive_file}" "-L{build.path}" -lm +recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} {compiler.c.elf.extra_flags} {compiler.ldflags} -o "{build.path}/{build.project_name}.elf" {object_files} {compiler.libraries.ldflags} "{build.path}/{archive_file}" "-L{build.path}" -lm ## Create output files (.eep and .hex) recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.objcopy.eep.flags} {compiler.objcopy.eep.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.eep" -- cgit v1.2.3-18-g5258 From e4611a150aecaaadd74fdf08f4c3cf9319da1084 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Thu, 11 Jun 2020 15:42:54 +0200 Subject: Publish 1.8.3 --- platform.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform.txt') diff --git a/platform.txt b/platform.txt index 8d38363..8f46fbc 100644 --- a/platform.txt +++ b/platform.txt @@ -6,7 +6,7 @@ # https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification name=Arduino AVR Boards -version=1.8.2 +version=1.8.3 # AVR compile variables # --------------------- -- cgit v1.2.3-18-g5258