You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up Ceedling in a way that, instead of hardcoding a bunch of include paths and defines in the project.yml file, I take them from the compile_commands.json file instead.
I haven't found a way of telling Ceedling to use it as an input, so instead I'm trying to get the defines and include paths myself, this is how I do it:
Hi, @bo-dani. There's no support in any version of Ceedling right now that allows you to add search paths or #define symbols from the command line. I can see the value of making that possible. Changes for command line handling in the upcoming 1.0.0 release are a foundation for this sort of ability. We'll add it to the backlog for consideration in post-1.0.0 work.
I'm trying to set up Ceedling in a way that, instead of hardcoding a bunch of include paths and defines in the
project.yml
file, I take them from thecompile_commands.json
file instead.I haven't found a way of telling Ceedling to use it as an input, so instead I'm trying to get the defines and include paths myself, this is how I do it:
and for the include paths:
If I run this, I get the following include path:
Which matches what I had set up in the
project.yml
:However, this doesn't seem to do the trick as I'm getting the following error:
I tried to run a simple test by doing this, but it doesn't work either:
ceedling test:all "-I../rtos/FreeRTOS/Source/include"
Does anybody know what I'm doing wrong?
The text was updated successfully, but these errors were encountered: