platform-ststm32 icon indicating copy to clipboard operation
platform-ststm32 copied to clipboard

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

Open schwert opened this issue 5 years ago • 2 comments

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 avatar Jan 01 '20 02:01 schwert

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

positron96 avatar Dec 11 '20 10:12 positron96

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.

crabdancing avatar Mar 08 '22 21:03 crabdancing