# HG changeset patch # User Mychaela Falconia # Date 1503709636 0 # Node ID f943c439ae5ef1d9a235eee760b3ae1a0cdc2322 # Parent 1f3b28d66d5353ae5b9a11c8344ab45e61347710 ffstools/aud-fcdev3b: created some audio config tables for FCDEV3B diff -r 1f3b28d66d53 -r f943c439ae5e .hgignore --- a/.hgignore Fri Aug 25 23:57:32 2017 +0000 +++ b/.hgignore Sat Aug 26 01:07:16 2017 +0000 @@ -5,6 +5,8 @@ \.bin$ \.srec$ +^ffstools/aud-.*/.*\.cfg$ +^ffstools/aud-.*/.*\.vol$ ^ffstools/cal2text/fc-cal2text$ ^ffstools/tiaud/compile$ ^ffstools/tiaud/decomp$ diff -r 1f3b28d66d53 -r f943c439ae5e ffstools/Makefile --- a/ffstools/Makefile Fri Aug 25 23:57:32 2017 +0000 +++ b/ffstools/Makefile Sat Aug 26 01:07:16 2017 +0000 @@ -1,7 +1,9 @@ -SUBDIR= cal2text tiaud tiffs-rd tiffs-wrappers +SUBDIR= aud-fcdev3b cal2text tiaud tiffs-rd tiffs-wrappers all: ${SUBDIR} +aud-fcdev3b: tiaud + ${SUBDIR}: FRC cd $@; ${MAKE} ${MFLAGS} diff -r 1f3b28d66d53 -r f943c439ae5e ffstools/aud-fcdev3b/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffstools/aud-fcdev3b/Makefile Sat Aug 26 01:07:16 2017 +0000 @@ -0,0 +1,23 @@ +BINFILES= mcsi.cfg mcsi.vol spkrmax.cfg spkrmax.vol +INSTDIR= /opt/freecalypso/aud-fcdev3b + +all: ${BINFILES} + +mcsi.cfg: mcsi.src + ../tiaud/compile $< $@ + +mcsi.vol: Makefile + ../tiaud/mkvol 150 $@ + +spkrmax.cfg: spkrmax.src + ../tiaud/compile $< $@ + +spkrmax.vol: Makefile + ../tiaud/mkvol 200 $@ + +install: ${BINFILES} + mkdir -p ${INSTDIR} + install -c -m 644 ${BINFILES} ${INSTDIR} + +clean: + rm -f *.cfg *.vol diff -r 1f3b28d66d53 -r f943c439ae5e ffstools/aud-fcdev3b/mcsi.src --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffstools/aud-fcdev3b/mcsi.src Sat Aug 26 01:07:16 2017 +0000 @@ -0,0 +1,4 @@ +# This audio config switches the voice path to MCSI in TI's +# so-called "Bluetooth headset" mode. + +voice-path 2 diff -r 1f3b28d66d53 -r f943c439ae5e ffstools/aud-fcdev3b/spkrmax.src --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ffstools/aud-fcdev3b/spkrmax.src Sat Aug 26 01:07:16 2017 +0000 @@ -0,0 +1,7 @@ +# The purpose of this audio config table is to make the Iota ABB put the +# downlink audio out at the highest possible output level on EARN&EARP pins, +# to make the quiet speaker as loud as possible. + +speaker ear { + gain 6 +}