diff --git a/.gitignore b/.gitignore
index ba27e478..9e7619f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ tests/test_*
.mypy.ini
.ruff.toml
towncrier.toml
+.LICENSE.txt
diff --git a/.ts_pre_commit_config.yaml b/.ts_pre_commit_config.yaml
index c8b4706c..fa48586e 100644
--- a/.ts_pre_commit_config.yaml
+++ b/.ts_pre_commit_config.yaml
@@ -8,3 +8,4 @@ isort: false
mypy: true
ruff: true
towncrier: true
+insert-license: true
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 00000000..27c7391e
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,18 @@
+cmake_minimum_required(VERSION 3.23)
+
+project(ts_cRIOcpp)
+
+add_library(cRIOcpp)
+
+find_package(spdlog REQUIRED)
+target_link_libraries(cRIOcpp PRIVATE spdlog::spdlog)
+
+target_compile_options(cRIOcpp
+ PRIVATE
+ -Wl,--gc-sections -fPIC -fdata-sections -ffunction-sections
+)
+
+add_subdirectory(include)
+add_subdirectory(src)
+
+add_subdirectory(tests)
diff --git a/doc/news/SSW-3062.feature.rst b/doc/news/SSW-3062.feature.rst
new file mode 100644
index 00000000..cf4bedc1
--- /dev/null
+++ b/doc/news/SSW-3062.feature.rst
@@ -0,0 +1 @@
+CMake integration, towncrier.
diff --git a/doc/news/SSW-3062.misc.rst b/doc/news/SSW-3062.misc.rst
new file mode 100644
index 00000000..3df08d0f
--- /dev/null
+++ b/doc/news/SSW-3062.misc.rst
@@ -0,0 +1 @@
+Insert proper license headers.
diff --git a/doc/version_history.rst b/doc/version_history.rst
index ebc0901c..8e4f1b1d 100644
--- a/doc/version_history.rst
+++ b/doc/version_history.rst
@@ -1,3 +1,5 @@
+.. _Version_History:
+
###############
Version History
###############
@@ -5,46 +7,46 @@ Version History
.. towncrier release notes start
v1.17.0
--------
+=======
* FPGASerialPort class - opens virtual terminal to communicate with FPGA device.
v1.16.1
--------
+=======
* Log WrongResponse occurence in FPGA::ilcCommands, not in Modbus::BusList.
v1.16.0
--------
+=======
* Handle 0xFF (255) error response in the FPGASerialDevice.
v1.15.0
--------
+=======
* Rename reset messages to disambiguate calls with device's reset.
v1.14.0
--------
+=======
* PIDParameters load method with default PIDParameters.
* BusList::missing_response method.
v1.13.1
--------
+=======
* TaskQueue remove method
* Flush method to flush transport's serial port buffers
* PID class + processing
v1.13.0
--------
+=======
* Glycol temperature readout from FPGA serial line
v1.12.0
--------
+=======
* simplified MPU communication
v1.11.1
--------
+=======
* SensorMonitor ILC
* broadcast commands to step and freeze
* SimpleFPGACliApp class
@@ -52,7 +54,7 @@ v1.11.1
* More constants
v1.11.0
--------
+=======
* Modbus::, ILC::ILCBusList classes. Communication code moved from ModbusBuffer
to FPGA class.
* Improved documentation.
@@ -60,7 +62,7 @@ v1.11.0
* mpuCommands redesign
v1.10.1
--------
+=======
* Set and read DCA Gain commands (ILC code 73 and 74)
* Add NiWarning class, improve Ni error reporting
@@ -68,24 +70,24 @@ v1.10.1
* support for M2 command line client
v1.10.0
--------
+=======
* getStringStatus function
* handleMissingReply, MissingReply exception
* IRQTimeout handling
v1.9.0
-------
+======
* MPU changed to SerialMultiplex
v1.8.0
-------
+======
* LVDT ElectroMechanical readout
v1.7.0
-------
+======
* offsets,.. ILC commands
* improved re-heater gain management
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
new file mode 100644
index 00000000..92c18f08
--- /dev/null
+++ b/include/CMakeLists.txt
@@ -0,0 +1,12 @@
+target_sources(cRIOcpp
+ PUBLIC
+ FILE_SET HEADERS
+ FILES
+ rapidcsv.h
+)
+
+target_include_directories(cRIOcpp PRIVATE
+ ${CMAKE_CURRENT_SOURCE_DIR}/include
+)
+
+add_subdirectory(ILC)
diff --git a/include/ILC/CMakeLists.txt b/include/ILC/CMakeLists.txt
new file mode 100644
index 00000000..44de8223
--- /dev/null
+++ b/include/ILC/CMakeLists.txt
@@ -0,0 +1,7 @@
+target_sources(cRIOcpp
+ PUBLIC
+ FILE_SET HEADERS
+ FILES
+ ILCBusList.h
+ SensorMonitor.h
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 00000000..42530a04
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,5 @@
+add_subdirectory(ILC)
+add_subdirectory(LSST/cRIO)
+add_subdirectory(LSST/PID)
+add_subdirectory(Modbus)
+add_subdirectory(Transports)
diff --git a/src/ILC/CMakeLists.txt b/src/ILC/CMakeLists.txt
new file mode 100644
index 00000000..6e70cfaf
--- /dev/null
+++ b/src/ILC/CMakeLists.txt
@@ -0,0 +1,5 @@
+target_sources(cRIOcpp
+ PUBLIC
+ ILCBusList.cpp
+ SensorMonitor.cpp
+)
diff --git a/src/ILC/ILCBusList.cpp b/src/ILC/ILCBusList.cpp
index 695daf65..ffa1a7aa 100644
--- a/src/ILC/ILCBusList.cpp
+++ b/src/ILC/ILCBusList.cpp
@@ -1,23 +1,24 @@
/*
- * ILC Bus List handling communication (receiving and
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/ILC/SensorMonitor.cpp b/src/ILC/SensorMonitor.cpp
index 21143d53..63cc1dad 100644
--- a/src/ILC/SensorMonitor.cpp
+++ b/src/ILC/SensorMonitor.cpp
@@ -1,23 +1,24 @@
/*
- * Sensor Monitor ILC handling.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/PID/CMakeLists.txt b/src/LSST/PID/CMakeLists.txt
new file mode 100644
index 00000000..9e608b35
--- /dev/null
+++ b/src/LSST/PID/CMakeLists.txt
@@ -0,0 +1,5 @@
+target_sources(cRIOcpp
+ PUBLIC
+ LimitedPID.cpp
+ PID.cpp
+)
diff --git a/src/LSST/PID/LimitedPID.cpp b/src/LSST/PID/LimitedPID.cpp
index ef56e474..566196e3 100644
--- a/src/LSST/PID/LimitedPID.cpp
+++ b/src/LSST/PID/LimitedPID.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST cRIO package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include "PID/LimitedPID.h"
diff --git a/src/LSST/PID/PID.cpp b/src/LSST/PID/PID.cpp
index cfe357c2..1e13d5aa 100644
--- a/src/LSST/PID/PID.cpp
+++ b/src/LSST/PID/PID.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include "PID/PID.h"
diff --git a/src/LSST/cRIO/Application.cpp b/src/LSST/cRIO/Application.cpp
index 46c78a3a..0bf9d61d 100644
--- a/src/LSST/cRIO/Application.cpp
+++ b/src/LSST/cRIO/Application.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/CMakeLists.txt b/src/LSST/cRIO/CMakeLists.txt
new file mode 100644
index 00000000..51142b23
--- /dev/null
+++ b/src/LSST/cRIO/CMakeLists.txt
@@ -0,0 +1,26 @@
+target_sources(cRIOcpp
+ PUBLIC
+ Application.cpp
+ CSC.cpp
+ CliApp.cpp
+ Command.cpp
+ ControllerThread.cpp
+ ElectromechanicalPneumaticILC.cpp
+ Event.cpp
+ FPGA.cpp
+ FPGACliApp.cpp
+ IntelHex.cpp
+ InterruptWatcherTask.cpp
+ MPU.cpp
+ MPUTelemetry.cpp
+ ModbusBuffer.cpp
+ NiError.cpp
+ NiStatus.cpp
+ PrintILC.cpp
+ SimpleFPGA.cpp
+ TaskQueue.cpp
+ ThermalILC.cpp
+ Thread.cpp
+)
+
+add_subdirectory(Settings)
diff --git a/src/LSST/cRIO/CSC.cpp b/src/LSST/cRIO/CSC.cpp
index 58537988..20976290 100644
--- a/src/LSST/cRIO/CSC.cpp
+++ b/src/LSST/cRIO/CSC.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/CliApp.cpp b/src/LSST/cRIO/CliApp.cpp
index 27304825..924da419 100644
--- a/src/LSST/cRIO/CliApp.cpp
+++ b/src/LSST/cRIO/CliApp.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/Command.cpp b/src/LSST/cRIO/Command.cpp
index d9f680a3..0c7ca7b0 100644
--- a/src/LSST/cRIO/Command.cpp
+++ b/src/LSST/cRIO/Command.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/ControllerThread.cpp b/src/LSST/cRIO/ControllerThread.cpp
index dd8a5865..38122e7e 100644
--- a/src/LSST/cRIO/ControllerThread.cpp
+++ b/src/LSST/cRIO/ControllerThread.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/ElectromechanicalPneumaticILC.cpp b/src/LSST/cRIO/ElectromechanicalPneumaticILC.cpp
index dd4adb74..9949bf4d 100644
--- a/src/LSST/cRIO/ElectromechanicalPneumaticILC.cpp
+++ b/src/LSST/cRIO/ElectromechanicalPneumaticILC.cpp
@@ -1,23 +1,24 @@
/*
- * Electromechanical and Pneumatic ILC functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/Event.cpp b/src/LSST/cRIO/Event.cpp
index 3ec058f3..64a501be 100644
--- a/src/LSST/cRIO/Event.cpp
+++ b/src/LSST/cRIO/Event.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/FPGA.cpp b/src/LSST/cRIO/FPGA.cpp
index 706515d5..7cfc25f7 100644
--- a/src/LSST/cRIO/FPGA.cpp
+++ b/src/LSST/cRIO/FPGA.cpp
@@ -1,23 +1,24 @@
/*
- * Interface for FPGA communication.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/FPGACliApp.cpp b/src/LSST/cRIO/FPGACliApp.cpp
index 108bbd49..cdd97361 100644
--- a/src/LSST/cRIO/FPGACliApp.cpp
+++ b/src/LSST/cRIO/FPGACliApp.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/IntelHex.cpp b/src/LSST/cRIO/IntelHex.cpp
index 1c384296..7c7dfd16 100644
--- a/src/LSST/cRIO/IntelHex.cpp
+++ b/src/LSST/cRIO/IntelHex.cpp
@@ -1,23 +1,24 @@
/*
- * Reads Intel hex file
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/InterruptWatcherTask.cpp b/src/LSST/cRIO/InterruptWatcherTask.cpp
index 139f07d2..3bf91291 100644
--- a/src/LSST/cRIO/InterruptWatcherTask.cpp
+++ b/src/LSST/cRIO/InterruptWatcherTask.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/MPU.cpp b/src/LSST/cRIO/MPU.cpp
index dc47a176..b58838b5 100644
--- a/src/LSST/cRIO/MPU.cpp
+++ b/src/LSST/cRIO/MPU.cpp
@@ -1,23 +1,24 @@
/*
- * Modbus Processing Unit class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/MPUTelemetry.cpp b/src/LSST/cRIO/MPUTelemetry.cpp
index a69beab2..61c5c75f 100644
--- a/src/LSST/cRIO/MPUTelemetry.cpp
+++ b/src/LSST/cRIO/MPUTelemetry.cpp
@@ -1,23 +1,24 @@
/*
- * Telemetry for Modbus Processing Unit.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/ModbusBuffer.cpp b/src/LSST/cRIO/ModbusBuffer.cpp
index bbd0f034..e9b48558 100644
--- a/src/LSST/cRIO/ModbusBuffer.cpp
+++ b/src/LSST/cRIO/ModbusBuffer.cpp
@@ -1,21 +1,24 @@
/*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * This file is part of ts_cRIOcpp.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/NiError.cpp b/src/LSST/cRIO/NiError.cpp
index 46c29f8b..e42b43ed 100644
--- a/src/LSST/cRIO/NiError.cpp
+++ b/src/LSST/cRIO/NiError.cpp
@@ -1,23 +1,24 @@
/*
- * NI Error class. Shall be thrown on any Ni-related errors.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/NiStatus.cpp b/src/LSST/cRIO/NiStatus.cpp
index 23e12bdd..51aeb0e8 100644
--- a/src/LSST/cRIO/NiStatus.cpp
+++ b/src/LSST/cRIO/NiStatus.cpp
@@ -1,23 +1,24 @@
/*
- * NI Status functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/PrintILC.cpp b/src/LSST/cRIO/PrintILC.cpp
index a5aa3f85..c987765b 100644
--- a/src/LSST/cRIO/PrintILC.cpp
+++ b/src/LSST/cRIO/PrintILC.cpp
@@ -1,23 +1,24 @@
/*
- * Implements ILC printing out response.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/Settings/Alias.cpp b/src/LSST/cRIO/Settings/Alias.cpp
index 036f6b0a..d396d07c 100644
--- a/src/LSST/cRIO/Settings/Alias.cpp
+++ b/src/LSST/cRIO/Settings/Alias.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 thermal system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/Settings/CMakeLists.txt b/src/LSST/cRIO/Settings/CMakeLists.txt
new file mode 100644
index 00000000..e33015af
--- /dev/null
+++ b/src/LSST/cRIO/Settings/CMakeLists.txt
@@ -0,0 +1,5 @@
+target_sources(cRIOcpp
+ PUBLIC
+ Alias.cpp
+ Path.cpp
+)
diff --git a/src/LSST/cRIO/Settings/Path.cpp b/src/LSST/cRIO/Settings/Path.cpp
index 1519fc9a..3edf78a8 100644
--- a/src/LSST/cRIO/Settings/Path.cpp
+++ b/src/LSST/cRIO/Settings/Path.cpp
@@ -1,21 +1,24 @@
/*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * This file is part of ts_cRIOcpp.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/SimpleFPGA.cpp b/src/LSST/cRIO/SimpleFPGA.cpp
index 6b3deb45..978bcf29 100644
--- a/src/LSST/cRIO/SimpleFPGA.cpp
+++ b/src/LSST/cRIO/SimpleFPGA.cpp
@@ -1,23 +1,24 @@
/*
- * Interface for FPGA communication.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/TaskQueue.cpp b/src/LSST/cRIO/TaskQueue.cpp
index 91a43d50..bfa8c9d7 100644
--- a/src/LSST/cRIO/TaskQueue.cpp
+++ b/src/LSST/cRIO/TaskQueue.cpp
@@ -1,21 +1,24 @@
/*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * This file is part of ts_cRIOcpp.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include "cRIO/TaskQueue.h"
diff --git a/src/LSST/cRIO/ThermalILC.cpp b/src/LSST/cRIO/ThermalILC.cpp
index ea7080e7..a5cc1bf7 100644
--- a/src/LSST/cRIO/ThermalILC.cpp
+++ b/src/LSST/cRIO/ThermalILC.cpp
@@ -1,23 +1,24 @@
/*
- * Thermal ILC functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/Thread.cpp b/src/LSST/cRIO/Thread.cpp
index 913832a8..e5e32272 100644
--- a/src/LSST/cRIO/Thread.cpp
+++ b/src/LSST/cRIO/Thread.cpp
@@ -1,21 +1,24 @@
/*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * This file is part of ts_cRIOcpp.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/LSST/cRIO/version.cpp b/src/LSST/cRIO/version.cpp
index bca41b28..d099ef5a 100644
--- a/src/LSST/cRIO/version.cpp
+++ b/src/LSST/cRIO/version.cpp
@@ -1,21 +1,24 @@
/*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * This file is part of ts_cRIOcpp.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/Modbus/Buffer.cpp b/src/Modbus/Buffer.cpp
index 24f8b5a1..73c74ea1 100644
--- a/src/Modbus/Buffer.cpp
+++ b/src/Modbus/Buffer.cpp
@@ -1,23 +1,24 @@
/*
- * Implements generic Modbus Buffer functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/Modbus/BusList.cpp b/src/Modbus/BusList.cpp
index 201af1ca..428347ba 100644
--- a/src/Modbus/BusList.cpp
+++ b/src/Modbus/BusList.cpp
@@ -1,23 +1,24 @@
/*
- * Bus List handling communication (receiving and
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/Modbus/CMakeLists.txt b/src/Modbus/CMakeLists.txt
new file mode 100644
index 00000000..75df02f0
--- /dev/null
+++ b/src/Modbus/CMakeLists.txt
@@ -0,0 +1,7 @@
+target_sources(cRIOcpp
+ PUBLIC
+ Buffer.cpp
+ BusList.cpp
+ CRC.cpp
+ Parser.cpp
+)
diff --git a/src/Modbus/CRC.cpp b/src/Modbus/CRC.cpp
index a27cc4c5..310a5429 100644
--- a/src/Modbus/CRC.cpp
+++ b/src/Modbus/CRC.cpp
@@ -1,23 +1,24 @@
/*
- * Implements generic Modbus Buffer functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/Modbus/Parser.cpp b/src/Modbus/Parser.cpp
index c256d03c..6f88994e 100644
--- a/src/Modbus/Parser.cpp
+++ b/src/Modbus/Parser.cpp
@@ -1,23 +1,24 @@
/*
- * Class parsing modbus buffer device responses.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/Transports/CMakeLists.txt b/src/Transports/CMakeLists.txt
new file mode 100644
index 00000000..976977e1
--- /dev/null
+++ b/src/Transports/CMakeLists.txt
@@ -0,0 +1,7 @@
+target_sources(cRIOcpp
+ PUBLIC
+ FPGASerialDevice.cpp
+ PseudoSerialPort.cpp
+ SimulatedTransport.cpp
+ Transport.cpp
+)
diff --git a/src/Transports/FPGASerialDevice.cpp b/src/Transports/FPGASerialDevice.cpp
index dc70c57d..f799c354 100644
--- a/src/Transports/FPGASerialDevice.cpp
+++ b/src/Transports/FPGASerialDevice.cpp
@@ -1,23 +1,24 @@
/*
- * Serial communication through FPGA FIFOs.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/src/Transports/PseudoSerialPort.cpp b/src/Transports/PseudoSerialPort.cpp
index 784b6667..4474c950 100644
--- a/src/Transports/PseudoSerialPort.cpp
+++ b/src/Transports/PseudoSerialPort.cpp
@@ -1,23 +1,24 @@
/*
- * Serial communication through FPGA FIFOs.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#define _XOPEN_SOURCE 700
diff --git a/src/Transports/SimulatedTransport.cpp b/src/Transports/SimulatedTransport.cpp
index b6219105..db5d7322 100644
--- a/src/Transports/SimulatedTransport.cpp
+++ b/src/Transports/SimulatedTransport.cpp
@@ -1,23 +1,24 @@
/*
- * Class supporting software simulated connections.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include "Transports/SimulatedTransport.h"
diff --git a/src/Transports/Transport.cpp b/src/Transports/Transport.cpp
index 239f6586..fbce2530 100644
--- a/src/Transports/Transport.cpp
+++ b/src/Transports/Transport.cpp
@@ -1,23 +1,24 @@
/*
- * Transport base class for communication.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include "Transports/Transport.h"
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 00000000..6ee635a9
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,73 @@
+#cmake_minimum_required(VERSION 3.23)
+#project(ts_cRIOcpp_tests LANGUAGES CXX)
+
+enable_testing()
+
+find_package(Catch2 3 REQUIRED)
+find_package(yaml-cpp REQUIRED)
+
+add_executable(cRIOcpp_tests)
+
+target_compile_options(cRIOcpp_tests
+ PRIVATE
+ -Wl,--gc-sections -fPIC -fdata-sections -ffunction-sections
+)
+
+target_link_options(cRIOcpp_tests
+ PRIVATE
+ -Wl,--gc-sections -fPIC -fdata-sections -ffunction-sections
+)
+
+target_sources(cRIOcpp_tests
+ PRIVATE
+ TestFPGA.cpp
+ # TODO commented tests cannot be compiled/run. SSW-3080
+ # test_Alias.cpp
+ # test_Application.cpp
+ # test_CSC.cpp
+ test_CliApp.cpp
+ # test_ControllerThread.cpp
+ # test_ElectromechanicalPneumaticILC.cpp
+ # test_FPGACliApp.cpp
+ # test_FirmwareLoad.cpp
+ # test_ILCBusList.cpp
+ # test_IntelHex.cpp
+ test_Join.cpp
+ # test_LimitTrigger.cpp
+ # test_LimitedPID.cpp
+ # test_MPU.cpp
+ # test_MPUTelemetry.cpp
+ # test_ModbusBuffer.cpp
+ # test_Modbus_Buffer.cpp
+ # test_Modbus_BusList.cpp
+ # test_Modbus_Parser.cpp
+ test_NiError.cpp
+ test_PID.cpp
+ # test_PrintILC.cpp
+ # test_SensorMonitor.cpp
+ # test_SimulatedILC.cpp
+ # test_ThermalILC.cpp
+ # test_Thread.cpp
+ # test_Timestamp.cpp
+ # test_simulated_transport.cpp
+ # test_version.cpp
+)
+
+target_sources(cRIOcpp_tests
+ PRIVATE
+ FILE_SET HEADERS
+ FILES
+ TestFPGA.h
+)
+
+target_link_libraries(cRIOcpp_tests
+ PRIVATE
+ cRIOcpp
+ Catch2::Catch2WithMain
+ yaml-cpp
+ readline
+)
+
+#include(CTest)
+#include(Catch)
+#catch_discover_tests(cRIOcpp_tests)
diff --git a/tests/TestFPGA.cpp b/tests/TestFPGA.cpp
index 497898cf..719b15dd 100644
--- a/tests/TestFPGA.cpp
+++ b/tests/TestFPGA.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests FPGA Cli App.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_Alias.cpp b/tests/test_Alias.cpp
index 74e1ab34..9fa232db 100644
--- a/tests/test_Alias.cpp
+++ b/tests/test_Alias.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_Application.cpp b/tests/test_Application.cpp
index 81c168b8..574af1fe 100644
--- a/tests/test_Application.cpp
+++ b/tests/test_Application.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_CSC.cpp b/tests/test_CSC.cpp
index e409c6e2..a60e5504 100644
--- a/tests/test_CSC.cpp
+++ b/tests/test_CSC.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_CliApp.cpp b/tests/test_CliApp.cpp
index 3356f0dc..67c0928e 100644
--- a/tests/test_CliApp.cpp
+++ b/tests/test_CliApp.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
@@ -31,9 +32,9 @@
using namespace LSST::cRIO;
using Catch::Approx;
-class AClass : public CliApp {
+class CliAppTestClass : public CliApp {
public:
- AClass(const char* name, const char* description)
+ CliAppTestClass(const char* name, const char* description)
: CliApp(name, description), interactive(false), test_count(0) {}
bool interactive;
int test_count;
@@ -68,7 +69,7 @@ class AClass : public CliApp {
void processArg(int opt, char* optarg) override;
};
-void AClass::processArg(int opt, char* optarg) {
+void CliAppTestClass::processArg(int opt, char* optarg) {
switch (opt) {
case 'h':
printAppHelp();
@@ -83,8 +84,8 @@ void AClass::processArg(int opt, char* optarg) {
}
TEST_CASE("Test CliApp", "[CliApp]") {
- AClass cli("name", "description");
- cli.addCommand("testcmd", std::bind(&AClass::testCmd, &cli, std::placeholders::_1), "s", 0,
+ CliAppTestClass cli("name", "description");
+ cli.addCommand("testcmd", std::bind(&CliAppTestClass::testCmd, &cli, std::placeholders::_1), "s", 0,
"[ALL|command]", "Prints all command or command help.");
const int argc = 3;
@@ -101,9 +102,9 @@ TEST_CASE("Test CliApp", "[CliApp]") {
}
TEST_CASE("Test int format", "[CliApp]") {
- AClass cli("name", "description");
- cli.addCommand("testcmd", std::bind(&AClass::testInt, &cli, std::placeholders::_1), "I", 0, "[address]",
- "Prints memory at given address.");
+ CliAppTestClass cli("name", "description");
+ cli.addCommand("testcmd", std::bind(&CliAppTestClass::testInt, &cli, std::placeholders::_1), "I", 0,
+ "[address]", "Prints memory at given address.");
const int argc = 1;
const char* const argv[argc] = {"test"};
@@ -133,9 +134,9 @@ TEST_CASE("Test int format", "[CliApp]") {
}
TEST_CASE("Test Hex format", "[CliApp]") {
- AClass cli("name", "description");
- cli.addCommand("testcmd", std::bind(&AClass::testHex, &cli, std::placeholders::_1), "H", 0, "[address]",
- "Prints memory at given address.");
+ CliAppTestClass cli("name", "description");
+ cli.addCommand("testcmd", std::bind(&CliAppTestClass::testHex, &cli, std::placeholders::_1), "H", 0,
+ "[address]", "Prints memory at given address.");
const int argc = 1;
const char* const argv[argc] = {"test"};
@@ -165,8 +166,8 @@ TEST_CASE("Test Hex format", "[CliApp]") {
}
TEST_CASE("Test double format", "[CliApp]") {
- AClass cli("name", "description");
- cli.addCommand("testcmd", std::bind(&AClass::testDouble, &cli, std::placeholders::_1), "D", 0,
+ CliAppTestClass cli("name", "description");
+ cli.addCommand("testcmd", std::bind(&CliAppTestClass::testDouble, &cli, std::placeholders::_1), "D", 0,
"[address]", "Set a parameter.");
const int argc = 1;
diff --git a/tests/test_ControllerThread.cpp b/tests/test_ControllerThread.cpp
index 964e3ce7..2b9a600d 100644
--- a/tests/test_ControllerThread.cpp
+++ b/tests/test_ControllerThread.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIO CPP tests. Tests ControllerThread.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_ElectromechanicalPneumaticILC.cpp b/tests/test_ElectromechanicalPneumaticILC.cpp
index 3cf958ce..7da5c995 100644
--- a/tests/test_ElectromechanicalPneumaticILC.cpp
+++ b/tests/test_ElectromechanicalPneumaticILC.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_FPGACliApp.cpp b/tests/test_FPGACliApp.cpp
index 74c765bc..5df326b9 100644
--- a/tests/test_FPGACliApp.cpp
+++ b/tests/test_FPGACliApp.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests FPGA Cli App.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_FirmwareLoad.cpp b/tests/test_FirmwareLoad.cpp
index 29d5b897..2bf8e99d 100644
--- a/tests/test_FirmwareLoad.cpp
+++ b/tests/test_FirmwareLoad.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests firmware loading.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
@@ -39,10 +40,10 @@ class TestILC : public PrintILC {
TestILC(uint8_t bus) : ILC::ILCBusList(bus), PrintILC(bus) {}
};
-class TestFPGA : public FPGA {
+class FirmwareMockFPGA : public FPGA {
public:
- TestFPGA() : FPGA(SS), _call(0) {}
- ~TestFPGA() { _outStream.close(); }
+ FirmwareMockFPGA() : FPGA(SS), _call(0) {}
+ ~FirmwareMockFPGA() { _outStream.close(); }
void setOutFile(const char* filename) { _outStream.open(filename, std::ifstream::in); }
@@ -69,12 +70,12 @@ class TestFPGA : public FPGA {
void _printBuffer(uint16_t* data, size_t length, const char* prefix, bool cmp = false);
};
-void TestFPGA::writeCommandFIFO(uint16_t* data, size_t length, uint32_t timeout) {
+void FirmwareMockFPGA::writeCommandFIFO(uint16_t* data, size_t length, uint32_t timeout) {
_printBuffer(data, length, "C>", true);
_call = 0xff & (data[5] >> 1);
}
-void TestFPGA::readU16ResponseFIFO(uint16_t* data, size_t length, uint32_t timeout) {
+void FirmwareMockFPGA::readU16ResponseFIFO(uint16_t* data, size_t length, uint32_t timeout) {
if (length == 1) {
switch (_call) {
case 18:
@@ -128,7 +129,7 @@ void TestFPGA::readU16ResponseFIFO(uint16_t* data, size_t length, uint32_t timeo
_printBuffer(data, length, "R<");
}
-void TestFPGA::_printBuffer(uint16_t* data, size_t length, const char* prefix, bool cmp) {
+void FirmwareMockFPGA::_printBuffer(uint16_t* data, size_t length, const char* prefix, bool cmp) {
std::stringstream ss;
ss << prefix << " ";
CliApp::printHexBuffer(data, length, ss);
@@ -147,7 +148,7 @@ TEST_CASE("Test load ILC", "[FirmwareLoad]") {
hex.load("data/ILC-3.hex");
TestILC tILC(1);
- TestFPGA testFPGA;
+ FirmwareMockFPGA testFPGA;
REQUIRE_NOTHROW(testFPGA.setOutFile("data/ILC-3.out"));
REQUIRE_NOTHROW(tILC.programILC(&testFPGA, 18, hex));
}
diff --git a/tests/test_ILCBusList.cpp b/tests/test_ILCBusList.cpp
index 4577d9cf..7b64e1d8 100644
--- a/tests/test_ILCBusList.cpp
+++ b/tests/test_ILCBusList.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_IntelHex.cpp b/tests/test_IntelHex.cpp
index 7142ddc3..a203943c 100644
--- a/tests/test_IntelHex.cpp
+++ b/tests/test_IntelHex.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests IntelHex class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_Join.cpp b/tests/test_Join.cpp
index 8b253eca..0b046cb6 100644
--- a/tests/test_Join.cpp
+++ b/tests/test_Join.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_LimitTrigger.cpp b/tests/test_LimitTrigger.cpp
index 1d6b30a8..da89efb2 100644
--- a/tests/test_LimitTrigger.cpp
+++ b/tests/test_LimitTrigger.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIO CPP tests. Tests LimitTrigger.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_LimitedPID.cpp b/tests/test_LimitedPID.cpp
index f6158ae6..5e761b99 100644
--- a/tests/test_LimitedPID.cpp
+++ b/tests/test_LimitedPID.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 SS test suite. Tests software PID.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_MPU.cpp b/tests/test_MPU.cpp
index 3cd24996..742b8709 100644
--- a/tests/test_MPU.cpp
+++ b/tests/test_MPU.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests MPU class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_MPUTelemetry.cpp b/tests/test_MPUTelemetry.cpp
index b6e43487..451e3b98 100644
--- a/tests/test_MPUTelemetry.cpp
+++ b/tests/test_MPUTelemetry.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests MPU class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_ModbusBuffer.cpp b/tests/test_ModbusBuffer.cpp
index dec6e9e2..e0188c9a 100644
--- a/tests/test_ModbusBuffer.cpp
+++ b/tests/test_ModbusBuffer.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests Modbus buffer class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
@@ -146,7 +147,7 @@ TEST_CASE("WriteIxx", "[ModbusBuffer]") {
REQUIRE_NOTHROW(mbuf.checkCRC());
}
-TEST_CASE("WriteSGL", "[ModbusBuffer]") {
+TEST_CASE("ModbusBuffer_WriteSGL", "[ModbusBuffer]") {
TestModbusBuffer mbuf;
mbuf.write(0.123);
mbuf.write(-6758.1234f);
diff --git a/tests/test_Modbus_Buffer.cpp b/tests/test_Modbus_Buffer.cpp
index e13d80e0..3c8933ce 100644
--- a/tests/test_Modbus_Buffer.cpp
+++ b/tests/test_Modbus_Buffer.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests Modbus buffer class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_Modbus_BusList.cpp b/tests/test_Modbus_BusList.cpp
index d46d979a..8890c558 100644
--- a/tests/test_Modbus_BusList.cpp
+++ b/tests/test_Modbus_BusList.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests Modbus buffer class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_Modbus_Parser.cpp b/tests/test_Modbus_Parser.cpp
index 80e0d885..a7606688 100644
--- a/tests/test_Modbus_Parser.cpp
+++ b/tests/test_Modbus_Parser.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests Modbus buffer class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_NiError.cpp b/tests/test_NiError.cpp
index 44b37fdd..22f39a68 100644
--- a/tests/test_NiError.cpp
+++ b/tests/test_NiError.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 support system package.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_PID.cpp b/tests/test_PID.cpp
index 953dd43e..19489acf 100644
--- a/tests/test_PID.cpp
+++ b/tests/test_PID.cpp
@@ -1,7 +1,7 @@
/*
- * This file is part of LSST M1M3 SS test suite. Tests software PID.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Telescope and Site System.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
@@ -14,11 +14,11 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_PrintILC.cpp b/tests/test_PrintILC.cpp
index 7e8355db..5f3ef622 100644
--- a/tests/test_PrintILC.cpp
+++ b/tests/test_PrintILC.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests IntelHex class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#define CATCH_CONFIG_MAIN
diff --git a/tests/test_SensorMonitor.cpp b/tests/test_SensorMonitor.cpp
index c5f467de..5aa44209 100644
--- a/tests/test_SensorMonitor.cpp
+++ b/tests/test_SensorMonitor.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC Sensor Monitor functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_SimulatedILC.cpp b/tests/test_SimulatedILC.cpp
index ea4866c1..9184e546 100644
--- a/tests/test_SimulatedILC.cpp
+++ b/tests/test_SimulatedILC.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests SimulationBuffer functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_ThermalILC.cpp b/tests/test_ThermalILC.cpp
index ce64860e..4d4b6f87 100644
--- a/tests/test_ThermalILC.cpp
+++ b/tests/test_ThermalILC.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_Thread.cpp b/tests/test_Thread.cpp
index 562ea6f3..fc416ea5 100644
--- a/tests/test_Thread.cpp
+++ b/tests/test_Thread.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_Timestamp.cpp b/tests/test_Timestamp.cpp
index faa61b65..26640994 100644
--- a/tests/test_Timestamp.cpp
+++ b/tests/test_Timestamp.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests Modbus buffer class.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_simulated_transport.cpp b/tests/test_simulated_transport.cpp
index ff8b8177..6d5e440c 100644
--- a/tests/test_simulated_transport.cpp
+++ b/tests/test_simulated_transport.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include
diff --git a/tests/test_version.cpp b/tests/test_version.cpp
index 20d384d1..dc82b029 100644
--- a/tests/test_version.cpp
+++ b/tests/test_version.cpp
@@ -1,23 +1,24 @@
/*
- * This file is part of LSST cRIOcpp test suite. Tests ILC generic functions.
+ * This file is part of ts_cRIOcpp.
*
- * Developed for the Vera C. Rubin Observatory Telescope & Site Software Systems.
- * This product includes software developed by the Vera C.Rubin Observatory Project
- * (https://www.lsst.org). See the COPYRIGHT file at the top-level directory of
- * this distribution for details of code ownership.
+ * Developed for the Vera C. Rubin Observatory Telescope and Site Systems.
+ * This product includes software developed by the LSST Project
+ * (https://www.lsst.org).
+ * See the COPYRIGHT file at the top-level directory of this distribution
+ * for details of code ownership.
*
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation, either version 3 of the License, or (at your option)
- * any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along with
- * this program. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
*/
#include