32 lines
719 B
Plaintext
32 lines
719 B
Plaintext
|
menuconfig MOTOR_FOC
|
||
|
bool "FOC (Field Oriented Controller) driver support"
|
||
|
default n
|
||
|
---help---
|
||
|
Enables building of the "upper-half" FOC driver.
|
||
|
|
||
|
if MOTOR_FOC
|
||
|
|
||
|
config MOTOR_FOC_INST
|
||
|
int "FOC instances"
|
||
|
default 1
|
||
|
|
||
|
config MOTOR_FOC_PHASES
|
||
|
int "FOC phases number"
|
||
|
default 3
|
||
|
|
||
|
config MOTOR_FOC_SHUNTS
|
||
|
int "FOC number of shunts"
|
||
|
range 1 3
|
||
|
default 3
|
||
|
---help---
|
||
|
Number of shunts supported (or other types of current sensors).
|
||
|
Any current recontruction must be done on the lower-half side.
|
||
|
|
||
|
config MOTOR_FOC_TRACE
|
||
|
bool "FOC trace support"
|
||
|
default n
|
||
|
---help---
|
||
|
Enables FOC driver trace interface.
|
||
|
|
||
|
endif #MOTOR_FOC
|