mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
d04c21bb8b
native_motor_driver_qdec_simulation() callback is called each time motor_set() from motor_driver driver is called. It set associated qdec value to the PWM duty cycle. QDEC values are stored in qdecs_value[] array in the order motors are described in board.h. Then it is needed to configure in first motors that needs the QDEC in board.h. Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
16 lines
452 B
Makefile
16 lines
452 B
Makefile
# Put defined MCU peripherals here (in alphabetical order)
|
|
FEATURES_PROVIDED += periph_rtc
|
|
FEATURES_PROVIDED += periph_timer
|
|
FEATURES_PROVIDED += periph_uart
|
|
FEATURES_PROVIDED += periph_gpio
|
|
FEATURES_PROVIDED += periph_pwm
|
|
FEATURES_PROVIDED += periph_qdec
|
|
|
|
# Various other features (if any)
|
|
FEATURES_PROVIDED += ethernet
|
|
|
|
# The board MPU family (used for grouping by the CI system)
|
|
FEATURES_MCU_GROUP = x86
|
|
|
|
include $(RIOTCPU)/native/Makefile.features
|