Hello
Not sure I understand the issue here.
Is the problem that you did define a macro DEBUG in your RAM build configuration only and when switching to the other configuration the conditional code displays code depending on macro DEBUG as active?
If this is the problem, this can be adjusted through a preference settings.
- Select Windows > Preferences. The Preferences dialog is opened.
- Switch to C/C++ > Indexer page.
- Check Use active build configuration radio button
- Click on Apply and then OK to close the Preference Dialog.
The display of conditional code should now match the macros defined for current configuration.
If this was not the problem, can you please be a little bit more specific.
Which controller are you targeting (HC08, ColdFire, Kinetis, ...)?
What is the problem exactly?
CrasyCat