Open-source library for medical device software.
This library are being developed following processes adhering to IEC 62304 and IEC 60601-1 chapter 14. At least one versioned release will be used in a TGM device by RSP Systems and submitted for FDA approval.
Developed by RSP Systems A/S.
This project has several development dependencies that must be installed, before you are able to build it.
In the root of the project, run the following script:
sudo ./install-dev-libraries.sh
The code is using some C++ 20 features, so make sure to use a recent compiler to build the project. To install GCC-11 on Ubuntu 20.04:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt install gcc-11 g++-11
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11
sudo update-alternatives --config gcc
To build the library and accompanied test, simply go into the build directory and run cmake ..
:
cd build
cmake ..
make
Tests can now be executed with ./rsp-core-lib-test
or simply ctest
This package follows Semantic Versioning 2.0.0
MPL-2.0, please read the LICENSE
file included in this project.
For developers working on this project, please ensure that all source files include the following header:
/*!
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* \copyright Copyright 2021 RSP Systems A/S. All rights reserved.
* \license Mozilla Public License 2.0
* \author <name>
*/
Note: To add \license
tag to doxygen, please see stackoverflow answer.