|
|
Here we introduce how to use the SPEC and FMC-TDC with the EPICS device support |
|
|
\ No newline at end of file |
|
|
Here we introduce how to use the SPEC and FMC-TDC with the EPICS device support.
|
|
|
|
|
|
---
|
|
|
1. Edit **configure/RELEASE**
|
|
|
**# the CONFIG_SITE file.
|
|
|
# Variables and paths to dependent modules:
|
|
|
MODULES=/opt/epics/R3-15-8/modules
|
|
|
DEVWRTDC=$(MODULES)/devWrtdc** <- add
|
|
|
|
|
|
---
|
|
|
2. 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
|
|
|
|
|
|
---
|
|
|
3. 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**.
|
|
|
|
|
|
---
|
|
|
4. Create EPICS DB file |