forked from epics_driver_modules/motorBase
30 lines
988 B
Plaintext
30 lines
988 B
Plaintext
To build any examples;
|
|
|
|
- in <motor>/configure/RELEASE: EPICS_BASE, TEMPLATE_TOP and MSI must
|
|
be defined.
|
|
|
|
- in <motor>/Makefile: the following two lines must be uncommented;
|
|
#!DIRS := $(DIRS) $(filter-out $(DIRS), motorExApp)
|
|
#!DIRS := $(DIRS) $(filter-out $(DIRS), iocBoot)
|
|
|
|
To build the OMS example in this directory;
|
|
- in <motor>/motorApp/Makefile: #!DIRS += OmsSrc must be uncommented.
|
|
|
|
- in <motor>/motorExApp/Makefile: #!DIRS += NoMPF must be uncommented.
|
|
|
|
- in <motor>/motorExApp/NoMPF/Makefile: #!NoMPFVx_LIBS += oms must be
|
|
uncommented.
|
|
|
|
Finally, cd <motor>; gnumake clean uninstall; gnumake
|
|
|
|
|
|
To run the MX example, uncomment the following;
|
|
in <motor>/motorExApp/NoMPF/Makefile: #NoMPF_LIBS += MXmotor
|
|
in <motor>/motorExApp/NoMPF/NoMPFInclude.dbd: #include "devMXmotor.dbd"
|
|
and rebuild.
|
|
|
|
Assuming the EPICS_HOST_ARCH environment variable is set correctly,
|
|
start the ioc from this directory by executing the following command.
|
|
|
|
../../bin/${EPICS_HOST_ARCH}/NoMPF st.cmd.mx
|