User forums > Embedded development
Taking into account C99 standard
stahta01:
Attach the zipped CB project or at least post the full build log.
Tim S.
stahta01:
--- Quote from: Pavel_47 on January 22, 2015, 06:23:51 pm ---In the "make commands" tab there is target that I want to modify
But edit fields aren't editable.
How to change target ?
--- End quote ---
IS IT A CUSTOM MAKE CB PROJECT OR IS IT NOT!!!!
Tim S.
Pavel_47:
Not !
The "this is the custom Makefile" is unchecked.
Doing some manipulations with project (removing your platform and adding cc2538dk) I've discovered in some moment that make commands became "editable",
so I changed the TARGET value for CC2538dk.
Then I've tried to compile ... compilation failed (for some other reasons).
But then, when I came back to make commands tab, it became "passive" once more.
Mystery ...
Answering to your previous question concerning make.exe, it isn't inside compiler directory, but in another place, for which I've specified the path (please, see the image below)
Pavel_47:
Well, working with Code::Blocks requires a lot of attention and also ... habit.
Indeed, modifying of TARGET is possible only if option "this is the custom Makefile" is desactivated.
But after modifying of any option one must confirm by Ok in the the "Project/Target" window, and it seems also save the project, otherwise it's total confusion.
So in abscence of custom makefile, the TARGET is defined only by platform directories, attached to project - i.e. there is no any option in the project settings, allowing to define TARGET, isn't it ?
If this is a case, there are still problems: the compiler "doesn't see" a .h file, that is attached to project (please see the picture).
Where is a problem ?
Thanks in advance.
Sincerely ...
[attachment deleted by admin]
BlueHazzard:
h files are not passed to the compiler over parameter. You have to set the path to your include files over Project->Build Options-> Search directories->Compiler. Don forget to select on the left site the right target (or the project name if you want apply this setting project wide)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version