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

[framework-spl] arm-none-eabi-as: unrecognized option '-x' (fix included) #332

Open
schwert opened this issue Jan 1, 2020 · 2 comments
Open

Comments

@schwert
Copy link

schwert commented Jan 1, 2020

Attempting to build any SPL project for F0 fails with the error:
arm-none-eabi-as: unrecognized option '-x'
This appears to be caused by framework-spl/stm32/cmsis/variants/stm32f0/startup_stm32f0xx.s ending with a lowercase s.
As a result it is sent to arm-none-eabi-as instead of arm-none-eabi-gcc.

Replacing the extension with an uppercase S fixes the problem

@schwert schwert changed the title [framework-spl] arm-none-eabi-as: unrecognized option '-x' [framework-spl] arm-none-eabi-as: unrecognized option '-x' (fix included) Jan 22, 2020
@positron96
Copy link

Is it fixed? I've stumbled upon this issue as well. Interestingly, it happens only on linux.

@crabdancing
Copy link

Is it fixed? I've stumbled upon this issue as well. Interestingly, it happens only on linux.

It only happens on Linux because Linux has a case-sensitive filesystem.

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