Page 1 of 1

How to check active #defines in XTimeComposer Editor

Posted: Sat Aug 11, 2018 11:12 am
by maqu67
Hello,

I'm working on "sw_usb_audio-[sw]_6.15.2rc1" with XTimeComposer.

In files like "customdefines.h", "devicedefines.h" and in the Makefile I've some "#define" like MIXER, SPIDF_RX, ADAT_RX ... and so on.
I'd like to know if after the project compilation there is any manner to see in the editor which "define" have been activated and which not,
perhaps looking the background colors of the instructions.

I'd like to see which code sections are active and which not for the particular configuration I've selected.

Thanks a lor in advance

Best Regards

Massimiliano

Re: How to check active #defines in XTimeComposer Editor

Posted: Sat Aug 11, 2018 1:57 pm
by mon2
xTimeComposer is built upon Eclipse so the color schemes and solutions for Eclipse should work in the same.

Try the following and post your results:

https://stackoverflow.com/questions/109 ... in-eclipse

Re: How to check active #defines in XTimeComposer Editor

Posted: Sat Aug 11, 2018 9:18 pm
by maqu67
Thanks a lot

Massimiliano