Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions drivers/motor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ add_subdirectory_ifdef(CONFIG_MOTOR_LK lk)

add_subdirectory_ifdef(CONFIG_MOTOR_DM dm)

add_subdirectory_ifdef(CONFIG_MOTOR_GQ gq)

add_subdirectory_ifdef(CONFIG_MOTOR_RS robstride)

add_subdirectory_ifdef(CONFIG_MOTOR_VESC vesc)
Expand Down
6 changes: 6 additions & 0 deletions drivers/motor/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ config MOTOR_DM
Add support for dm motors
select MOTOR_COMMON

config MOTOR_GQ
bool "MOTOR GQ"
help
Add support for Gaoqing motors over classic CAN or CAN FD.
select MOTOR_COMMON

config MOTOR_DM_DEFAULT_FREQ_HZ
int "Default DM motor request frequency in Hz"
default 200
Expand Down
5 changes: 5 additions & 0 deletions drivers/motor/gq/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2026 ttwards <12411711@mail.sustech.edu.cn>
# SPDX-License-Identifier: Apache-2.0

zephyr_library()
zephyr_library_sources_ifdef(CONFIG_MOTOR_GQ motor_gq.c)
Loading
Loading