!examples/audio_rtttl: Implement example using RTTTL library

This commit fixes the audio_rtttl example (which was undocumented and
previously used kernel-level functions) such that now it uses the RTTTL
parsing library. Contributors can implement 'players' for different
types of audio sinks. Currently, PWM is supported.

BREAKING: The previous version of this example only supported a single
board (Spresense) and uses public interfaces from the kernel code. Now
it only uses user-space interfaces and supports any board implementing
those interfaces. Users who relied on the old behaviour should submit a
patch to add a new player to this application which uses the desired
audio sink for the Spresense through user-space interfaces.

Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
Matteo Golin 2026-07-11 19:31:00 -04:00 • committed by Xiang Xiao
parent 3762a64bc6
commit b39228cd41
7 changed files with 319 additions and 388 deletions

1
include/.gitignore vendored
View file

@ -1,2 +1,3 @@
/netutils/cJSON.h
/netutils/cJSON_Utils.h
/audioutils/rtttl.h