C++ software item implementing event-driven pressure adjustment for the respiratory therapy device (see p4samd requirements REQ-0002, REQ-0003, REQ-0004).
Dependencies are managed with Conan (conanfile.txt,
conan.lock); fmt is used to format the adjustment log line.
pip install conan
conan profile detect # first time only
conan install . --output-folder=build --build=missing --lockfile=conan.lock
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build/conan_toolchain.cmake -DPFC_BUILD_TESTS=ON
cmake --build build -j
build/pfc_tests --gtest_output=xml:build/junit-report.xmlThe GitHub Actions workflow (.github/workflows/ci.yml) runs the same
steps and publishes the JUnit report as a check run and build artifact,
ready to be uploaded to p4samd.
See design.md (provided separately for the SWI in p4samd) for the design
rationale.