#ifndef _COMMON_H_ #define _COMMON_H_ #ifdef _TMS320C6X // This works to set a breakpoint #define SW_BREAKPOINT asm( " SWBP 0" ); /* Software Breakpoint to Code Composer */ // SW_BREAKPOINT; #else #include // full halt #include // full halt #define SW_BREAKPOINT \ Hwi_disable(); \ Swi_disable(); \ while(1); #endif #endif /* _COMMON_H_ */