Get a list of macros
I am working on a project which relies heavily on defines in a config file, and these defines are regularly nested, i.e. the the position if the 6th member is defined by position and size of the fifth member, and so on until member 0.
I would like to get a file with all of my macros expanded. I looked on Stack Overflow for gcc options, and -E and/or -dD options were recommended, but I just can't get them to work. -dD does nothing without a file, if I specify a file, I get errors.
Is there a way to do it in MPLAB X? I am using xc32 v1.40