/****************************************************************************/
/* Copyright 2002 MBARI														*/
/****************************************************************************/
/* Summary	: Definitions for OASIS2 Debug routines							*/
/* Filename : debug.h														*/
/* Author	: Robert Herlien (rah)											*/
/* Project	: OASIS Mooring Replacement (OASIS3)							*/
/* Revision: 0.1															*/
/* Created	: 10/25/2002													*/
/*																			*/
/* MBARI provides this documentation and code "as is", with no warranty,	*/
/* express or implied, of its quality or consistency. It is provided without*/
/* support and without obligation on the part of the Monterey Bay Aquarium	*/
/* Research Institute to assist in its use, correction, modification, or	*/
/* enhancement. This information should not be published or distributed to	*/
/* third parties without specific written permission from MBARI.			*/
/*																			*/
/****************************************************************************/
/* Modification History:													*/
/* 25oct2002 rah - created													*/
/****************************************************************************/

#ifndef INCdebugh
#define INCdebugh		1

#define DEBUG
//#define DEBUG_MALLOC
//#define DEBUG_TASK
//#define DEBUG_DRVR_TIMES
//#define DEBUG_CONFIG
//#define DEBUG_VAR
//#define DEBUG_MODBUS
//#define DEBUG_SERIAL_CMD
//#define DEBUG_KILL

// The following 2 defines are VERY DANGEROUS!!	 Don't set them
// on a deployed system!!!
#define DEBUG_SYSTEM_CMD
//#define DEBUG_FREEZE_CMD

//#define DEBUG_SPI				// Replace module spi.c with spitest.c
								// See comments in spitest.c

//#define CORE_DUMP_ON_INIT
#define CORE_DUMP_START			0L
#define CORE_DUMP_LEN			0x80000L
#define CORE_FILE				"CORE"

//#define EXC_DEBUG
//#define EXC_PWRBIT	0x4000	
//#define DISK_PWRBIT	0x8000	


/****************************************/
/* Function Declarations				*/
/****************************************/

int		dprintf( const char *format, ... );

#endif	/* INCdebugh */
