Kconfig 1014 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Sensor configuration options
  2. # Copyright (c) 2016 Intel Corporation
  3. # SPDX-License-Identifier: Apache-2.0
  4. menuconfig SENSOR
  5. bool "Sensor Drivers"
  6. help
  7. Include sensor drivers in system config
  8. if SENSOR
  9. module = SENSOR
  10. module-str = sensor
  11. source "subsys/logging/Kconfig.template.log_config"
  12. config SENSOR_INIT_PRIORITY
  13. int "Sensor init priority"
  14. default 90
  15. help
  16. Sensor initialization priority.
  17. config SENSOR_SHELL
  18. bool "Enable sensor shell"
  19. depends on SHELL
  20. select CBPRINTF_FP_SUPPORT
  21. default y if !SHELL_MINIMAL
  22. help
  23. This shell provides access to basic sensor data.
  24. config SENSOR_SHELL_BATTERY
  25. bool "Enable sensor shell 'battery' command"
  26. depends on SHELL
  27. help
  28. This enables the 'battery' command which reports charging information
  29. in a convenient format. It makes use of a fuel gauge to read its
  30. information.
  31. comment "Device Drivers"
  32. source "drivers/sensor/lis2dw12/Kconfig"
  33. source "drivers/sensor/lps22hh/Kconfig"
  34. source "drivers/sensor/lsm6dso/Kconfig"
  35. endif # SENSOR