Here we introduce how to use the SPEC and FMC-TDC with the EPICS device support.
- Edit configure/RELEASE
# the CONFIG_SITE file.
# Variables and paths to dependent modules:
MODULES=/opt/epics/R3-15-8/modules
DEVWRTDC=$(MODULES)/devWrtdc <- add
- Edit Makefile
$ vi xxxApp/src/Makefile
Add PROD_DEPLIB_DIRS and PROD_LIBS
#----------------------------------------
# ADD RULES AFTER THIS LINE
PROD_DEPLIB_DIRS += /home/kekbcont/wr/fmc-tdc-sw/lib <- Add with your condition
PROD_LIBS += fmctdc <- Add
- Check the PCI ID
$ lspci | grep CERN
01:00.0 Non-VGA unclassified device: CERN/ECP/EDU Device 018d (rev 03)
In this case, ID becomes 0100.
- Create EPICS DB file