Better Firmware with LLVM/Clang | Interrupt

Thanks for the post, really interesting. I gave this a try (had to make some tweaks to my CMake builds first) but can’t seem to get it to work properly.

I get a bunch of errors similar to this:

In file included from /Users/kamil/xxxxx/../Drivers/CMSIS/CMSIS/Include/cmsis_compiler.h:48:
/Users/kamil/xxx/../Drivers/CMSIS/CMSIS/Include/cmsis_gcc.h:868:19: error: invalid instruction mnemonic 'isb'
  __ASM volatile ("isb 0xF":::"memory");
                  ^
<inline asm>:1:2: note: instantiated into assembly here
        isb 0xF
        ^~~

In any parts of the code that are trying to compile the hardware drivers (from ST in this case)