calibration: add SYS_FAC_CAL_MODE parameter

If set, stores calibration parameters in separate storage /fs/mtd_caldata.
This commit is contained in:
Beat Küng
2020-10-12 15:22:26 +02:00
parent f1f6ca21cb
commit ff3008c051
8 changed files with 244 additions and 0 deletions
+13
View File
@@ -234,6 +234,19 @@ PARAM_DEFINE_INT32(SYS_HAS_MAG, 1);
*/
PARAM_DEFINE_INT32(SYS_HAS_BARO, 1);
/**
* Enable factory calibration mode
*
* If enabled, future sensor calibrations will be stored to /fs/mtd_caldata.
*
* Note: this is only supported on boards with a separate calibration storage
* /fs/mtd_caldata.
*
* @boolean
* @group System
*/
PARAM_DEFINE_INT32(SYS_FAC_CAL_MODE, 0);
/**
* Bootloader update
*