Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/audio_rttl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ if(CONFIG_EXAMPLES_AUDIO_SOUND)
STACKSIZE
${CONFIG_EXAMPLES_AUDIO_SOUND_STACKSIZE}
SRCS
audio_rttl.cxx)
audio_rttl_main.c)
endif()
12 changes: 11 additions & 1 deletion examples/audio_rttl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@

config EXAMPLES_AUDIO_SOUND
bool "Audio tone generator example (RTTL player)"
depends on AUDIO
depends on AUDIOUTILS_RTTTL_C
default n
---help---
Enable the audio RTTL player example
Enable the audio RTTL player example.

if EXAMPLES_AUDIO_SOUND

Expand All @@ -23,4 +25,12 @@ config EXAMPLES_AUDIO_SOUND_STACKSIZE
int "Audio sound stack size"
default DEFAULT_TASK_STACKSIZE

comment "Program options"

config EXAMPLES_AUDIO_SOUND_MAXLEN
int "Maximum RTTL string length"
default 256
---help---
The maximum length of an RTTL string that can be read from a file.

endif
2 changes: 1 addition & 1 deletion examples/audio_rttl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ STACKSIZE = $(CONFIG_EXAMPLES_AUDIO_SOUND_STACKSIZE)

# Audio Example

MAINSRC = audio_rttl.cxx
MAINSRC = audio_rttl_main.c

include $(APPDIR)/Application.mk
Loading
Loading