ARMmbed / mbed-os

Arm Mbed OS is a platform operating system designed for the internet of things
https://mbed.com
Other
4.66k stars 2.97k forks source link

Silicon Labs EFM32 - linker fail on Thunderboard Sense 2 when compiling from PlatformIO. #14958

Open giedrius-stanevicius opened 3 years ago

giedrius-stanevicius commented 3 years ago

Linker fails with error: "cannot find -lrail_efr32xg12_release.ar"

Original issue is reported at https://github.com/platformio/platform-siliconlabsefm32/issues/4

I suspect that files rail_efr32xg12_release.ar and rail_efr32xg12_release.a should be placed in separate directories according supported toolchains.

Target(s) affected by this defect ?

TB_SENSE_12

Toolchain(s) (name and version) displaying this defect ?

GCC_ARM

What version of Mbed-os are you using (tag or sha) ?

mbed-os-6.9.0

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

gccarmnoneeabi 1.90301.200702

How is this defect reproduced ?

See https://github.com/platformio/platform-siliconlabsefm32/issues/4

mbedmain commented 3 years ago

@giedrius-stanevicius thank you for raising this issue.Please take a look at the following comments:

Could you add some more detail to the description? A good description should be at least 25 words. It would help if you could also specify the versions of any tools you are using?

NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'. This indicates to us that at least all the fields have been considered. Please update the issue header with the missing information.

0xc0170 commented 3 years ago

@ARMmbed/team-silabs Please review