2020-11-18 18:34:22 +01:00
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2021-11-11 14:13:55 +01:00
|
|
|
menuconfig MODULE_DFPLAYER
|
2020-11-18 18:34:22 +01:00
|
|
|
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
|
2022-09-21 09:36:17 +02:00
|
|
|
select MODULE_FMT if MODULE_SHELL_CMDS
|
2021-11-11 14:13:55 +01:00
|
|
|
|
|
|
|
config DFPLAYER_NO_STRERROR
|
|
|
|
bool
|
|
|
|
prompt "Avoid using strerror in shell command" if !(HAS_ARCH_AVR8 || HAS_ARCH_MSP430)
|
|
|
|
depends on MODULE_DFPLAYER
|
2022-09-21 09:36:17 +02:00
|
|
|
depends on MODULE_SHELL_CMDS
|
2021-11-11 14:13:55 +01:00
|
|
|
# no strerror() on AVR and MSP430
|
|
|
|
default y if (HAS_ARCH_AVR8 || HAS_ARCH_MSP430)
|
|
|
|
help
|
|
|
|
Say y to print error codes as numbers when using the shell, instead of the corresponding
|
|
|
|
standard error string.
|
2022-03-02 14:03:35 +01:00
|
|
|
|
|
|
|
config HAVE_DFPLAYER
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Indicates that a DFPlayer Mini MP3 Player is present.
|