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

clang support problem #945

Open
jinxinyang opened this issue Oct 24, 2024 · 1 comment
Open

clang support problem #945

jinxinyang opened this issue Oct 24, 2024 · 1 comment

Comments

@jinxinyang
Copy link

I want to use your ceedling to carry out the unit test of the driver module of our embedded project, but we use keil's clang for compilation, and the routines here all use gcc. May I ask whether clang is supported now?
Here are our compile parameters

-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -c
-fno-rtti -Werror -funsigned-char -fshort-enums -fshort-wchar

image
May I ask how to write this configuration

@mvandervoord
Copy link
Member

Yes, clang is fully supported (and always has been. We actually supported clang before gcc).

All tools can be customized in the project.yml file. You'll want to specify your arguments for the specific tool call, etc. You can see examples of the Ceedling tool definitions section of the CeedlingPacket.md documentation.

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