summaryrefslogtreecommitdiffstats
path: root/templates/feature
diff options
context:
space:
mode:
Diffstat (limited to 'templates/feature')
-rw-r--r--templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc7
-rw-r--r--templates/feature/agl-offline-voice-agent/50_local.conf.inc14
-rw-r--r--templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md9
3 files changed, 30 insertions, 0 deletions
diff --git a/templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc b/templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc
new file mode 100644
index 00000000..f46f44ff
--- /dev/null
+++ b/templates/feature/agl-offline-voice-agent/50_bblayers.conf.inc
@@ -0,0 +1,7 @@
+# agl-offline-voice-agent
+
+AGL_META_PYTHON = "${METADIR}/external/meta-openembedded/meta-python"
+
+BBLAYERS =+ " \
+ ${METADIR}/meta-agl-devel/meta-offline-voice-agent \
+"
diff --git a/templates/feature/agl-offline-voice-agent/50_local.conf.inc b/templates/feature/agl-offline-voice-agent/50_local.conf.inc
new file mode 100644
index 00000000..581ad978
--- /dev/null
+++ b/templates/feature/agl-offline-voice-agent/50_local.conf.inc
@@ -0,0 +1,14 @@
+# agl-offline-voice-agent
+
+FORTRAN:forcevariable = ",fortran"
+RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath"
+
+# FIXME check if needed and/or submit upstream
+BBCLASSEXTEND:pn-python3-charset-normalizer = "native nativesdk"
+
+IMAGE_INSTALL:append = " python3-vosk-api vosk-kaldi vosk vosk-server python3-vosk-websocket-server python3-sounddevice ptest-runner"
+
+PREFERRED_PROVIDER_virtual/vosk-model ?= "vosk-model-small-en-us"
+
+DISTRO_FEATURES:append = " ptest"
+EXTRA_IMAGE_FEATURES += "ptest-pkgs"
diff --git a/templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md b/templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md
new file mode 100644
index 00000000..fe44a6af
--- /dev/null
+++ b/templates/feature/agl-offline-voice-agent/README_feature_agl-offline-voice-agent.md
@@ -0,0 +1,9 @@
+---
+description: Feature agl-offline-voice-agent
+authors: Aman Arora <aman.arora9848@gmail.com>
+---
+
+### Feature agl-offline-voice-agent
+
+- Feature template for meta-offline-voice-agent layer.
+- Vosk Voice Model included: vosk-model-small-en-us
ht: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
[gerrit]
host=gerrit.automotivelinux.org
port=29418
project=AGL/meta-agl