platform-ststm32
platform-ststm32 copied to clipboard
[framework-spl] arm-none-eabi-as: unrecognized option '-x' (fix included)
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
Is it fixed? I've stumbled upon this issue as well. Interestingly, it happens only on linux.
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.