From 4351ab56e3e3fabf1a4811ffdc5b8b241366242d Mon Sep 17 00:00:00 2001 From: Daniel Sissom Date: Tue, 25 Jun 2024 11:49:42 -0500 Subject: [PATCH] Updated README for setting up IOC build config file. --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5fe6bc0..fb837ef 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,9 @@ 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 -``EXAMPLE_RELEASE.local`` file to ``RELEASE.local`` and defining the paths to -``EPICS_BASE``, ``MOTOR``, and itself. +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. -motorDSM contains an example IOC that is built if ``CONFIG_SITE.local`` sets -``BUILD_IOCS = YES``. The example IOC can be built outside of driver module. +motorDSM contains an example IOC that is built if ``configure/CONFIG_SITE.local`` sets ``BUILD_IOCS = YES``. The example IOC can be built outside of the driver module. Copy ``iocs/dsmIOC/configure/EXAMPLE_RELEASE.local`` to ``RELEASE.local`` and uncomment and set the paths for the appropriate lines depending on whether motorDSM was built inside the motor module or independently. ------------------------ @@ -116,12 +113,16 @@ motorDSM (this package) $ cd $SUPPORT $ git clone git@github.com:Binary-Coalescence/motorDSM.git +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: BUILD_IOCS = YES -In ``motorDSM/configure``, copy ``EXAMPLE_RELEASE.local`` to ``RELEASE.local`` -and set paths for ``EPICS_BASE``, ``MOTOR``, and ``MOTOR_DSM``. +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 $ make distclean