Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLVM compatibility #374

Open
microbit-carlos opened this issue Sep 12, 2023 · 1 comment
Open

LLVM compatibility #374

microbit-carlos opened this issue Sep 12, 2023 · 1 comment

Comments

@microbit-carlos
Copy link
Collaborator

microbit-carlos commented Sep 12, 2023

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:

@Johnn333
Copy link

The patch to codal-nrf52 can be found here: [Clang Compatibility] Patch to define the .heap section as allocatable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants