mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
drivers/foc: add support for drv8301 power-stage driver
This commit is contained in:
@@ -30,6 +30,10 @@ ifeq ($(CONFIG_MOTOR_FOC_FOCPWR),y)
|
||||
CSRCS += foc_pwr.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_MOTOR_FOC_DRV8301),y)
|
||||
CSRCS += drv8301.c
|
||||
endif
|
||||
|
||||
# Include FOC driver build support
|
||||
|
||||
DEPPATH += --dep-path motor$(DELIM)foc
|
||||
|
||||
Reference in New Issue
Block a user