From f75b442557c2ae616d9e474bf3c2a87cd44549f7 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Mon, 19 Jul 2004 13:57:46 +0000 Subject: [PATCH] Added debug variable to *.dbd file. --- motorApp/MclennanSrc/Makefile | 3 ++- motorApp/MclennanSrc/devMclennanMotor.dbd | 1 + motorApp/MicosSrc/Makefile | 5 +++-- motorApp/MicosSrc/devMicos.dbd | 1 + motorApp/MicroMoSrc/Makefile | 5 +++-- motorApp/MicroMoSrc/devMicroMo.dbd | 1 + motorApp/NewportSrc/Makefile | 5 +++-- motorApp/NewportSrc/devNewport.dbd | 4 ++++ motorApp/PiSrc/Makefile | 5 +++-- motorApp/PiSrc/devPIMotor.dbd | 1 + 10 files changed, 22 insertions(+), 9 deletions(-) diff --git a/motorApp/MclennanSrc/Makefile b/motorApp/MclennanSrc/Makefile index 2ba9342f..a4f0f48e 100644 --- a/motorApp/MclennanSrc/Makefile +++ b/motorApp/MclennanSrc/Makefile @@ -2,7 +2,8 @@ TOP = ../.. include $(TOP)/configure/CONFIG -# The following are used for debugging messages. +# Both the following line, and a line in the *.dbd file, +# must be uncommented to use diagnostic debugging messages. #USR_CXXFLAGS += -DDEBUG DBD += devMclennanMotor.dbd diff --git a/motorApp/MclennanSrc/devMclennanMotor.dbd b/motorApp/MclennanSrc/devMclennanMotor.dbd index 1d6151d8..9816012b 100644 --- a/motorApp/MclennanSrc/devMclennanMotor.dbd +++ b/motorApp/MclennanSrc/devMclennanMotor.dbd @@ -2,5 +2,6 @@ device(motor,VME_IO,devPM304,"Mclennan PM304") driver(drvPM304) registrar(MclennanRegister) +#variable(drvPM304Debug) diff --git a/motorApp/MicosSrc/Makefile b/motorApp/MicosSrc/Makefile index d5ea0401..4e5532fe 100644 --- a/motorApp/MicosSrc/Makefile +++ b/motorApp/MicosSrc/Makefile @@ -2,8 +2,9 @@ TOP = ../.. include $(TOP)/configure/CONFIG -# The following are used for debugging messages. -#USR_CXXFLAGS += -DDEBUG +# Both the following line, and a line in the *.dbd file, +# must be uncommented to use diagnostic debugging messages. +#!USR_CXXFLAGS += -DDEBUG DBD += devMicos.dbd diff --git a/motorApp/MicosSrc/devMicos.dbd b/motorApp/MicosSrc/devMicos.dbd index 037510f5..d316e702 100644 --- a/motorApp/MicosSrc/devMicos.dbd +++ b/motorApp/MicosSrc/devMicos.dbd @@ -1,5 +1,6 @@ # Micos MoCo dc series support. device(motor,VME_IO,devMicos,"Micos MoCo") driver(drvMicos) +#variable(drvMicosDebug) diff --git a/motorApp/MicroMoSrc/Makefile b/motorApp/MicroMoSrc/Makefile index d3090cd3..ca537673 100644 --- a/motorApp/MicroMoSrc/Makefile +++ b/motorApp/MicroMoSrc/Makefile @@ -2,8 +2,9 @@ TOP = ../.. include $(TOP)/configure/CONFIG -# The following are used for debugging messages. -#USR_CXXFLAGS += -DDEBUG +# Both the following line, and a line in the *.dbd file, +# must be uncommented to use diagnostic debugging messages. +#!USR_CXXFLAGS += -DDEBUG DBD += devMicroMo.dbd diff --git a/motorApp/MicroMoSrc/devMicroMo.dbd b/motorApp/MicroMoSrc/devMicroMo.dbd index 86619a8c..679d618c 100644 --- a/motorApp/MicroMoSrc/devMicroMo.dbd +++ b/motorApp/MicroMoSrc/devMicroMo.dbd @@ -1,4 +1,5 @@ # Micro Mo MVP 2001 Driver support. device(motor,VME_IO,devMVP2001,"MVP2001") driver(drvMVP2001) +#variable(drvMVP2001debug) diff --git a/motorApp/NewportSrc/Makefile b/motorApp/NewportSrc/Makefile index e0aff448..7b840ec8 100644 --- a/motorApp/NewportSrc/Makefile +++ b/motorApp/NewportSrc/Makefile @@ -2,8 +2,9 @@ TOP = ../.. include $(TOP)/configure/CONFIG -# The following are used for debugging messages. -USR_CXXFLAGS += -DDEBUG +# Both the following line, and a line in the *.dbd file, +# must be uncommented to use diagnostic debugging messages. +#!USR_CXXFLAGS += -DDEBUG DBD += devNewport.dbd diff --git a/motorApp/NewportSrc/devNewport.dbd b/motorApp/NewportSrc/devNewport.dbd index 351388e5..7ed9d4ae 100644 --- a/motorApp/NewportSrc/devNewport.dbd +++ b/motorApp/NewportSrc/devNewport.dbd @@ -8,4 +8,8 @@ driver(drvMM4000) driver(drvPM500) driver(drvESP300) registrar(NewportRegister) +#variable(drvESP300debug) +#variable(drvMM3000debug) +#variable(drvMM4000debug) +#variable(drvPM500debug) diff --git a/motorApp/PiSrc/Makefile b/motorApp/PiSrc/Makefile index 9a7b03d2..ee9f7921 100644 --- a/motorApp/PiSrc/Makefile +++ b/motorApp/PiSrc/Makefile @@ -2,8 +2,9 @@ TOP = ../.. include $(TOP)/configure/CONFIG -# The following are used for debugging messages. -#USR_CXXFLAGS += -DDEBUG +# Both the following line, and a line in the *.dbd file, +# must be uncommented to use diagnostic debugging messages. +#!USR_CXXFLAGS += -DDEBUG DBD += devPIMotor.dbd diff --git a/motorApp/PiSrc/devPIMotor.dbd b/motorApp/PiSrc/devPIMotor.dbd index badc986b..edb1307c 100644 --- a/motorApp/PiSrc/devPIMotor.dbd +++ b/motorApp/PiSrc/devPIMotor.dbd @@ -1,5 +1,6 @@ # Intelligent Motion Systems driver support. device(motor,VME_IO,devPIC844,"PIC844") driver(drvPIC844) +#variable(drvPIC844debug)