-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from minijackson/mrf-doc
MRF documentation
- Loading branch information
Showing
5 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Micro Research Finland timing devices | ||
===================================== | ||
|
||
To control Micro Research Finland (MRF) devices, | ||
we recommend using the :ref:`pkg-support.mrfioc2` EPICS module. | ||
|
||
Installing the ``mrfioc2`` EPICS support module | ||
----------------------------------------------- | ||
|
||
To use the ``mrfioc2`` module in your EPNix IOC, | ||
make sure to add the :ref:`pkg-support.mrfioc2` package in your support modules: | ||
|
||
.. code-block:: diff | ||
:caption: :file:`flake.nix` | ||
# Add your support modules here: | ||
# --- | ||
- #support.modules = with pkgs.epnix.support; [ StreamDevice mySupportModule ]; | ||
+ support.modules = with pkgs.epnix.support; [ mrfioc2 ]; | ||
This makes sure that the ``mrfioc2`` is available during compilation. | ||
|
||
For developing your IOC using ``mrfioc2``, | ||
follow the `mrfioc2 documentation`_. | ||
|
||
.. _mrfioc2 documentation: https://epics-modules.github.io/mrfioc2/ | ||
|
||
Installing the ``mrf`` kernel module | ||
------------------------------------ | ||
|
||
To communicate with the MRF devices, | ||
you also need to install and load the ``mrf`` kernel module. | ||
|
||
If you are using NixOS, | ||
add this to the NixOS configuration of the board running the IOC: | ||
|
||
.. code-block:: nix | ||
:caption: :file:`mrf.nix` | ||
{ config, ... }: | ||
{ | ||
# Install the MRF kernel module package | ||
boot.extraModulePackages = with config.boot.kernelPackages; [ mrf ]; | ||
# Load the "mrf" module at boot | ||
boot.kernelModules = [ "mrf" ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters