Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

ad vdsp preprocessor at asm

$
0
0

Hi guys, how can we detect inside the header file that now is a asm compile time.

 

file crosscore.hxx:

header:

#ifdef ASM //what is the proper name of macros that is used to detect compiler name?

...

#else

template <typename T>

class ...

#endif

 

my header is somehow imported to a asm file, and i don't need it anymore

asm:

/* =============================================================================

*

*   Desc: This is the Interrupt Service Routine IVG10, which is mapped

*   to core interrupt level 3.

*   IVG10 is the default handler for DMA channels 8,9,10, and 11,

*   which service Uart0 and Uart1, both Rx & Tx.

*

* -----------------------------------------------------------------------------

*  Comments: IVG10 is also the default handler for SPI & TWI ports.

*      That code is not included here and must be added.

*

* ===========================================================================*/

#include "..\VDK.h"

#.import "SPIdrvr.h"; //includes crosscore.hxx

 

how can i check that now is not an _ECC_  or C compilation but asm?


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>