summaryrefslogtreecommitdiff
path: root/libsensors_iio/Kconfig_menu
diff options
context:
space:
mode:
Diffstat (limited to 'libsensors_iio/Kconfig_menu')
-rw-r--r--libsensors_iio/Kconfig_menu/Kconfig_common57
-rw-r--r--libsensors_iio/Kconfig_menu/Kconfig_drivers13
-rw-r--r--libsensors_iio/Kconfig_menu/Kconfig_enable_sensors192
-rw-r--r--libsensors_iio/Kconfig_menu/Kconfig_fusion_config31
4 files changed, 0 insertions, 293 deletions
diff --git a/libsensors_iio/Kconfig_menu/Kconfig_common b/libsensors_iio/Kconfig_menu/Kconfig_common
deleted file mode 100644
index 697aa5f..0000000
--- a/libsensors_iio/Kconfig_menu/Kconfig_common
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Common configuration
-#
-
-menu "Common configuration"
-config ST_HAL_MAX_SAMPLING_FREQUENCY
- int "Max sampling frequency selectable [Hz]"
- range 50 400
- default 200
- help
- Maximium value of sampling frequency that can be used in IIO driver.
-
-config ST_HAL_DEBUG_LEVEL
- int "Debug level"
- range 0 3
- default 0
- help
- Debugging information level. [0 - 3]
- 0: error only;
- 1: info messages;
- 2: verbose;
- 3: extra-verbose;
-
-if ST_HAL_ACCEL_ENABLED
-config ST_HAL_ACCEL_ROT_MATRIX
- string "Accelerometer Rotation matrix"
- default "1,0,0,0,1,0,0,0,1"
-
-config ST_HAL_ACCEL_RANGE
- int "Accelerometer Max Range (m/s^2)"
- default 17
-
-endif
-
-if ST_HAL_MAGN_ENABLED || ST_HAL_MAGN_UNCALIB_HW_ENABLED
-config ST_HAL_MAGN_ROT_MATRIX
- string "Magnetometer Rotation matrix"
- default "1,0,0,0,1,0,0,0,1"
-
-config ST_HAL_MAGN_RANGE
- int "Magnetometer Max Range (uTesla)"
- default 1000
-
-endif
-
-if ST_HAL_GYRO_ENABLED || ST_HAL_GYRO_UNCALIB_HW_ENABLED
-config ST_HAL_GYRO_ROT_MATRIX
- string "Gyroscope Rotation matrix"
- default "1,0,0,0,1,0,0,0,1"
-
-config ST_HAL_GYRO_RANGE
- int "Gyroscope Max Range (rad/sec)"
- default 35
-
-endif
-
-endmenu # Common configuration
diff --git a/libsensors_iio/Kconfig_menu/Kconfig_drivers b/libsensors_iio/Kconfig_menu/Kconfig_drivers
deleted file mode 100644
index c45c70c..0000000
--- a/libsensors_iio/Kconfig_menu/Kconfig_drivers
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# IIO drivers configuration
-#
-
-menu "IIO supported sensors"
-
-config ST_HAL_LSM6DS3_ENABLED
- bool "LSM6DS3 sensor"
- default y
- help
- Enable support for LSM6DS3 sensor.
-
-endmenu # IIO drivers configuration
diff --git a/libsensors_iio/Kconfig_menu/Kconfig_enable_sensors b/libsensors_iio/Kconfig_menu/Kconfig_enable_sensors
deleted file mode 100644
index 740f88a..0000000
--- a/libsensors_iio/Kconfig_menu/Kconfig_enable_sensors
+++ /dev/null
@@ -1,192 +0,0 @@
-#
-# Enable/Disable sensors
-#
-
-menu "Enable/disable sensors"
-config ST_HAL_ACCEL_ENABLED
- bool "Accelerometer sensor"
- default y
- help
- Enable support for Accelerometer sensor.
-
-config ST_HAL_MAGN_ENABLED
- bool "Magnetometer sensor"
- default y
- help
- Enable support for Magnetometer sensor.
-
-if ST_HAL_MAGN_ENABLED && ST_HAL_HAS_MAGN_CALIB
-config ST_HAL_MAGN_CALIB_ENABLED
- bool "Enable Magnetometer calibration Library"
- depends on ST_HAL_ACCEL_ENABLED
- default n
- help
- Enable Magnetometer calibration library on Software by Application Processor Library.
-
-endif
-
-config ST_HAL_GYRO_ENABLED
- bool "Gyroscope sensor"
- default y
- help
- Enable support for Gyroscope sensor.
-
-if ST_HAL_GYRO_ENABLED && ST_HAL_HAS_GYRO_GBIAS_ESTIMATION
-config ST_HAL_GYRO_GBIAS_ESTIMATION_ENABLED
- bool "Enable Gyroscope gbias estimation Library"
- depends on ST_HAL_ACCEL_ENABLED
- default n
- help
- Enable Gyroscope bias library estimation on Software by Application Processor Library.
-
-endif
-
-choice
- prompt "Magnetometer Uncalibrated sensor"
- default ST_HAL_MAGN_UNCALIB_DISABLED
- help
- Enable support for Magnetometer Uncalibrated sensor.
-
-config ST_HAL_MAGN_UNCALIB_DISABLED
- bool "Disabled"
-config ST_HAL_MAGN_UNCALIB_AP_ENABLED
- depends on ST_HAL_MAGN_CALIB_ENABLED
- bool "Software by Application Processor Library"
-endchoice
-
-choice
- prompt "Gyroscope Uncalibrated sensor"
- default ST_HAL_GYRO_UNCALIB_DISABLED
- help
- Enable support for Gyroscope Uncalibrated sensor.
-
-config ST_HAL_GYRO_UNCALIB_DISABLED
- bool "Disabled"
-config ST_HAL_GYRO_UNCALIB_AP_ENABLED
- depends on ST_HAL_GYRO_GBIAS_ESTIMATION_ENABLED
- bool "Software by Application Processor Library"
-endchoice
-
-config ST_HAL_SIGN_MOTION_ENABLED
- bool "Significant Motion sensor"
- default y
- help
- Enable support for Significant Motion sensor.
-
-config ST_HAL_STEP_DETECTOR_ENABLED
- bool "Step Detector sensor sensor"
- default y
- help
- Enable support for Step Detector sensor.
-
-config ST_HAL_STEP_COUNTER_ENABLED
- bool "Step Counter sensor"
- default y
- help
- Enable support for Step Counter sensor.
-
-config ST_HAL_TILT_ENABLED
- bool "Tilt sensor"
- default y
- help
- Enable support for Tilt sensor.
-
-config ST_HAL_PRESSURE_ENABLED
- bool "Pressure sensor"
- default y
- help
- Enable support for Pressure sensor.
-
-choice
- prompt "Orientation sensor"
- default ST_HAL_ORIENTATION_DISABLED
- help
- Enable support for Orientation sensor.
-
-config ST_HAL_ORIENTATION_DISABLED
- bool "Disabled"
-config ST_HAL_ORIENTATION_AP_ENABLED
- depends on ST_HAL_HAS_9AX_FUSION
- depends on ST_HAL_ACCEL_ENABLED
- depends on ST_HAL_MAGN_ENABLED
- depends on ST_HAL_GYRO_ENABLED
- bool "Software by Application Processor Library"
-endchoice
-
-choice
- prompt "Gravity sensor"
- default ST_HAL_GRAVITY_DISABLED
- help
- Enable support for Gravity sensor.
-
-config ST_HAL_GRAVITY_DISABLED
- bool "Disabled"
-config ST_HAL_GRAVITY_AP_ENABLED
- depends on ST_HAL_HAS_6AX_FUSION
- depends on ST_HAL_ACCEL_ENABLED
- depends on ST_HAL_GYRO_ENABLED
- bool "Software by Application Processor Library"
-endchoice
-
-choice
- prompt "Linear Acceleration sensor"
- default ST_HAL_LINEAR_DISABLED
- help
- Enable support for Linear Acceleration sensor.
-
-config ST_HAL_LINEAR_DISABLED
- bool "Disabled"
-config ST_HAL_LINEAR_AP_ENABLED
- depends on ST_HAL_HAS_6AX_FUSION
- depends on ST_HAL_ACCEL_ENABLED
- depends on ST_HAL_GYRO_ENABLED
- bool "Software by Application Processor Library"
-endchoice
-
-choice
- prompt "Rotation Vector sensor"
- default ST_HAL_ROT_VECTOR_DISABLED
- help
- Enable support for Rotation Vector sensor.
-
-config ST_HAL_ROT_VECTOR_DISABLED
- bool "Disabled"
-config ST_HAL_ROT_VECTOR_AP_ENABLED
- depends on ST_HAL_HAS_9AX_FUSION
- depends on ST_HAL_ACCEL_ENABLED
- depends on ST_HAL_MAGN_ENABLED
- depends on ST_HAL_GYRO_ENABLED
- bool "Software by Application Processor Library"
-endchoice
-
-choice
- prompt "Game Rotation Vector sensor"
- default ST_HAL_GAME_ROT_VECTOR_DISABLED
- help
- Enable support for Game Rotation Vector sensor.
-
-config ST_HAL_GAME_ROT_VECTOR_DISABLED
- bool "Disabled"
-config ST_HAL_GAME_ROT_VECTOR_AP_ENABLED
- depends on ST_HAL_HAS_6AX_FUSION
- depends on ST_HAL_ACCEL_ENABLED
- depends on ST_HAL_GYRO_ENABLED
- bool "Software by Application Processor Library"
-endchoice
-
-choice
- prompt "Geomagnetic Rotation Vector sensor"
- default ST_HAL_GEOMAG_ROT_VECTOR_DISABLED
- help
- Enable support for Geomagnetic Rotation Vector sensor.
-
-config ST_HAL_GEOMAG_ROT_VECTOR_DISABLED
- bool "Disabled"
-config ST_HAL_GEOMAG_ROT_VECTOR_AP_ENABLED
- depends on ST_HAL_HAS_GEOMAG_FUSION
- depends on ST_HAL_ACCEL_ENABLED
- depends on ST_HAL_MAGN_ENABLED
- bool "Software by Application Processor Library"
-endchoice
-
-endmenu # Enable/disable sensors
diff --git a/libsensors_iio/Kconfig_menu/Kconfig_fusion_config b/libsensors_iio/Kconfig_menu/Kconfig_fusion_config
deleted file mode 100644
index 843ed45..0000000
--- a/libsensors_iio/Kconfig_menu/Kconfig_fusion_config
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# SensorFusion configuration
-#
-
-if ST_HAL_HAS_6AX_FUSION || ST_HAL_HAS_9AX_FUSION || ST_HAL_HAS_GEOMAG_FUSION
-menu "SensorFusion configuration"
-
-config ST_HAL_MIN_FUSION_POLLRATE
- int "Min SensorFusion run frequency [Hz]"
- range 20 ST_HAL_MAX_SAMPLING_FREQUENCY
- default 50
-
-config ST_HAL_INEMO_GBIAS_THRESOLD_ACCEL
- string "Accelerometer Gbias thresold"
- default "86999e-9"
-
-if ST_HAL_HAS_9AX_FUSION || ST_HAL_HAS_GEOMAG_FUSION
-config ST_HAL_INEMO_GBIAS_THRESOLD_MAGN
- string "Magnetometer Gbias thresold"
- default "599999e-9"
-
-endif
-
-if ST_HAL_HAS_6AX_FUSION || ST_HAL_HAS_9AX_FUSION
-config ST_HAL_INEMO_GBIAS_THRESOLD_GYRO
- string "Gyroscope Gbias thresold"
- default "114999e-9"
-
-endif
-endmenu # Sensor Fusion configuration
-endif