Open microbit-carlos opened 1 year ago
We cannot guarantee continuous support for LLVM toolchain, but work has been carried out to be able to compile CODAL with LLVM instead of GCC.
These are the related patches by @Johnn333:
These are some changes needed in codal-microbit-v2 not really mergeable:
One of the main barriers to support clang/LLVM would be libc. Arm's LLVM specifically uses picolib:
The patch to codal-nrf52 can be found here: [Clang Compatibility] Patch to define the .heap section as allocatable.
We cannot guarantee continuous support for LLVM toolchain, but work has been carried out to be able to compile CODAL with LLVM instead of GCC.
These are the related patches by @Johnn333:
These are some changes needed in codal-microbit-v2 not really mergeable:
One of the main barriers to support clang/LLVM would be libc. Arm's LLVM specifically uses picolib: