1# Copyright 2023 Google LLC 2# SPDX-License-Identifier: Apache-2.0 3 4config INPUT_ANALOG_AXIS 5 bool "ADC based analog axis input driver" 6 default y 7 depends on DT_HAS_ANALOG_AXIS_ENABLED 8 depends on MULTITHREADING 9 select ADC 10 help 11 ADC based analog axis input driver 12 13if INPUT_ANALOG_AXIS 14 15config INPUT_ANALOG_AXIS_THREAD_STACK_SIZE 16 int "Stack size for the analog axis thread" 17 default 762 18 help 19 Size of the stack used for the analog axis thread. 20 21config INPUT_ANALOG_AXIS_THREAD_PRIORITY 22 int "Priority for the analog axis thread" 23 default 0 24 help 25 Priority level of the analog axis thread. 26 27config INPUT_ANALOG_AXIS_SETTINGS 28 bool "Analog axis settings support" 29 default y 30 depends on SETTINGS 31 help 32 Settings support for the analog axis driver, exposes a 33 analog_axis_calibration_save() function to save the calibration into 34 settings and load them automatically on startup. 35 36config INPUT_ANALOG_AXIS_SETTINGS_MAX_AXES 37 int "Maximum number of axes supported in the settings." 38 default 8 39 help 40 Maximum number of axes that can have calibration value saved in 41 settings. 42 43endif 44