drivers/dfplayer: add module to Kconfig
This commit is contained in:
parent
3741fc8b92
commit
a0f8ad9e8c
@ -11,6 +11,7 @@ rsource "saul/Kconfig"
|
|||||||
menu "Actuator Device Drivers"
|
menu "Actuator Device Drivers"
|
||||||
rsource "aip31068/Kconfig"
|
rsource "aip31068/Kconfig"
|
||||||
rsource "apa102/Kconfig"
|
rsource "apa102/Kconfig"
|
||||||
|
rsource "dfplayer/Kconfig"
|
||||||
rsource "grove_ledbar/Kconfig"
|
rsource "grove_ledbar/Kconfig"
|
||||||
rsource "motor_driver/Kconfig"
|
rsource "motor_driver/Kconfig"
|
||||||
rsource "my9221/Kconfig"
|
rsource "my9221/Kconfig"
|
||||||
|
|||||||
18
drivers/dfplayer/Kconfig
Normal file
18
drivers/dfplayer/Kconfig
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user