Skip to content

Wrong platform.txt for 'Arduino SAM Core and platform' #3821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pierrotm777 opened this issue Sep 19, 2015 · 4 comments
Closed

Wrong platform.txt for 'Arduino SAM Core and platform' #3821

pierrotm777 opened this issue Sep 19, 2015 · 4 comments
Assignees
Labels
Architecture: SAM Applies only to the SAM microcontrollers (Due) Component: Core Related to the code for the standard Arduino API

Comments

@pierrotm777
Copy link

The recipe.c.combine.pattern need to be updated (warning IDE) ...
old:
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:
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

Thanks

@ffissore
Copy link
Contributor

I think this is fixed on github, but SAM core has not been released since...? @cmaglie ?

@cmaglie cmaglie added Component: Core Related to the code for the standard Arduino API Architecture: SAM Applies only to the SAM microcontrollers (Due) labels Sep 22, 2015
@PaoloP74
Copy link
Contributor

Is still present.

Warning: platform.txt from core 'SAMD Hourly Build 24 (2015-09-29 15:45)' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.

@rogerclarkmelbourne
Copy link

This is still present in the latest hourly / nightly build.

Should I ignore the warnings

@sandeepmistry
Copy link
Contributor

This has been fixed in 02bb3b9 and released in v1.6.6 of the SAM core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture: SAM Applies only to the SAM microcontrollers (Due) Component: Core Related to the code for the standard Arduino API
Projects
None yet
Development

No branches or pull requests

6 participants