We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I tried to use a shortcut(alias) to point to a C header file but uVision2 couldn't resolve the shortcut when opening the project. So I have a shortcut with the name header.h that can point to header1.h, header2.h, and so on, but Uv2 can't figure out where header.h is pointing. Is there a solution to this beyond the obvious of multiple #includes, etc.?
"Use a #defined symbol, or a symbol defined by the project, to select the appropriate headers using #if, etc..."
And taking that one small bit further, if using #if's in each source file to select the appropriate header files is undesireable, don't forget that the #include itself can specify preprocessing tokens, thus allowing all the #if'ing to be localized.