mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
f3130a3a81
Add motor_driver driver configuration example. The most simple motor driver type is used here (MOTOR_DRIVER_1_DIR) which needs only one pin to work. This example uses already configured PWM channels and 2 free GPIOS. Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
21 lines
638 B
Makefile
21 lines
638 B
Makefile
# Put defined MCU peripherals here (in alphabetical order)
|
|
FEATURES_PROVIDED += periph_adc
|
|
FEATURES_PROVIDED += periph_i2c
|
|
FEATURES_PROVIDED += periph_pwm
|
|
FEATURES_PROVIDED += periph_rtc
|
|
FEATURES_PROVIDED += periph_spi
|
|
FEATURES_PROVIDED += periph_timer
|
|
FEATURES_PROVIDED += periph_uart
|
|
FEATURES_PROVIDED += periph_qdec
|
|
|
|
# Various other features (if any)
|
|
FEATURES_PROVIDED += motor_driver
|
|
|
|
# load the common Makefile.features for Nucleo boards
|
|
include $(RIOTBOARD)/common/nucleo64/Makefile.features
|
|
|
|
# The board MPU family (used for grouping by the CI system)
|
|
FEATURES_MCU_GROUP = cortex_m4_3
|
|
|
|
include $(RIOTCPU)/stm32f4/Makefile.features
|