2023-06-22 02:51 PM
Dear ST,
I want to be able to use the clang/llvm toolchain here: https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/tags with STM32CubeIDE.
There was a comment on this community site that you would be looking in to custom toolchain support back in 2020/2021. It is now half way through 2023 and I don't see any info (unless I'm missing it) on how to add custom toolchains to STM32CubeIDE.
I want to use clang/llvm as it is a better compiler/codegen than gcc with regards to code performance, ESPECIALLY for ARM intrinsics support.
How can I add clang/llvm support to STM32CubeIDE?
If it's ugly and complex I don't mind, it'll be well worth it to me since I'm unable to get the performance I was hoping for with the default gcc toolchain.
Thanks.
2023-06-23 03:08 AM - edited 2023-06-23 03:08 AM
While you're waiting for reply from ST: have you seen the toolchain manager of CubeIDE ? Have you tried to fit that clang toolchain into the required tree structure (if it is not already)?
2023-06-23 04:59 AM - edited 2023-06-23 05:00 AM
Hi @Pavel A. thanks for the reply. No, I've not seen any toolchain manager for CubeIDE unless you are referring to this:
Which doesn't support anything other than gcc due to the way the interface is designed to require a specific directory structure that matches the gcc toolchain. I did try and point it to the clang toolchain but it didn't work:
Thanks for the suggestion though.
2024-03-09 06:49 AM
Following