Skip to content

Commit 9e65ed1

Browse files
authored
1 parent 7a92f89 commit 9e65ed1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: platform.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ compiler.cpp.extra_flags=
6060
compiler.ar.extra_flags=
6161
compiler.objcopy.eep.extra_flags=
6262
compiler.elf2hex.extra_flags=
63+
compiler.libraries.ldflags=
6364

6465
# Build Dir: {build.path}
6566
# Sketch Dir: {build.source.path}
@@ -81,7 +82,7 @@ recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.cpreprocessor.fla
8182
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}"
8283

8384
## Combine gc-sections, archives, and objects
84-
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -Wl,--start-group {object_files} "{archive_file_path}" {compiler.c.elf.libs} -Wl,--end-group -Wl,-EL -o "{build.path}/{build.project_name}.elf"
85+
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} -Wl,--start-group {object_files} "{archive_file_path}" {compiler.c.elf.libs} {compiler.libraries.ldflags} -Wl,--end-group -Wl,-EL -o "{build.path}/{build.project_name}.elf"
8586

8687
## Create eeprom
8788
recipe.objcopy.eep.pattern={tools.gen_esp32part.cmd} -q "{build.path}/partitions.csv" "{build.path}/{build.project_name}.partitions.bin"

0 commit comments

Comments
 (0)