Sound generation change now ready to run

This commit is contained in:
3djc
2016-09-02 10:13:54 +02:00
parent 64b7369a51
commit 580e4e71eb
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -30,7 +30,8 @@ mv /tmp/SOUNDS ${workdir}/sdcard/horus/
# Duplicate for Taranis and create sdcards.zip
mkdir ${workdir}/sdcard/taranis/SOUNDS
cp -r ${workdir}/sdcard/horus/SOUNDS ${workdir}/sdcard/taranis/
rm -f ${workdir}/sdcard/*.zip
rm -f ${output}/sdcard/*.zip
cd ${workdir}/sdcard/taranis && zip -r ${output}/sdcard/sdcard-taranis.zip *
cd ${workdir}/sdcard/horus && zip -r ${output}/sdcard/sdcard-horus.zip *
rm -Rf ${workdir}/sdcard
+2 -1
View File
@@ -22,7 +22,7 @@ import zipfile
from tts_common import *
board = "taranis"
lib_path = os.path.abspath(os.path.join('..', '..', 'radio', 'util'))
lib_path = os.path.abspath(os.path.join('code', 'radio', 'util'))
sys.path.append(lib_path)
def generate(str, filename):
@@ -102,3 +102,4 @@ if __name__ == "__main__":
for s, f in sounds:
if s and f:
generate(s, f)