systemlib: Add parameters to control thermal calibration startup behaviour

This commit is contained in:
Paul Riseborough
2017-02-02 17:37:38 +11:00
committed by Lorenz Meier
parent f86347f1e2
commit 8aa91512e9

View File

@@ -162,3 +162,62 @@ PARAM_DEFINE_INT32(SYS_LOGGER, 0);
* @group System
*/
PARAM_DEFINE_INT32(SYS_STCK_EN, 0);
/**
* Enable auto start of rate gyro thermal calibration at the next power up.
*
* 0 : Set to 0 to do nothing
* 1 : Set to 1 to start a calibration at next boot
* This parameter is reset to zero when the the temperature calibration starts.
*
* default (0, no calibration)
*
* @group System
* @min 0
* @max 1
*/
PARAM_DEFINE_INT32(SYS_CAL_GYRO, 0);
/**
* Enable auto start of accelerometer thermal calibration at the next power up.
*
* 0 : Set to 0 to do nothing
* 1 : Set to 1 to start a calibration at next boot
* This parameter is reset to zero when the the temperature calibration starts.
*
* default (0, no calibration)
*
* @group System
* @min 0
* @max 1
*/
PARAM_DEFINE_INT32(SYS_CAL_ACCEL, 0);
/**
* Enable auto start of barometer thermal calibration at the next power up.
*
* 0 : Set to 0 to do nothing
* 1 : Set to 1 to start a calibration at next boot
* This parameter is reset to zero when the the temperature calibration starts.
*
* default (0, no calibration)
*
* @group System
* @min 0
* @max 1
*/
PARAM_DEFINE_INT32(SYS_CAL_BARO, 0);
/**
* Required temperature rise during thermal calibration
*
* A temperature increase greater than this value is required during calibration performed by the setting of SYS_TEMP_CAL.
* Calibration will complete for each sensor when the temperature increase above the starting temeprature exceeds SYS_TEMP_RISE.
* If the temperature rise is insufficient, the calibration will continue indefinitely and the board will need to be repowered to exit.
*
* @unit deg C
* @min 10
* @max 50
* @group System
*/
PARAM_DEFINE_INT32(SYS_TEMP_RISE, 24);