mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-04 21:55:40 -05:00
Clarified install instructions in README.
This commit is contained in:
46
README.md
46
README.md
@@ -1,14 +1,11 @@
|
||||
motorDSM
|
||||
==========
|
||||
|
||||
EPICS motor drivers for the following [Dynamic Structures and
|
||||
Materials](https://www.dynamic-structures.com/) motor controllers: MD-90
|
||||
EPICS motor drivers for the following [Dynamic Structures and Materials](https://www.dynamic-structures.com/) motor controllers: MD-90
|
||||
|
||||
[](https://github.com/Binary-Coalescence/motorDSM/actions/workflows/ci-scripts-build.yml)
|
||||
|
||||
motorDSM is a submodule of [motor](https://github.com/epics-modules/motor).
|
||||
When motorDSM is built in the ``motor/modules`` directory, no manual
|
||||
configuration is needed.
|
||||
motorDSM is a submodule of [motor](https://github.com/epics-modules/motor). When motorDSM is built in the ``motor/modules`` directory, no manual configuration is needed.
|
||||
|
||||
motorDSM can also be built outside of motor by copying it's ``configure/EXAMPLE_RELEASE.local`` file to ``RELEASE.local`` and defining the paths to ``EPICS_BASE``, ``MOTOR``, and itself.
|
||||
|
||||
@@ -22,7 +19,7 @@ for one attached MD-90 controller, or
|
||||
|
||||
$ ../../bin/linux-x86_64/dsm st.cmd.md90.multi
|
||||
|
||||
for eight attached MD-90 controllers.
|
||||
for eight attached MD-90 controllers. You may need to change the path(s) for the serial port(s) in ``st.cmd.md90`` or ``st.cmd.md90.multi`` if the MD-90 is not attached at ``/dev/ttyUSB0``.
|
||||
|
||||
------------------------
|
||||
|
||||
@@ -51,18 +48,19 @@ asyn
|
||||
$ cd $SUPPORT
|
||||
$ git clone git@github.com:epics-modules/asyn.git
|
||||
|
||||
Needed to install (on Arch Linux) ``rpcsvc-proto`` package to get ``rpcgen``
|
||||
You may need to install (on Arch Linux) ``rpcsvc-proto`` package to get ``rpcgen``
|
||||
binary needed to make asyn.
|
||||
|
||||
In ``asyn/configure``, copy ``RELEASE`` to ``RELEASE.local`` and set ``SUPPORT``
|
||||
and ``EPICS_BASE`` paths.
|
||||
In ``asyn/configure``, create the file ``RELEASE.local`` with contents:
|
||||
SUPPORT=/path/to/install/directory
|
||||
EPICS_BASE=/path/to/epics-base
|
||||
|
||||
In ``asyn/configure``, create ``CONFIG_SITE.local`` file with the line:
|
||||
TIRPC=YES
|
||||
if appropriate header files are in ``/usr/include/tirpc/rpc`` instead
|
||||
of ``/usr/include/rpc``.
|
||||
|
||||
$ cd asyn
|
||||
$ cd $SUPPORT/asyn
|
||||
$ make clean
|
||||
$ make
|
||||
|
||||
@@ -74,15 +72,15 @@ seq
|
||||
$ cd $SUPPORT
|
||||
$ git clone git@github.com:ISISComputingGroup/EPICS-seq.git seq
|
||||
|
||||
Install the ``re2c`` package (Arch).
|
||||
Install the ``re2c`` package (Arch) if needed.
|
||||
|
||||
Create ``seq/configure/RELEASE.local`` and set path for ``EPICS_BASE``.
|
||||
(Note this package seems to forget to git-ignore the .local file.)
|
||||
|
||||
Edit ``seq/configure/RELEASE`` to add the missing '-' before include for ``ISIS_CONFIG``
|
||||
on the next to last line. Seems to be a typo.
|
||||
on the next to last line. This seems to be a typo.
|
||||
|
||||
$ cd seq
|
||||
$ cd $SUPPORT/seq
|
||||
$ make clean
|
||||
$ make
|
||||
|
||||
@@ -94,24 +92,10 @@ motor
|
||||
$ cd $SUPPORT
|
||||
$ git clone git@github.com:epics-modules/motor.git
|
||||
|
||||
Optionally, if you want to install additional motor drivers:
|
||||
|
||||
$ cd motor
|
||||
$ git submodule init
|
||||
$ git submodule update modules/motorAcs
|
||||
$ git submodule update modules/foo
|
||||
$ git submodule update modules/bar
|
||||
|
||||
Optionally, edit ``motor/modules/Makefile`` and comment out all unused driver
|
||||
submodules.
|
||||
|
||||
Optionally, create ``motor/config/CONFIG_SITE.local`` with the line:
|
||||
BUILD_IOCS = YES
|
||||
|
||||
Create ``motor/config/RELEASE.local`` and set ``SUPPORT``, ``ASYN``, ``SNCSEQ``,
|
||||
Create ``motor/configure/RELEASE.local`` and set ``SUPPORT``, ``ASYN``, ``SNCSEQ``,
|
||||
and ``EPICS_BASE`` to the appropriate paths.
|
||||
|
||||
$ cd motor
|
||||
$ cd $SUPPORT/motor
|
||||
$ make distclean
|
||||
$ make
|
||||
|
||||
@@ -127,13 +111,13 @@ In ``motorDSM/configure``, copy ``EXAMPLE_RELEASE.local`` to ``RELEASE.local``
|
||||
and set paths for ``EPICS_BASE``, ``MOTOR``, and ``MOTOR_DSM``.
|
||||
|
||||
In ``motorDSM/configure``, copy ``EXAMPLE_CONFIG_SITE.local``
|
||||
to ``CONFIG_SITE.local`` and set:
|
||||
to ``CONFIG_SITE.local`` and uncomment to set:
|
||||
BUILD_IOCS = YES
|
||||
|
||||
In ``motorDSM/iocs/dsmIOC/configure``, copy ``EXAMPLE_RELEASE.local`` to
|
||||
``RELEASE.local``. Comment out the "if built inside motor" lines, uncomment the
|
||||
"if built outside motor" lines, and set the path for ``MOTOR_DSM``.
|
||||
|
||||
$ cd motorDSM
|
||||
$ cd $SUPPORT/motorDSM
|
||||
$ make distclean
|
||||
$ make
|
||||
|
Reference in New Issue
Block a user