1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/driver_motor_driver/Makefile
Gilles DOFFE 37cfd17de6 tests: add motor_driver test
Test motor_driver API by making 2 motors turn clockwise and
counter-clockwise alternatively.
Speed varies from 0 to max PWM duty cycle.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00

17 lines
316 B
Makefile

BOARD ?= native
include ../Makefile.tests_common
USEMODULE += motor_driver
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += xtimer
FEATURES_REQUIRED += periph_qdec
FEATURES_REQUIRED += motor_driver
CFLAGS += -DLOG_LEVEL=LOG_DEBUG
CFLAGS += -DDEBUG_ASSERT_VERBOSE
include $(RIOTBASE)/Makefile.include