1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/motor_driver/Kconfig
Leandro Lanzieri d25fc243c4
treewide: change prefix for generated Kconfig symbols.
This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:

   KCONFIG_MODULE_ => KCONFIG_USEMODULE_
   KCONFIG_PKG_ => KCONFIG_USEPKG_
   MODULE_ => USEMODULE_
   PKG_ => USEPKG_
2020-08-31 09:37:09 +02:00

24 lines
716 B
Plaintext

# Copyright (c) 2020 Freie Universitaet Berlin
#
# 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.
#
menuconfig KCONFIG_USEMODULE_MOTOR_DRIVER
bool "Configure the DC Motor driver"
depends on USEMODULE_MOTOR_DRIVER
help
Configure the DC Motor driver using Kconfig.
if KCONFIG_USEMODULE_MOTOR_DRIVER
config MOTOR_DRIVER_MAX
int "Maximum number of motors"
default 2
help
Maximum number of motors depends on the H-bridge.
The value should not exceed the number of PWM channels
Default value is set to 2.
endif # KCONFIG_USEMODULE_MOTOR_DRIVER