drivers/dfplayer: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-11-18 18:34:22 +01:00
parent 3741fc8b92
commit a0f8ad9e8c
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 19 additions and 0 deletions

View File

@ -11,6 +11,7 @@ rsource "saul/Kconfig"
menu "Actuator Device Drivers"
rsource "aip31068/Kconfig"
rsource "apa102/Kconfig"
rsource "dfplayer/Kconfig"
rsource "grove_ledbar/Kconfig"
rsource "motor_driver/Kconfig"
rsource "my9221/Kconfig"

18
drivers/dfplayer/Kconfig Normal file
View File

@ -0,0 +1,18 @@
# Copyright (c) 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_DFPLAYER
bool "DFPlayer Mini MP3 Player"
depends on HAS_PERIPH_UART
depends on HAS_PERIPH_GPIO
depends on TEST_KCONFIG
select MODULE_PERIPH_UART
select MODULE_PERIPH_GPIO
select MODULE_XTIMER
select HAVE_MULTIMEDIA_DEVICE
# Perhaps this could be moved to its own symbol to enable the dfplayer commands
select MODULE_FMT if MODULE_SHELL_COMMANDS