1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/motor_driver: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-12-08 17:16:43 +01:00
parent 245a04b612
commit a69b854b17
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

@ -1,9 +1,18 @@
# Copyright (c) 2020 Freie Universitaet Berlin
# 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
config MODULE_MOTOR_DRIVER
bool "High-level driver for DC motors"
depends on HAS_PERIPH_PWM
depends on HAS_MOTOR_DRIVER
depends on TEST_KCONFIG
select MODULE_PERIPH_PWM
menuconfig KCONFIG_USEMODULE_MOTOR_DRIVER
bool "Configure the DC Motor driver"
depends on USEMODULE_MOTOR_DRIVER