aboutsummaryrefslogtreecommitdiff
path: root/platform.txt
diff options
context:
space:
mode:
authorDavid Madison <dmadison@users.noreply.github.com>2020-07-23 06:38:35 -0400
committerDavid Madison <dmadison@users.noreply.github.com>2020-07-23 06:38:35 -0400
commit41870576b451062921f9e35be411efa56be37ea1 (patch)
tree4a0f8da4185436714fccb33db8b592db8a8b83b2 /platform.txt
parent924299c159b619852d4c5eb1fc106db8a459d661 (diff)
parent3055c1efa3c6980c864f661e6c8cc5d5ac773af4 (diff)
Merge tag '1.8.3' into upstream-updates
Release 1.8.3
Diffstat (limited to 'platform.txt')
-rw-r--r--platform.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform.txt b/platform.txt
index 408547c..24e8841 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"