From 474ea3ded30fd3b968e83cc74f3d05c19d85956f Mon Sep 17 00:00:00 2001 From: Robofish <1683502971@qq.com> Date: Mon, 18 Aug 2025 03:27:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/User_code/config.csv | 2 +- assets/User_code/device/config.yaml | 36 ++++++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/assets/User_code/config.csv b/assets/User_code/config.csv index 08417cb..6bc52f4 100644 --- a/assets/User_code/config.csv +++ b/assets/User_code/config.csv @@ -1,4 +1,4 @@ bsp,can,dwt,gpio,i2c,mm,spi,uart,pwm,time component,ahrs,ballistics,capacity,cmd,crc8,crc16,error_detect,filter,FreeRTOS_CLI,limiter,mixer,pid,ui,user_math -device,dr16,bmi088,ist8310,motor,motor_rm +device,dr16,bmi088,ist8310,motor,motor_rm,motor_vesc,motor_odrive module, \ No newline at end of file diff --git a/assets/User_code/device/config.yaml b/assets/User_code/device/config.yaml index 3c81739..72be95c 100644 --- a/assets/User_code/device/config.yaml +++ b/assets/User_code/device/config.yaml @@ -73,4 +73,38 @@ devices: - name: "SIGNAL_IST8310_MAGN_NEW_DATA" files: header: "ist8310.h" - source: "ist8310.c" \ No newline at end of file + source: "ist8310.c" + + motor_vesc: + name: "VESC 电调" + description: "VESC 电调驱动" + dependencies: + bsp: ["can", "time"] + files: + header: "motor_vesc.h" + source: "motor_vesc.c" + + motor_odrive: + name: "ODrive 电机" + description: "ODrive 电机驱动" + dependencies: + bsp: ["can", "time"] + files: + header: "motor_odrive.h" + source: "motor_odrive.c" + + motor_rm: + name: "RM 电机" + description: "RM 电机驱动" + dependencies: + bsp: ["can", "time"] + files: + header: "motor_rm.h" + source: "motor_rm.c" + + motor: + name: "通用电机" + description: "通用电机驱动" + files: + header: "motor.h" + source: "motor.c" \ No newline at end of file