Lesson learned on removing compiler define flags from subfolders within a project #423
elsevers
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
We recently had an issue where we wanted to disable the blink app. We tried to do this by removing the compiler define flag for
APP_BLINK
(i.e., reversing the procedure here).However, this did not have intended effect. The blink app continued to be built and run.
Solution
Upon inspecting the
.cproject
file, we were able to see that the compiler define flag was actually still in effect on subfolders within theapp_cpu1
project:app_cpu1\usr
app_cpu1\currentRegulator
We had to go to properties on each of these folders individually to remove it:
We don't know how the setting got there in the first place (on these subfolder).
Takeaway
The lesson learned here is that it is possible to set compiler flags on a per-folder basis within each project. User beware
Beta Was this translation helpful? Give feedback.
All reactions