changeset 8:74933941ea81

aud-pirelli audio mode config for Pirelli DP-L10 handheld and headset audio mode configs have been created for Pirelli target. They can be used to switch between the two audio modes with AT@AUL in the VPM environment, and they will be needed if we ever port our handset firmware to this target.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Jun 2021 02:59:53 +0000
parents 677abb56abac
children b777b03fa84c
files Makefile aud-pirelli/Makefile aud-pirelli/handheld.src aud-pirelli/headset.src
diffstat 4 files changed, 36 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Jun 14 00:57:24 2021 +0000
+++ b/Makefile	Mon Jun 14 02:59:53 2021 +0000
@@ -1,4 +1,4 @@
-SUBDIR=	aud-fcdev3b aud-gtamodem aud-minimal
+SUBDIR=	aud-fcdev3b aud-gtamodem aud-minimal aud-pirelli
 
 all:	${SUBDIR}
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-pirelli/Makefile	Mon Jun 14 02:59:53 2021 +0000
@@ -0,0 +1,23 @@
+BINFILES=	handheld.cfg handheld.vol headset.cfg headset.vol
+INSTDIR=	/opt/freecalypso/aud-pirelli
+
+all:	${BINFILES}
+
+handheld.cfg:	handheld.src
+	tiaud-compile $< $@
+
+handheld.vol:	Makefile
+	tiaud-mkvol 150 $@
+
+headset.cfg:	headset.src
+	tiaud-compile $< $@
+
+headset.vol:	Makefile
+	tiaud-mkvol 150 $@
+
+install:	${BINFILES}
+	mkdir -p ${INSTDIR}
+	install -c -m 644 ${BINFILES} ${INSTDIR}
+
+clean:
+	rm -f *.cfg *.vol
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-pirelli/handheld.src	Mon Jun 14 02:59:53 2021 +0000
@@ -0,0 +1,6 @@
+# Pirelli's main audio path for the built-in earpiece and mic is the same
+# as on all targets we currently support: EARN&EARP outputs,
+# MICIN&MICIP inputs.
+
+mic default
+speaker ear
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-pirelli/headset.src	Mon Jun 14 02:59:53 2021 +0000
@@ -0,0 +1,6 @@
+# Pirelli's headset jack audio path has been experimentally determined
+# to use the Iota chip's dedicated headset audio channel, matching
+# canonical design.
+
+mic headset
+speaker headset