From 92bedd86b8a3b6c2fcdacd4b625193de48d9a69d Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Mon, 15 Jun 2015 15:30:37 +0200 Subject: Compiler: cores files get compiled under "core", libraries under "libraries". Fixes #2997 --- platform.keys.rewrite.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platform.keys.rewrite.txt b/platform.keys.rewrite.txt index e14de1e..bc6bb5e 100644 --- a/platform.keys.rewrite.txt +++ b/platform.keys.rewrite.txt @@ -15,3 +15,6 @@ new.3.compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/ old.4.tools.bossac.path={runtime.ide.path}/hardware/tools new.4.tools.bossac.path={runtime.tools.bossac.path} +old.5.recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mcpu={build.mcu} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" "-L{build.path}" -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "{build.path}/syscalls_sam3.c.o" {object_files} "{build.variant.path}/{build.variant_system_lib}" "{build.path}/{archive_file}" -Wl,--end-group -lm -gcc +new.5.recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mcpu={build.mcu} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" "-L{build.path}" -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "{build.path}/core/syscalls_sam3.c.o" {object_files} "{build.variant.path}/{build.variant_system_lib}" "{build.path}/{archive_file}" -Wl,--end-group -lm -gcc + -- cgit v1.2.3-18-g5258