Zach Welch <zw@superlucidity.net> add --enable-verbose* options

git-svn-id: svn://svn.berlios.de/openocd/trunk@1495 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2009-04-21 11:37:15 +00:00
parent 837555ab24
commit 5b4679618a
5 changed files with 49 additions and 39 deletions

View File

@@ -35,19 +35,6 @@
#include "log.h"
/* enable this to debug communication
*/
#if 1
#define _DEBUG_USB_COMMS_
#define _DEBUG_JTAG_IO_
#endif
#ifdef _DEBUG_JTAG_IO_
#define DEBUG_JTAG_IO(expr ...) LOG_DEBUG(expr)
#else
#define DEBUG_JTAG_IO(expr ...)
#endif
#define USB_VID 0x15ba
#define USB_PID 0x001e

View File

@@ -58,18 +58,6 @@
#include <ftdi.h>
#endif
/* enable this to debug io latency
*/
#if 0
#define _DEBUG_USB_IO_
#endif
/* enable this to debug communication
*/
#if 0
#define _DEBUG_USB_COMMS_
#endif
static int ft2232_execute_queue(void);
static int ft2232_speed(int speed);

View File

@@ -34,18 +34,6 @@
#include "log.h"
/* enable this to debug communication
*/
#if 0
#define _DEBUG_USB_COMMS_
#endif
#ifdef _DEBUG_JTAG_IO_
#define DEBUG_JTAG_IO(expr ...) LOG_DEBUG(expr)
#else
#define DEBUG_JTAG_IO(expr ...)
#endif
#define VID 0x1366
#define PID 0x0101

View File

@@ -30,8 +30,10 @@
#include "command.h"
#if 0
#define _DEBUG_JTAG_IO_
#ifdef _DEBUG_JTAG_IO_
#define DEBUG_JTAG_IO(expr ...) LOG_DEBUG(expr)
#else
#define DEBUG_JTAG_IO(expr ...)
#endif
#ifndef DEBUG_JTAG_IOZ