2020-08-03 01:49 PM
I have been using CubeMX to generate HAL libraries and made use of simple makefile option. I realized that makefile is based on GCC and what should I do to make use of clang instead of GCC and compile the project?
2020-08-03 07:50 PM
CubeMX doesn't have this option. It's something you'd have to change yourself within the project. Add the path to the Clang binaries so the compiler sees them before it sees the GCC ones. Might have to tweak a few more things since some syntax is compiler specific.