# HG changeset patch # User Mychaela Falconia # Date 1623639593 0 # Node ID 74933941ea814deca6a36ace58d2cfaea0f08b90 # Parent 677abb56abac8b6283913168f7ade7c7c1f32769 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. diff -r 677abb56abac -r 74933941ea81 Makefile --- 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} diff -r 677abb56abac -r 74933941ea81 aud-pirelli/Makefile --- /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 diff -r 677abb56abac -r 74933941ea81 aud-pirelli/handheld.src --- /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 diff -r 677abb56abac -r 74933941ea81 aud-pirelli/headset.src --- /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