lancaster-university / microbit-v2-samples

CODAL build tools and sample programs for the micro:bit v2.x
MIT License
66 stars 87 forks source link

[Clang compatibility] Added Clang CMake definitions. #76

Open Johnn333 opened 1 year ago

Johnn333 commented 1 year ago

Able to change the compiler used in target.json to CLANG now, this will build using clang (atleast up to the libraries) given some other changes, such as setting the flag--target=arm-none-eabi.

JohnVidler commented 1 year ago

Can you please update this with a note in the toolchain files to say this is currently unsupported.

I'm generally happy to merge this in, but I don't want to end up maintaining two 'official' toolchains :)