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