From bc5856fe45831cf05f723cf9ca6b76461c9a1ee9 Mon Sep 17 00:00:00 2001 From: Igor Zalatov Date: Sat, 24 Dec 2022 21:52:49 +0300 Subject: [PATCH] Add ms32006 motor driver support (#599) --- .gitignore | 1 + general/package/motors/motors.mk | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ca498054..113abee2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ buildroot-*/ output/ +buildroot-* diff --git a/general/package/motors/motors.mk b/general/package/motors/motors.mk index bdc9b322..e0903f7b 100644 --- a/general/package/motors/motors.mk +++ b/general/package/motors/motors.mk @@ -1,22 +1,24 @@ ################################################################################ # -# motors | updated 2021.11.06 +# motors | updated 2022.12.24 # ################################################################################ -MOTORS_VERSION = 32ba1309e739c068a89132aaebcde69b71fdaf4a +MOTORS_VERSION = d6a16ef7907c62381b24cd27a00cbf00e038f110 MOTORS_SITE = $(call github,openipc,motors,$(MOTORS_VERSION)) MOTORS_LICENSE = MIT MOTORS_LICENSE_FILES = LICENSE define MOTORS_BUILD_CMDS (cd $(@D)/camhi-motor; $(TARGET_CC) -Os -s main.c -o camhi-motor) + (cd $(@D)/i2c-motor; $(TARGET_CC) -Os -s main.c -o i2c-motor) (cd $(@D)/xm-kmotor; $(TARGET_CC) -Os -s main.c -o xm-kmotor) (cd $(@D)/xm-uart; $(TARGET_CC) -Os -s main.c -o xm-uart) endef define MOTORS_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 -D $(@D)/camhi-motor/camhi-motor $(TARGET_DIR)/usr/bin/camhi-motor + $(INSTALL) -m 0755 -D $(@D)/i2c-motor/i2c-motor $(TARGET_DIR)/usr/bin/i2c-motor $(INSTALL) -m 0755 -D $(@D)/xm-kmotor/xm-kmotor $(TARGET_DIR)/usr/bin/xm-kmotor $(INSTALL) -m 0755 -D $(@D)/xm-uart/xm-uart $(TARGET_DIR)/usr/bin/xm-uart endef