mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-04 11:50:05 +02:00
changed gotthard server type to be defined in makefile and not in mcb
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@508 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
e4c61a230a
commit
c5b3f10669
@ -6,7 +6,7 @@
|
|||||||
CROSS = bfin-uclinux-
|
CROSS = bfin-uclinux-
|
||||||
CC = $(CROSS)gcc
|
CC = $(CROSS)gcc
|
||||||
|
|
||||||
CFLAGS += -Wall -DMCB_FUNCS -DDACS_INT -DDEBUG #-DVERBOSE #-DVERYVERBOSE #-DVIRTUAL #-DDACS_INT_CSERVER
|
CFLAGS += -Wall -DGOTTHARDD -DMCB_FUNCS -DDACS_INT -DDEBUG #-DVERBOSE #-DVERYVERBOSE #-DVIRTUAL #-DDACS_INT_CSERVER
|
||||||
|
|
||||||
|
|
||||||
PROGS= gotthardDetectorServer
|
PROGS= gotthardDetectorServer
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
DESTDIR ?= ./
|
DESTDIR ?= ./
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS += -Wall -DMCB_FUNCS -DDACS_INT -DDEBUG -DVIRTUAL
|
CFLAGS += -Wall -DGOTTHARDD -DMCB_FUNCS -DDACS_INT -DDEBUG -DVIRTUAL
|
||||||
|
|
||||||
|
|
||||||
PROGS= $(DESTDIR)/gotthardVirtualServer
|
PROGS= $(DESTDIR)/gotthardVirtualServer
|
||||||
|
@ -26,7 +26,6 @@ const int nChans=NCHAN;
|
|||||||
const int nChips=NCHIP;
|
const int nChips=NCHIP;
|
||||||
const int nDacs=NDAC;
|
const int nDacs=NDAC;
|
||||||
const int nAdcs=NADC;
|
const int nAdcs=NADC;
|
||||||
const enum detectorType myDetectorType=GOTTHARD;
|
|
||||||
enum detectorSettings thisSettings;
|
enum detectorSettings thisSettings;
|
||||||
|
|
||||||
int sChan, sChip, sMod, sDac, sAdc;
|
int sChan, sChip, sMod, sDac, sAdc;
|
||||||
|
@ -17,12 +17,21 @@
|
|||||||
|
|
||||||
int (*flist[256])(int);
|
int (*flist[256])(int);
|
||||||
|
|
||||||
#ifdef MCB_FUNCS
|
//defined in the detector specific file
|
||||||
extern const enum detectorType myDetectorType;
|
#ifdef MYTHEND
|
||||||
#endif
|
const enum detectorType myDetectorType=MYTHEN;
|
||||||
#ifndef MCB_FUNCS
|
#elif GOTTHARDD
|
||||||
const enum detectorType myDetectorType=GOTTHARD;
|
const enum detectorType myDetectorType=GOTTHARD;
|
||||||
|
#elif EIGERD
|
||||||
|
const enum detectorType myDetectorType=EIGER;
|
||||||
|
#elif PICASSOD
|
||||||
|
const enum detectorType myDetectorType=PICASSO;
|
||||||
|
#else
|
||||||
|
const enum detectorType myDetectorType=GENERIC;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern int nModX;
|
extern int nModX;
|
||||||
extern int nModY;
|
extern int nModY;
|
||||||
extern int dataBytes;
|
extern int dataBytes;
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
#define SVNURL "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware/gotthardDetectorServer"
|
#define SVNURL "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware/gotthardDetectorServer"
|
||||||
//#define SVNREPPATH ""
|
//#define SVNREPPATH ""
|
||||||
#define SVNREPUUID "951219d9-93cf-4727-9268-0efd64621fa3"
|
#define SVNREPUUID "951219d9-93cf-4727-9268-0efd64621fa3"
|
||||||
//#define SVNREV 0x504
|
//#define SVNREV 0x507
|
||||||
//#define SVNKIND ""
|
//#define SVNKIND ""
|
||||||
//#define SVNSCHED ""
|
//#define SVNSCHED ""
|
||||||
#define SVNAUTH "bergamaschi"
|
#define SVNAUTH "l_maliakal_d"
|
||||||
#define SVNREV 0x504
|
#define SVNREV 0x507
|
||||||
#define SVNDATE 0x20130408
|
#define SVNDATE 0x20130411
|
||||||
//
|
//
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
//#define SVNPATH ""
|
||||||
|
#define SVNURL "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware/moenchDetectorServer"
|
||||||
|
//#define SVNREPPATH ""
|
||||||
|
#define SVNREPUUID "951219d9-93cf-4727-9268-0efd64621fa3"
|
||||||
|
//#define SVNREV 0x507
|
||||||
|
//#define SVNKIND ""
|
||||||
|
//#define SVNSCHED ""
|
||||||
|
#define SVNAUTH "l_maliakal_d"
|
||||||
|
#define SVNREV 0x507
|
||||||
|
#define SVNDATE 0x20130411
|
||||||
|
//
|
@ -2,10 +2,10 @@
|
|||||||
#define SVNURL "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware/mythenDetectorServer"
|
#define SVNURL "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware/mythenDetectorServer"
|
||||||
//#define SVNREPPATH ""
|
//#define SVNREPPATH ""
|
||||||
#define SVNREPUUID "951219d9-93cf-4727-9268-0efd64621fa3"
|
#define SVNREPUUID "951219d9-93cf-4727-9268-0efd64621fa3"
|
||||||
//#define SVNREV 0x504
|
//#define SVNREV 0x507
|
||||||
//#define SVNKIND ""
|
//#define SVNKIND ""
|
||||||
//#define SVNSCHED ""
|
//#define SVNSCHED ""
|
||||||
#define SVNAUTH "bergamaschi"
|
#define SVNAUTH "l_maliakal_d"
|
||||||
#define SVNREV 0x504
|
#define SVNREV 0x507
|
||||||
#define SVNDATE 0x20130408
|
#define SVNDATE 0x20130411
|
||||||
//
|
//
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
#define SVNURLLIB "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware"
|
#define SVNURLLIB "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware"
|
||||||
//#define SVNREPPATH ""
|
//#define SVNREPPATH ""
|
||||||
#define SVNREPUUIDLIB "951219d9-93cf-4727-9268-0efd64621fa3"
|
#define SVNREPUUIDLIB "951219d9-93cf-4727-9268-0efd64621fa3"
|
||||||
//#define SVNREV 0x506
|
//#define SVNREV 0x507
|
||||||
//#define SVNKIND ""
|
//#define SVNKIND ""
|
||||||
//#define SVNSCHED ""
|
//#define SVNSCHED ""
|
||||||
#define SVNAUTHLIB "l_maliakal_d"
|
#define SVNAUTHLIB "l_maliakal_d"
|
||||||
#define SVNREVLIB 0x506
|
#define SVNREVLIB 0x507
|
||||||
#define SVNDATELIB 0x20130411
|
#define SVNDATELIB 0x20130411
|
||||||
//
|
//
|
||||||
|
@ -2,10 +2,10 @@
|
|||||||
#define SVNURL "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware/slsReceiver"
|
#define SVNURL "file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware/slsReceiver"
|
||||||
//#define SVNREPPATH ""
|
//#define SVNREPPATH ""
|
||||||
#define SVNREPUUID "951219d9-93cf-4727-9268-0efd64621fa3"
|
#define SVNREPUUID "951219d9-93cf-4727-9268-0efd64621fa3"
|
||||||
//#define SVNREV 0x506
|
//#define SVNREV 0x507
|
||||||
//#define SVNKIND ""
|
//#define SVNKIND ""
|
||||||
//#define SVNSCHED ""
|
//#define SVNSCHED ""
|
||||||
#define SVNAUTH "l_maliakal_d"
|
#define SVNAUTH "l_maliakal_d"
|
||||||
#define SVNREV 0x506
|
#define SVNREV 0x507
|
||||||
#define SVNDATE 0x20130411
|
#define SVNDATE 0x20130411
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user