diff --git a/AZ3166/src/platform.txt b/AZ3166/src/platform.txt index a6832da9..2ebcac59 100644 --- a/AZ3166/src/platform.txt +++ b/AZ3166/src/platform.txt @@ -72,7 +72,7 @@ recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -mcpu={b 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}" -mcpu={build.mcu} -mthumb {compiler.c.elf.flags} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" "-Wl,--gc-sections" {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" "-L{build.path}" "-L{build.system.path}" "-L{build.system.path}/az3166-driver" "-L{build.system.path}/az3166-driver/libwlan/TARGET_EMW1062" -Wl,--wrap,_malloc_r -Wl,--wrap,_free_r -Wl,--wrap,_realloc_r -Wl,--wrap,_calloc_r -Wl,--start-group {object_files} "{build.path}/{archive_file}" -Wl,--end-group -lwlan -lstsafe -ldevkit-sdk-core-lib -lm -lstdc++ -gcc --specs=nano.specs --specs=nosys.specs -u _printf_float +recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" -mcpu={build.mcu} -mthumb {compiler.c.elf.flags} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" "-Wl,--gc-sections" {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" "-L{build.path}" "-L{build.system.path}" "-L{build.system.path}/az3166-driver" "-L{build.system.path}/az3166-driver/libwlan/TARGET_EMW1062" -Wl,--wrap,_malloc_r -Wl,--wrap,_free_r -Wl,--wrap,_realloc_r -Wl,--wrap,_calloc_r -Wl,--start-group {object_files} "{build.path}/{archive_file}" -Wl,--end-group -lwlan -lstsafe -ldevkit-sdk-core-lib -lm -lstdc++ --specs=nano.specs --specs=nosys.specs -u _printf_float ## Create output (.bin file) recipe.objcopy.bin.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"