aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/cal_database_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* cal: database: Add option to register flash cal callbacksMartin Braun2020-05-201-0/+36
| | | | | | | | | | | This adds the possibility to read cal data from flash/EEPROM by adding callbacks to the database. Unlike the RC and FILESYSTEM data, this is very device-specific, but we can let devices register callbacks in the database so that reading cal data from flash can use the same APIs as from RC or filesystem. Note that this also gives a convenient way to inject call data during unit tests, if desired.
* uhd: cal: Add database classMartin Braun2020-03-261-0/+88
This class contains methods to store and retrieve data from the local calibration database. Note that in this case, the "database" is just a bunch of files on the local filesystem.