Skip to content
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

libbgcommon.a: file format not recognized; treating as linker script #15

Open
tarkelc opened this issue Jul 12, 2024 · 2 comments
Open

Comments

@tarkelc
Copy link

tarkelc commented Jul 12, 2024

I can not compile example "bt_soc_empty", error as follow:
protocol/bluetooth/bgcommon/lib/build/gcc/cortex-m33/bgcommon/release/libbgcommon.a: file format not recognized; treating as linker script
protocol/bluetooth/bgcommon/lib/build/gcc/cortex-m33/bgcommon/release/libbgcommon.a:1: syntax error

tool chain is GNU ARM Toolchain(v10.3.2021.10) - 10.3.2021.
IDE:simplicity studio

How can I solve this compile error?

@hlj6040
Copy link

hlj6040 commented Aug 23, 2024

libbgcommon.a: file format not recognized; treating as linker script, reinstall sdk:https://github.com/SiliconLabs/simplicity_sdk/releases

@delayzzz
Copy link

delayzzz commented Oct 25, 2024

if i download .zip sdk file, and unzip and add sdk in studio v5, error emerge while building (protocol/bluetooth/bgcommon/lib/build/gcc/cortex-m33/bgcommon/release/libbgcommon.a: file format not recognized; treating as linker script
protocol/bluetooth/bgcommon/lib/build/gcc/cortex-m33/bgcommon/release/libbgcommon.a:1: syntax error)

i may got the solution, install git and git-lfs, then using "git lfs clone https: ..." to download the simplicity sdk repo(you may need to set the git proxy port to align system global proxy), finally add sdk in studio v5 preference window, and it work. (build without error)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants