Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.3.0 #380

Merged
merged 333 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
333 commits
Select commit Hold shift + click to select a range
fb625fb
Merge branch 'develop' of github.com:xmos/sln_voice into feature/cybe…
xluciano Mar 12, 2024
554436e
Fix test
xluciano Mar 12, 2024
ed9fb53
Put back steps
xluciano Mar 12, 2024
a5f87bd
Put back steps
xluciano Mar 12, 2024
d1a563f
Re-enable builds
xluciano Mar 12, 2024
9fdd778
Use delay instead of printintln()
xluciano Mar 12, 2024
5bea11d
Merge branch 'feature/cyberon_test' of github.com:lucianomartin/sln_v…
xluciano Mar 12, 2024
a49879e
Undo changes
xluciano Mar 12, 2024
1d4899c
Re-enable builds
xluciano Mar 12, 2024
d45775a
Merge pull request #350 from lucianomartin/feature/cyberon_test
xluciano Mar 14, 2024
5dc8dfd
Update docs
xluciano Mar 14, 2024
c462851
Update docs
xluciano Mar 15, 2024
505690e
Fix link
xluciano Mar 15, 2024
77a19b7
Update info for Windows
xluciano Mar 15, 2024
fbea1ec
Add link
xluciano Mar 15, 2024
7561621
Add link
xluciano Mar 15, 2024
bc56ddf
Fix link
xluciano Mar 15, 2024
a13fb10
Add info
xluciano Mar 15, 2024
9bfc6ce
Update MCLK info
xluciano Mar 15, 2024
a00daa7
Move DFU functions to dfu_common
xluciano Mar 15, 2024
d106079
DFU over USB still working
xluciano Mar 18, 2024
046af13
Add info
xluciano Mar 18, 2024
71621f4
Add new file
xluciano Mar 18, 2024
8fd8781
Add comments
xluciano Mar 18, 2024
4a190c6
Re-add remove function
xluciano Mar 18, 2024
4912125
Add empty line
xluciano Mar 20, 2024
42dd102
I2C control works
xluciano Mar 20, 2024
fb5784f
Clean up code
xluciano Mar 20, 2024
d9debf4
More clean-up
xluciano Mar 20, 2024
ba997a5
Add missing define
xluciano Mar 20, 2024
de76bc3
Tidy up defines
xluciano Mar 20, 2024
1dd9be7
Clean up
xluciano Mar 21, 2024
a6fdf81
Fix name
xluciano Mar 21, 2024
c8a8738
Fix board name
xluciano Mar 21, 2024
46be401
Reorganize files
xluciano Mar 21, 2024
888c02e
Merge branch 'feature/i2c_control' into feature/dfu_over_i2c
xluciano Mar 21, 2024
47665e4
Clean up
xluciano Mar 21, 2024
39fdcfc
Compilation error to be fixed
xluciano Mar 21, 2024
2d0b0e4
Review comments
xluciano Mar 21, 2024
64f7a9c
Fix merge conflicts
xluciano Mar 21, 2024
6e4b5d9
Fix more merge conflicts
xluciano Mar 21, 2024
68b004f
Fix errors
xluciano Mar 21, 2024
610a28b
Merge pull request #353 from lucianomartin/feature/i2c_control
xluciano Mar 21, 2024
d616531
Merge branch 'develop' of github.com:xmos/sln_voice into feature/dfu_…
xluciano Mar 21, 2024
3b14ea5
Add version command
xluciano Mar 21, 2024
0568f0a
Update reboot
xluciano Mar 21, 2024
cc0df25
Fix comments
xluciano Mar 21, 2024
539e582
Remove comment
xluciano Mar 21, 2024
3808407
Disable debug printouts
xluciano Mar 22, 2024
831485c
Fix comments
xluciano Mar 22, 2024
0112237
Remove warnings
xluciano Mar 22, 2024
31d41d9
Update test
xluciano Mar 22, 2024
3169d52
Update fwk_rtos
xluciano Mar 22, 2024
b6bb993
Update fwk_rtos
xluciano Mar 22, 2024
c92e197
Fix reboot
xluciano Mar 22, 2024
43cbe67
Add a new command
xluciano Mar 22, 2024
5e67692
Update comments
xluciano Mar 22, 2024
433bdc1
Update copyright notices
xluciano Mar 22, 2024
fedde58
Remove extra line
xluciano Mar 22, 2024
3435378
Merge pull request #352 from lucianomartin/feature/dfu_over_i2c
xluciano Mar 22, 2024
9ffc7e3
Add info
xluciano Mar 25, 2024
059206b
Add information about DFU
xluciano Mar 26, 2024
0e34ef6
Update test steps
xluciano Mar 26, 2024
7a1b902
Fix paths
xluciano Mar 26, 2024
af01bb2
Add control info
xluciano Mar 26, 2024
cd4bb01
Fix paths
xluciano Mar 26, 2024
683cd1c
Fix errors
xluciano Mar 26, 2024
2ca14f7
Minor fixes
xluciano Mar 26, 2024
ca634f0
Minor fixes
xluciano Mar 26, 2024
623e49f
Merge branch 'develop' into feature/cyberon_test
xluciano Apr 2, 2024
235d202
Merge pull request #351 from lucianomartin/feature/cyberon_test
xluciano Apr 2, 2024
ade6ef8
Merge branch 'develop' into feature/dfu_docs
xluciano Apr 2, 2024
c72ed7c
Merge pull request #354 from lucianomartin/feature/dfu_docs
xluciano Apr 2, 2024
49b615d
Add comment
xluciano Apr 8, 2024
01bb966
Add comment
xluciano Apr 8, 2024
ce15f8d
Add instructios for Windows
xluciano Apr 8, 2024
cbbbc7c
Remove first lines
xluciano Apr 8, 2024
749a6df
Merge pull request #355 from lucianomartin/bugfix/comments
xluciano Apr 8, 2024
e0a8dfb
Update empy pipeline in reference group
xluciano Jul 8, 2024
2943925
Update empty pipeline in reference group
xluciano Jul 8, 2024
dcea82e
Merge branch 'feature/fix_empty_pipeline' of github.com:lucianomartin…
xluciano Jul 8, 2024
ea9bd15
Merge pull request #358 from lucianomartin/feature/fix_empty_pipeline
xluciano Jul 11, 2024
dc16faa
Remove QE bit and register information from XN files
xluciano Jul 16, 2024
7c9d1d6
Remove flash type info from XN files
xluciano Jul 16, 2024
0cdb37a
Add entry
xluciano Jul 17, 2024
7d7e41b
Improve text
xluciano Jul 17, 2024
b35b292
Merge pull request #359 from lucianomartin/feature/remove_qe_info
xluciano Jul 17, 2024
ac3c48e
Add new FFD example with I2S input
xluciano Jul 24, 2024
b3dfe72
Rename build configuration
xluciano Jul 24, 2024
7de7d04
Add debug info sent over UART
xluciano Jul 24, 2024
ab8617e
Add support for I2S slave in ASR audio playback
xluciano Jul 25, 2024
0df629e
Update task name
xluciano Jul 25, 2024
a779601
Add some of Michael's comments
xluciano Jul 25, 2024
c752cfc
Add blank lines
xluciano Jul 25, 2024
d6e9281
Update info about FFD examples
xluciano Jul 25, 2024
6cff8dd
Add info about new builds
xluciano Jul 26, 2024
b5eb72b
Add debug info over UART for Sensory
xluciano Jul 26, 2024
27a3875
Skip pipeline stages for new FFD example
xluciano Jul 26, 2024
bab1dd3
Add first I2C slave calls
xluciano Jul 26, 2024
3ee91d9
Merge pull request #361 from lucianomartin/feature/ffd_i2s
xluciano Jul 29, 2024
8a3dccb
Fix I2C defines
xluciano Jul 29, 2024
ae76aad
Add entry
xluciano Jul 29, 2024
3b72cbd
Add entry
xluciano Jul 29, 2024
a062e8e
Use replacements
xluciano Jul 30, 2024
ac8740a
Review comments
xluciano Jul 30, 2024
5782d95
Merge branch 'develop' into feature/ffd_docs
xluciano Jul 30, 2024
94158e7
Rename define
xluciano Jul 30, 2024
8f6cddc
More changes
xluciano Jul 30, 2024
2456e9b
Merge branch 'feature/ffd_docs' of github.com:lucianomartin/sln_voice…
xluciano Jul 30, 2024
37d3632
Use note
xluciano Jul 30, 2024
895f03c
Merge pull request #362 from lucianomartin/feature/ffd_docs
xluciano Jul 30, 2024
9734daf
Merge branch 'develop' of github.com:xmos/sln_voice into feature/ffd_…
xluciano Jul 30, 2024
91ce681
Example with I2C control compiles
xluciano Jul 31, 2024
269a430
Commands are receivedintent_servicer_read_cmdfff
xluciano Aug 1, 2024
8fb0821
Command working with test ID's and external variables
xluciano Aug 1, 2024
989027f
Remove device control code
xluciano Aug 2, 2024
4f004e2
Remove USB code
xluciano Aug 2, 2024
547d4d2
Move code to new files
xluciano Aug 2, 2024
d0546a6
Add comments
xluciano Aug 2, 2024
8ed9894
Fix typo
xluciano Aug 2, 2024
b290aee
Remove masking
xluciano Aug 2, 2024
6770435
Fix defines and make code more generic
xluciano Aug 7, 2024
a1f111d
Update documentation
xluciano Aug 7, 2024
071a3e4
Update variable
xluciano Aug 7, 2024
ea9b924
Update test
xluciano Aug 8, 2024
2eec481
Fix ASR builds
xluciano Aug 8, 2024
4639dd6
Update fwk_rtos
xluciano Aug 8, 2024
3c9a001
Tidy up
xluciano Aug 8, 2024
29e620c
Fix format
xluciano Aug 8, 2024
434f8f0
Update list
xluciano Aug 8, 2024
2bd7deb
Fix comments
xluciano Aug 9, 2024
c8e1a26
Fix text
xluciano Aug 9, 2024
795ac29
Address some comments
xluciano Aug 9, 2024
00c99d2
Update doc/programming_guide/ffd/deploying/configuration.rst
xluciano Aug 9, 2024
85f7642
Improve defines for I2C and I2S
xluciano Aug 9, 2024
2e9197c
Changes for I2S
xluciano Aug 9, 2024
7f1b7e4
Fix builds
xluciano Aug 9, 2024
a0c54b7
Fix text
xluciano Aug 9, 2024
45c1eee
More changes, FFD cyberon builds work
xluciano Aug 12, 2024
78be7a2
Disable DAC for I2S input FFD example
xluciano Aug 12, 2024
e30e460
Add more info
xluciano Aug 14, 2024
2e4c50e
Add missing articles in doc
xluciano Aug 15, 2024
b4f31eb
Merge pull request #1 from lucianomartin/feature/i2c_defines
xluciano Aug 15, 2024
31d89fc
Remove unused define
xluciano Aug 19, 2024
06bf254
Merge pull request #364 from lucianomartin/feature/ffd_i2c_slave
xluciano Aug 19, 2024
fab5a0c
Use \rightarrow character and use substituion for tools version
xluciano Sep 27, 2024
9235acf
Replace rightarrow with >>
xluciano Sep 30, 2024
c30d4e5
Undo update of fwk_rtos
xluciano Sep 30, 2024
04cb636
Replace >> with ->
xluciano Sep 30, 2024
deda1c7
Revert PID value
xluciano Sep 30, 2024
8fc08ac
Add warnings about latency
xluciano Sep 30, 2024
8cbaf9a
Add more details
xluciano Oct 1, 2024
212fee2
Fix links
xluciano Oct 1, 2024
86b8735
Accept suggestions from Michael
xluciano Oct 1, 2024
b2580e8
Use substituion for I2S
xluciano Oct 1, 2024
763e4e1
Remove todo warning
xluciano Oct 2, 2024
be0cc54
Update links to tools guide
xluciano Oct 2, 2024
529a9c8
Replace xmos.ai with xmos.com
xluciano Oct 2, 2024
42f3d55
Update link to tools installation guide
xluciano Oct 2, 2024
a1fcff4
Undo changes
xluciano Oct 2, 2024
8e92985
Skip link check for AN02002
xluciano Oct 8, 2024
32d8789
Add info in changelog
xluciano Oct 8, 2024
402cf71
Remove double space
xluciano Oct 8, 2024
f677508
Merge pull request #365 from lucianomartin/feauture/asrc_docs
xluciano Oct 8, 2024
10df27b
Use latest xmosdoc and xjsl versions
xluciano Oct 22, 2024
d035835
Fix stage
xluciano Oct 22, 2024
5d7a83b
Remove incorrect variables
xluciano Oct 22, 2024
6400eb0
Update substitutions
xluciano Oct 22, 2024
9c18db9
Update some tables
xluciano Oct 22, 2024
5c49f7e
Fix width of a table
xluciano Oct 22, 2024
8080145
Fix widths of some tables
xluciano Oct 22, 2024
a462450
Remove building docs for submodules
xluciano Oct 23, 2024
a3889e8
Exclude submodules
xluciano Oct 23, 2024
bd98a2d
Remove inexistent link
xluciano Oct 23, 2024
caa741a
Revert "Remove building docs for submodules"
xluciano Oct 23, 2024
6d02ad6
Revert "Exclude submodules"
xluciano Oct 23, 2024
8673100
Add label for docker
xluciano Oct 23, 2024
2c54b41
Remove building docs for fwk_voice and fwk_rtos
xluciano Oct 23, 2024
c64b2ed
Revert "Remove building docs for fwk_voice and fwk_rtos"
xluciano Oct 23, 2024
89cc26c
Merge pull request #367 from lucianomartin/feature/update_xmosdoc
xluciano Oct 23, 2024
b2f860f
removing tflite dep from ffva
xalbertoisorna Nov 25, 2024
ea9e5c5
Removing inferencing module
xalbertoisorna Nov 25, 2024
bb8b7da
updating fwk_voice
xalbertoisorna Nov 25, 2024
6880583
adding reqs.txt for ai tools
xalbertoisorna Nov 25, 2024
985c891
bumping python version and adding xmos_ai_tools
xalbertoisorna Nov 25, 2024
2c76c67
Add Python environment setup in CI build script
xalbertoisorna Nov 25, 2024
8d1e75f
Enhance Python environment setup by checking for python3-venv install…
xalbertoisorna Nov 25, 2024
fbe008a
Fix installation command for python3-venv by adding sudo
xalbertoisorna Nov 25, 2024
107faca
removing python-venv install
xalbertoisorna Nov 26, 2024
30d5bb4
adding --user to reqs install
xalbertoisorna Nov 26, 2024
a05c1f0
adding --user to reqs install
xalbertoisorna Nov 26, 2024
28262cb
adding --user to reqs install
xalbertoisorna Nov 26, 2024
f1d63fd
adding --user to reqs install
xalbertoisorna Nov 26, 2024
f9fed10
adding --user to reqs install
xalbertoisorna Nov 26, 2024
10a7004
adding --user to reqs install
xalbertoisorna Nov 26, 2024
53a88d1
adding --user to reqs install
xalbertoisorna Nov 26, 2024
2c9f83e
adding --user to reqs install
xalbertoisorna Nov 26, 2024
ee7b6b1
adding --user to reqs install
xalbertoisorna Nov 26, 2024
84379d1
refactor: streamline Python environment setup in CI scripts
xalbertoisorna Nov 26, 2024
45acf0e
fix: use --no-cache-dir for pip install in Python environment setup
xalbertoisorna Nov 26, 2024
3d5384b
bumping modules/io
xalbertoisorna Nov 26, 2024
b7d64b4
fix: update xrun command to remove --xscope-realtime flag and bump to…
xalbertoisorna Nov 26, 2024
e231c92
Fix installation command for python3-venv by adding sudo
xalbertoisorna Nov 25, 2024
e98bfeb
fix: update xrun command to remove --xscope-realtime flag and bump to…
xalbertoisorna Nov 26, 2024
3c9be28
fix: replace xgdb reset command with xrun for board reset in firmware…
xalbertoisorna Nov 26, 2024
fff9d99
Merge branch 'feature/XVC-138-ai-tools' into remove/inferencing
xalbertoisorna Nov 26, 2024
f87444d
Update fwk_core submodule to tag 1.1.0
xalbertoisorna Nov 26, 2024
e3a366f
testing nproc and nightly On
xalbertoisorna Nov 26, 2024
c80ca4e
update NIGHTLY_TEST_ONLY parameter to false
xalbertoisorna Nov 27, 2024
5ea12a4
adding FORCE_FULL_RUN
xalbertoisorna Nov 27, 2024
67772a9
removing manual create venv
xalbertoisorna Nov 27, 2024
1982f18
Update test dependencies to specify version ranges for numpy and pytest
xalbertoisorna Nov 27, 2024
c934d96
removing docker from tests
xalbertoisorna Nov 27, 2024
d6984bd
updating changelog and jenkins
xalbertoisorna Nov 27, 2024
e526e45
signle ffva file
xalbertoisorna Nov 28, 2024
34c37d8
Remove input prompt from Jenkinsfile and add new test cases to ffva_q…
xalbertoisorna Nov 28, 2024
144e728
updating docs to include installing a python package
uvvpavel Nov 28, 2024
12a4b9a
Refactor Jenkinsfile to remove FORCE_FULL_RUN parameter and update te…
xalbertoisorna Nov 28, 2024
fb2a7c4
Merge branch 'remove/inferencing' of github.com:xalbertoisorna/sln_vo…
xalbertoisorna Nov 28, 2024
dd30aba
trying to update xua, src, sw_pll. xscope_fileio
uvvpavel Nov 28, 2024
159e288
sw_pll api rename
uvvpavel Nov 28, 2024
c8a1795
replacing exit and adding xgdb command
xmos-jenkins Nov 28, 2024
932da28
adding xdbg path
xmos-jenkins Nov 28, 2024
f34f34d
adding xgb patch in asr test
xalbertoisorna Nov 28, 2024
adbdf59
cleanup both ids
xalbertoisorna Nov 28, 2024
1382ecb
cleaning id 1
xalbertoisorna Nov 28, 2024
f78a65c
single line ffva
xalbertoisorna Nov 28, 2024
34a9dcd
alternating adapter id
xalbertoisorna Nov 28, 2024
3c86a00
xgdb twice
xalbertoisorna Nov 28, 2024
d7ca67a
refactor: streamline reset commands and improve readability in scripts
xalbertoisorna Nov 29, 2024
7fc2bda
refactor: update buildDocs to archive only and add target_reset_reboo…
xalbertoisorna Nov 29, 2024
aa8edcd
refactor: remove unnecessary uid and gid retrieval from Jenkinsfile
xalbertoisorna Nov 29, 2024
3e3e962
update jenkins label
xalbertoisorna Nov 29, 2024
fd2e1a8
sw pll init with the correct no of params
uvvpavel Nov 29, 2024
75b81ef
Merge pull request #371 from xalbertoisorna/remove/inferencing
xalbertoisorna Nov 29, 2024
26e7f45
rolling back xua
uvvpavel Nov 29, 2024
2cde979
Merge branch 'all_tools_upd' of https://github.com/xmos/sln_voice int…
uvvpavel Nov 29, 2024
b8bcea9
minor cleanup
uvvpavel Nov 29, 2024
5af981c
update max allowable WER values
xalbertoisorna Dec 2, 2024
6348afc
updating docs for examples builds
uvvpavel Dec 3, 2024
6c04d0e
Merge pull request #373 from xmos/all_tools_upd
xalbertoisorna Dec 3, 2024
e1d906c
Merge branch 'develop' of https://github.com/xmos/sln_voice into subm…
uvvpavel Dec 3, 2024
49f2aae
changelog update
uvvpavel Dec 3, 2024
d908cb1
Merge pull request #372 from uvvpavel/submodules_bump
uvvpavel Dec 3, 2024
9bd313b
Updating all tools vesrions in docs, putting a deprecation warning fo…
uvvpavel Dec 3, 2024
d1ada05
Merge pull request #374 from uvvpavel/deprecation_warn
uvvpavel Dec 3, 2024
a900c4b
new cyberon engine
uvvpavel Dec 16, 2024
205abfc
Merge pull request #379 from uvvpavel/cyberon_engine
uvvpavel Dec 18, 2024
03eb16f
release review comments
uvvpavel Dec 18, 2024
d369684
Merge pull request #381 from uvvpavel/release_notes
uvvpavel Dec 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,12 @@
[submodule "modules/xscope_fileio"]
path = modules/xscope_fileio/xscope_fileio
url = [email protected]:xmos/xscope_fileio.git
[submodule "modules/inferencing/lib_nn"]
path = modules/inferencing/lib_nn
url = [email protected]:xmos/lib_nn.git
[submodule "modules/lib_qspi_fast_read"]
path = modules/lib_qspi_fast_read
url = [email protected]:xmos/lib_qspi_fast_read.git
[submodule "modules/inferencing/lib_tflite_micro"]
path = modules/inferencing/lib_tflite_micro
url = [email protected]:xmos/lib_tflite_micro.git
ignore = dirty
[submodule "modules/xua"]
path = modules/xua
url = [email protected]:xmos/lib_xua.git
[submodule "modules/sw_pll"]
path = modules/sw_pll
url = [email protected]:xmos/lib_sw_pll
29 changes: 28 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
XCORE-VOICE change log
======================

2.3.0
-----

* CHANGED: Updated Cyberon Wake Word engine.
* CHANGED: Updated XTC Tools to 15.3.0.
* CHANGED: Updated submodule fwk_io to version v3.6.0 from v3.3.0.
* CHANGED: Updated submodule fwk_core to version v1.1.0 from v1.0.2.
* CHANGED: Updated submodule fwk_voice to version v0.8.0 from v0.7.0.
* CHANGED: Updated submodule fwk_rtos to version 3.2.0 from 3.0.5.
* CHANGED: Updated submodule lib_src to version 2.7.0 from 2.4.0.
* CHANGED: Updated submodule xscope_fileio to version 1.2.0 from 1.1.2.
* ADDED: lib_sw_pll submodule v2.3.1.
* ADDED: xmos-ai-tools v1.3.1 Python requirement.
* REMOVED: Deleted inferencing submodule.
* ADDED: FFVA INT example with Cyberon speech recognition engine and model
(DSpotter v2.2.18.0).
* CHANGED: Moved files in folders device_memory, gpio_ctrl, intent_engine and
intent_handler from examples/ffd/src to folder modules/asr.
* CHANGED: Remove need to use external MCLK in FFVA INT examples
* ADDED: Support for DFU over I2C for FFVA INT example.
* ADDED: FFD example with I2S audio input to Cyberon speech recognition
engine and model.
* REMOVED: flash settings in .xn files, as they are not required by XMOS
Tools 15.3.0.
* ADDED: Support for reading registers over I2C slave in FFD examples.
* ADDED: Note in ASRC demo documentation about large latency in ASRC
processing. References to alternative application notes have been provided.

2.2.0
-----

Expand Down Expand Up @@ -83,4 +111,3 @@ XCORE-VOICE change log
------

* ADDED: FFD demo using OLED display

87 changes: 42 additions & 45 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Library('xmos_jenkins_shared_library@v0.28.0') _
@Library('xmos_jenkins_shared_library@v0.34.0') _

getApproval()

Expand All @@ -15,20 +15,24 @@ pipeline {
parameters {
string(
name: 'TOOLS_VERSION',
defaultValue: '15.2.1',
defaultValue: '15.3.0',
description: 'The XTC tools version'
)
string(
name: 'XMOSDOC_VERSION',
defaultValue: 'v6.2.0',
description: 'The xmosdoc version'
)
booleanParam(name: 'NIGHTLY_TEST_ONLY',
defaultValue: false,
description: 'Tests that only run during nightly builds.')
}
description: 'Tests that only run during nightly builds.'
)
} // parameters
environment {
REPO = 'sln_voice'
VIEW = getViewName(REPO)
PYTHON_VERSION = "3.8.11"
VENV_DIRNAME = ".venv"
BUILD_DIRNAME = "dist"
XMOSDOC_VERSION = 'v4.0'
VRD_TEST_RIG_TARGET = "XCORE-AI-EXPLORER"
PIPELINE_TEST_VECTORS = "pipeline_test_vectors"
ASR_TEST_VECTORS = "asr_test_vectors"
Expand All @@ -52,23 +56,20 @@ pipeline {
}
stage('Build tests') {
steps {
script {
uid = sh(returnStdout: true, script: 'id -u').trim()
gid = sh(returnStdout: true, script: 'id -g').trim()
}
// pull docker images
sh "docker pull ghcr.io/xmos/xcore_builder:latest"
sh "docker pull ghcr.io/xmos/xcore_voice_tester:develop"
// host apps
sh "docker run --rm -u $uid:$gid -w /sln_voice -v $WORKSPACE:/sln_voice ghcr.io/xmos/xcore_builder:latest bash -l tools/ci/build_host_apps.sh"
// test firmware and filesystems
sh "docker run --rm -u $uid:$gid -w /sln_voice -v $WORKSPACE:/sln_voice ghcr.io/xmos/xcore_builder:latest bash -l tools/ci/build_tests.sh"
// List built files for log
sh "ls -la dist_host/"
sh "ls -la dist/"
createVenv(reqFile: "requirements.txt")
withTools(params.TOOLS_VERSION) {
withVenv {
// host apps
sh "tools/ci/build_host_apps.sh"
// test firmware and filesystems
sh "tools/ci/build_tests.sh"
// List built files for log
sh "ls -la dist_host/"
sh "ls -la dist/"
} // venv
} // tools
}
}

stage('ASRC Unit tests') {
steps {
withTools(params.TOOLS_VERSION) {
Expand Down Expand Up @@ -98,14 +99,11 @@ pipeline {
}
}
}
stage('Create virtual environment') {
stage('Install test requirements') {
when {
expression { params.NIGHTLY_TEST_ONLY == true }
}
steps {
// Create venv
sh "pyenv install -s $PYTHON_VERSION"
sh "~/.pyenv/versions/$PYTHON_VERSION/bin/python -m venv $VENV_DIRNAME"
// Install dependencies
withVenv() {
sh "pip install git+https://github0.xmos.com/xmos-int/xtagctl.git"
Expand Down Expand Up @@ -182,10 +180,8 @@ pipeline {
withTools(params.TOOLS_VERSION) {
withVenv {
script {
uid = sh(returnStdout: true, script: 'id -u').trim()
gid = sh(returnStdout: true, script: 'id -g').trim()
withXTAG(["$VRD_TEST_RIG_TARGET"]) { adapterIDs ->
sh "docker run --rm -u $uid:$gid --privileged -v /dev/bus/usb:/dev/bus/usb -w /sln_voice -v $WORKSPACE:/sln_voice ghcr.io/xmos/xcore_voice_tester:develop bash -l test/device_firmware_update/check_dfu.sh " + adapterIDs[0]
sh "test/device_firmware_update/check_dfu.sh " + adapterIDs[0]
}
sh "pytest test/device_firmware_update/test_dfu.py --readback_image test/device_firmware_update/test_output/readback_upgrade.bin --upgrade_image test/device_firmware_update/test_output/test_ffva_dfu_upgrade.bin"
}
Expand Down Expand Up @@ -220,6 +216,7 @@ pipeline {
withTools(params.TOOLS_VERSION) {
withVenv {
script {
sh "xtagctl reset_all $VRD_TEST_RIG_TARGET"
withXTAG(["$VRD_TEST_RIG_TARGET"]) { adapterIDs ->
sh "test/pipeline/check_pipeline.sh $BUILD_DIRNAME/test_pipeline_ffva_adec_altarch.xe $PIPELINE_TEST_VECTORS test/pipeline/ffva_quick.txt test/pipeline/ffva_test_output $WORKSPACE/amazon_wwe " + adapterIDs[0]
}
Expand All @@ -236,6 +233,7 @@ pipeline {
steps {
withTools(params.TOOLS_VERSION) {
withVenv {
sh "xtagctl reset_all $VRD_TEST_RIG_TARGET"
script {
withXTAG(["$VRD_TEST_RIG_TARGET"]) { adapterIDs ->
sh "test/pipeline/check_pipeline.sh $BUILD_DIRNAME/test_pipeline_ffd.xe $PIPELINE_TEST_VECTORS test/pipeline/ffd_quick.txt test/pipeline/ffd_test_output $WORKSPACE/amazon_wwe " + adapterIDs[0]
Expand All @@ -254,10 +252,13 @@ pipeline {
withTools(params.TOOLS_VERSION) {
withVenv {
script {
sh "xtagctl reset_all $VRD_TEST_RIG_TARGET"
withXTAG(["$VRD_TEST_RIG_TARGET"]) { adapterIDs ->
sh "test/asr/check_asr.sh Sensory $ASR_TEST_VECTORS test/asr/ffd_quick.txt test/asr/sensory_output " + adapterIDs[0]
sh "test/asr/check_asr.sh Sensory $ASR_TEST_VECTORS test/asr/ffd_quick_sensory.txt test/asr/sensory_output " + adapterIDs[0]
sh "test/asr/check_asr.sh Cyberon $ASR_TEST_VECTORS test/asr/ffd_quick_cyberon.txt test/asr/cyberon_output " + adapterIDs[0]
}
sh "pytest test/asr/test_asr.py --log test/asr/sensory_output/results.csv"
sh "pytest test/asr/test_asr.py --log test/asr/cyberon_output/results.csv"
}
}
}
Expand All @@ -273,28 +274,24 @@ pipeline {
}
}
}
stage('Build docs') {
agent { label 'docker' }
stages {
stage ('Build docs with docker') {
steps {
checkout scm
sh 'git submodule update --init --recursive --depth 1 --jobs \$(nproc)'
sh "docker pull ghcr.io/xmos/xmosdoc:$XMOSDOC_VERSION"
sh """docker run -u "\$(id -u):\$(id -g)" \
--rm \
-v ${WORKSPACE}:/build \
ghcr.io/xmos/xmosdoc:$XMOSDOC_VERSION -v"""
archiveArtifacts artifacts: 'doc/_build/**', allowEmptyArchive: true
}
}
stage('Build Documentation') {
agent {
label 'documentation&&docker'
}
steps {
checkout scm
sh 'git submodule update --init --recursive --depth 1 --jobs \$(nproc)'
warnError("Docs") {
buildDocs(archiveZipOnly: true)
} // warnError("Docs")
} // steps
post {
cleanup {
xcoreCleanSandbox()
}
}
}
} // stage('Build Documentation')

}
}
}
Expand Down
20 changes: 9 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
XCORE:registered:-VOICE Solution Repository
*******************************************

The XCORE-VOICE Solution consists of example designs and a C-based SDK for the development of audio front-end applications to support far-field voice use cases on the xcore.ai family of chips (XU316). The XCORE-VOICE design is currently based on FreeRTOS, leveraging the flexibility of the xcore.ai platform and providing designers with a familiar environment to customize and develop products.
The XCORE-VOICE Solution consists of example designs and a C-based SDK for the development of audio front-end applications to support far-field voice use cases on the xcore.ai family of chips (XU316). Most of the XCORE-VOICE designs are based on FreeRTOS, leveraging the flexibility of the xcore.ai platform and providing designers with a familiar environment to customize and develop products. The only exception is the Microphone Aggregation example which runs on bare-metal; this architecture was selected as it suits high IO bandwidth and low latency bridging type applications.

XCORE-VOICE example designs provide turn-key solutions to enable easier product development for smart home applications such as light switches, thermostats, and home appliances. xcore.ai’s unique architecture providing powerful signal processing and accelerated AI capabilities combined with the XCORE-VOICE framework allows designers to incorporate keyword, event detection, or advanced local dictionary support to create a complete voice interface solution.

Cloning
*******
Obtaining the Source Code
*************************

Some dependent components are included as git submodules. These can be obtained by cloning this repository with the following command:
If you are interested in compiling and/or modifying the source code, you can download it from GitHub. As some dependent components are included as git submodules, the following command must be used for cloning this repository:

::

Expand All @@ -27,17 +27,15 @@ Documentation

See the READMEs for the early example applications:

`ASRC Demo <https://github.com/xmos/sln_voice/blob/develop/examples/asrc_demo/README.rst>`_

`FFD <https://github.com/xmos/sln_voice/blob/develop/examples/ffd/README.rst>`_
* `ASRC Demo <https://github.com/xmos/sln_voice/blob/develop/examples/asrc_demo/README.rst>`_: an example design for an asynchronous sampling rate converter (ASRC)

`FFVA <https://github.com/xmos/sln_voice/blob/develop/examples/ffva/README.rst>`_
* `FFD <https://github.com/xmos/sln_voice/blob/develop/examples/ffd/README.rst>`_: two example designs for a far-field voice local control, each example contains a boot image and data partition binary

`Low Power FFD <https://github.com/xmos/sln_voice/blob/develop/examples/low_power_ffd/README.rst>`_
* `FFVA <https://github.com/xmos/sln_voice/blob/develop/examples/ffva/README.rst>`_: two example designs for a far-field voice assistant, each example contains a boot image and data partition binary

`Microphone Aggregator <https://github.com/xmos/sln_voice/blob/develop/examples/mic_aggregator/README.rst>`_
* `Low Power FFD <https://github.com/xmos/sln_voice/blob/develop/examples/low_power_ffd/README.rst>`_: an example design for a low-power far-field voice local control, the example contains a boot image and data partition binary

`Speech Recognition <https://github.com/xmos/sln_voice/blob/develop/examples/speech_recognition/README.rst>`_
* `Microphone Aggregator <https://github.com/xmos/sln_voice/blob/develop/examples/mic_aggregator/README.rst>`_: two example designs bridging 16 PDM microphones to either TDM16 slave or USB Audio

Getting Help
************
Expand Down
63 changes: 0 additions & 63 deletions doc/README.rst

This file was deleted.

7 changes: 4 additions & 3 deletions doc/programming_guide/asr/deploying/linux_macos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@ Run the following commands in the root folder to build the host application usin

The host application, ``xscope_host_endpoint``, will be installed at ``/opt/xmos/bin``, and may be moved if desired. You may wish to add this directory to your ``PATH`` variable.

Before running the host application, you may need to add the location of ``xscope_endpoint.so`` to your ``LD_LIBRARY_PATH`` environment variable. This environment variable will be set if you run the host application in the XTC Tools command-line environment. For more information see `Configuring the command-line environment <https://www.xmos.ai/documentation/XM-014363-PC-LATEST/html/tools-guide/install-configure/getting-started.html>`__.
Before running the host application, you may need to add the location of ``xscope_endpoint.so`` to your ``LD_LIBRARY_PATH`` environment variable. This environment variable will be set if you run the host application in the XTC Tools command-line environment. For more information see `Configuring the command-line environment <https://xmos.com/xtc-install-guide>`__.

Building the Firmware
=====================

Run the following commands in the root folder to build the firmware:
After having your python environment activated, run the following commands in the root folder to build the firmware:

.. code-block:: console

pip install -r requirements.txt
cmake -B build --toolchain=xmos_cmake_toolchain/xs3a.cmake
cd build
make example_asr
Expand Down Expand Up @@ -64,7 +65,7 @@ From the build folder run:

.. code-block:: console

xrun --xscope-realtime --xscope-port localhost:12345 example_asr.xe
xrun --xscope --xscope-port localhost:12345 example_asr.xe

In a second console, run the following command in the ``examples/speech_recognition`` folder to run the host server:

Expand Down
Loading
Loading