incubator-nuttx/drivers/motor/Kconfig

91 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig MOTOR
bool "Motor control drivers"
default n
if MOTOR
config MOTOR_UPPER
bool "Motor generic upper-half driver"
default n
---help---
Enables building of a motor generic upper half driver.
if MOTOR_UPPER
config MOTOR_UPPER_HAVE_POSITION
bool "Have position control"
default n
config MOTOR_UPPER_HAVE_DIRECTION
bool "Have direction control"
default n
config MOTOR_UPPER_HAVE_SPEED
bool "Have speed control"
default n
config MOTOR_UPPER_HAVE_TORQUE
bool "Have torque control (rotary motors)"
default n
config MOTOR_UPPER_HAVE_FORCE
bool "Have force control (linear motors)"
default n
config MOTOR_UPPER_HAVE_ACCELERATION
bool "Have acceleration control"
default n
config MOTOR_UPPER_HAVE_DECELERATION
bool "Have deceleration control"
default n
config MOTOR_UPPER_HAVE_INPUT_VOLTAGE
bool "Have input voltage protection"
default n
config MOTOR_UPPER_HAVE_INPUT_CURRENT
bool "Have input current protection"
default n
config MOTOR_UPPER_HAVE_INPUT_POWER
bool "Have input power protection"
default n
endif
source "drivers/motor/foc/Kconfig"
endif # MOTOR
menuconfig STEPPER
bool "Stepper control drivers"
default n
if STEPPER
config STEPPER_UPPER
bool "Stepper Motor Generic upper-half driver"
default n
---help---
Enables building of a stepper generic upper half driver.
config STEPPER_A4988
bool "A4988 Stepper Motor Driver"
default n
---help---
Enables A4988 stepper driver.
config STEPPER_DRV8825
bool "DRV8825 Stepper Motor Driver"
default n
---help---
Enables DRV8825 stepper driver.
endif # STEPPER