2021-03-29 12:18:07 +02:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2021-04-16 10:57:14 +02:00
|
|
|
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
|
|
|
|
|
2021-03-29 12:18:07 +02:00
|
|
|
source "drivers/motor/foc/Kconfig"
|
|
|
|
|
|
|
|
endif # MOTOR
|
2023-10-11 09:46:50 +02:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2023-10-15 10:10:29 +02:00
|
|
|
config STEPPER_DRV8825
|
|
|
|
bool "DRV8825 Stepper Motor Driver"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables DRV8825 stepper driver.
|
|
|
|
|
2023-10-11 09:46:50 +02:00
|
|
|
endif # STEPPER
|