-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #397 from xmos/release/v0.6.0
Release v0.6.0
- Loading branch information
Showing
218 changed files
with
2,185 additions
and
2,736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
# Build cruft | ||
**/build*/ | ||
**/_build*/ | ||
**/_templates*/ | ||
**/bin*/ | ||
**/dist*/ | ||
**/fatfs_mkimage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
########### | ||
QUICK START | ||
########### | ||
|
||
Requirements | ||
------------ | ||
|
||
* XTC Tools 15.0.6 or higher | ||
* CMake 3.20 or higher | ||
* Python 3.7 or higher | ||
|
||
|
||
Building | ||
-------- | ||
|
||
The following instructions show how to build the Voice Framework and run one of the example applications. This | ||
procedure is currently supported on MacOS, Linux and Windows. | ||
|
||
#. Enter the clone of the Voice Framework and initialise submodules | ||
|
||
.. code-block:: console | ||
cd fwk_voice | ||
git submodule update --init --recursive | ||
#. Create a build directory | ||
|
||
.. code-block:: console | ||
mkdir build | ||
cd build | ||
#. Run cmake to setup the build environment for the XMOS toolchain | ||
|
||
- On Linux and Mac | ||
|
||
.. code-block:: console | ||
cmake -S.. -DCMAKE_TOOLCHAIN_FILE=../xmos_cmake_toolchain/xs3a.cmake | ||
- On Windows | ||
|
||
.. code-block:: console | ||
# make sure you have the patch command available | ||
cmake -G "NMake Makefiles" -S.. -DCMAKE_TOOLCHAIN_FILE=../xmos_cmake_toolchain/xs3a.cmake | ||
As part of the cmake, some dependencies are fetched using CMake FetchContent. One of these dependencies, lib_tflite_micro has a patch applied to it as part of the FetchContent. This means, when trying to rerun the cmake in the same build directory, sometimes errors | ||
related to not being able to apply a patch to an already patched library are seen. To get rid of these errors, add the -DFETCHCONTENT_UPDATES_DISCONNECTED=ON option to the cmake command line, which will disable the FetchContent if the content has been downloaded previously. | ||
|
||
#. Running make will then build the Voice Framework libraries and example applications | ||
|
||
- On Linux and Mac | ||
|
||
.. code-block:: console | ||
make fwk_voice_example_bare_metal_aec_1_thread | ||
- On Windows | ||
|
||
.. code-block:: console | ||
nmake fwk_voice_example_bare_metal_aec_1_thread | ||
#. Install dependencies | ||
|
||
- On Linux and Mac | ||
|
||
.. code-block:: console | ||
pip install -e build/fwk_voice_deps/xscope_fileio/ | ||
- On Windows | ||
|
||
.. code-block:: console | ||
pip install -e fwk_voice_deps/xscope_fileio | ||
cd fwk_voice_deps/xscope_fileio/host | ||
cmake -G "NMake Makefiles" . | ||
nmake | ||
cd ../../../ | ||
.. raw:: pdf | ||
PageBreak oneColumn | ||
6. Run the single-threaded AEC example | ||
|
||
.. code-block:: console | ||
cd ../examples/bare-metal/aec_1_thread | ||
python ../shared_src/python/run_xcoreai.py ../../../build/examples/bare-metal/aec_1_thread/bin/fwk_voice_example_bare_metal_aec_1_thread.xe --input ../shared_src/test_streams/aec_example_input.wav | ||
See ``Example Applications`` section in the User Guide for full details about the examples. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.