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 have several targets a program is written for and some require things to be done differently (IE debug version with ISD compiled in release version without ISD compiled in etc.)
So the question is how can I detect this in order to conditionally change (in this case move the AUX interrupt vector to where the ISD handles it), the program so that it will accommodate the different target setup?
Stephen
Have each target configuration set a couple of #defines that identify its peculiarities, then check them in the code:
#ifdef HAVE_ISD // here goes code that adds ISD #endif
That's too simple, sigh. Thanks for reminding me of being able to do that.
Thank you again.