From a69b854b17cb9052c2f86c235d538079cb2a6097 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 17:16:43 +0100 Subject: [PATCH] drivers/motor_driver: add module to Kconfig --- drivers/motor_driver/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/motor_driver/Kconfig b/drivers/motor_driver/Kconfig index 63c7dc2fca..4a0e4c987f 100644 --- a/drivers/motor_driver/Kconfig +++ b/drivers/motor_driver/Kconfig @@ -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