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.
Hi.
I am using two Project targets, a Debug and a Release, and now I what to test which one that is selected, but how do I do it?
#ifdef Debug ????????? /* Set the Vector Table base location at 0x08000000 */ NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0); #else /* VECT_TAB_FLASH */ /* Set the Vector Table base location at 0x08001800 */ NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x1800); #endif
I hope somebody can help me.
Soeren P.
Hi, go to your project setting, tab C/C++ and add a DEBUG in the Preprocessor Symbols field for the debug build. And RELEASE for your release build.
Thanks.