From 2e770cc4395ae7a39315a55b84b4936250b6c18b Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 4 Feb 2012 01:01:57 +0100 Subject: make armdebug compilation conditional Set ARMDEBUG to y in the Makefile to enable armdebug compilation. --- AT91SAM7S256/SAM7S256/Include/sam7s256.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AT91SAM7S256/SAM7S256/Include/sam7s256.c') diff --git a/AT91SAM7S256/SAM7S256/Include/sam7s256.c b/AT91SAM7S256/SAM7S256/Include/sam7s256.c index 8ff0ab4..b2657d5 100644 --- a/AT91SAM7S256/SAM7S256/Include/sam7s256.c +++ b/AT91SAM7S256/SAM7S256/Include/sam7s256.c @@ -11,7 +11,7 @@ // // Platform C // -#ifdef __ARMDEBUG__ +#ifdef ARMDEBUG #include "debug_stub.h" #endif @@ -21,7 +21,7 @@ void main(void) { HARDWAREInit; mSchedInit(); -#ifdef __ARMDEBUG__ +#ifdef ARMDEBUG dbg__bkpt_init(); #endif while(TRUE == mSchedCtrl()) -- cgit v1.2.3