Skip to content

Commit

Permalink
Add missing pre-requisites
Browse files Browse the repository at this point in the history
  • Loading branch information
xluciano committed Nov 20, 2023
1 parent e20ff3a commit 8a461cb
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 4 deletions.
35 changes: 33 additions & 2 deletions examples/ffva/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,42 @@ Far-field Voice Assistant

This is the far-field voice assistant example design firmware. See the full documentation for more information on configuring, modifying, building, and running the firmware.

Supported Hardware
==================
Supported Hardware and pre-requisites
=====================================

This example is supported on the XK_VOICE_L71 board.

On the host machine the XTC tools, version 15.2.1, must be installed and sourced.
The output should be
something like this:

::

$ xcc --version
xcc: Build 19-198606c, Oct-25-2022
XTC version: 15.2.1
Copyright (C) XMOS Limited 2008-2021. All Rights Reserved.

On Windows it is highly recommended to use ``Ninja`` as the make system under
``cmake``. Not only is it a lot faster than MSVC ``nmake``, it also
works around an issue where certain path names may cause an issue with
the XMOS compiler under Windows.

To install Ninja, follow these steps:

- Download ``ninja.exe`` from
https://github.com/ninja-build/ninja/releases. This firmware has been
tested with Ninja version v1.11.1.
- Ensure Ninja is on the command line path. It can be added to the path
permanently by following these steps
https://www.computerhope.com/issues/ch000549.htm. Alternatively,
set the path in the current command line session using something
like ``set PATH=%PATH%;C:\Users\xmos\utils\ninja``

Before building the host application, you will need to add the path to the XTC Tools to your environment.

set "XMOS_TOOL_PATH=<path-to-xtc-tools>"

Building the Host Applications
==============================

Expand Down
35 changes: 33 additions & 2 deletions examples/speech_recognition/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,42 @@ Automated Speech Recognition Porting

This is the XCORE-VOICE automated speech recognition (ASR) porting example application.

Supported Hardware
==================
Supported Hardware and pre-requisites
=====================================

This example is supported on the XK_VOICE_L71 board. However, the XCORE-AI-EXPLORER board can be supported with a couple minor modifications.

On the host machine the XTC tools, version 15.2.1, must be installed and sourced.
The output should be
something like this:

::

$ xcc --version
xcc: Build 19-198606c, Oct-25-2022
XTC version: 15.2.1
Copyright (C) XMOS Limited 2008-2021. All Rights Reserved.

On Windows it is highly recommended to use ``Ninja`` as the make system under
``cmake``. Not only is it a lot faster than MSVC ``nmake``, it also
works around an issue where certain path names may cause an issue with
the XMOS compiler under Windows.

To install Ninja, follow these steps:

- Download ``ninja.exe`` from
https://github.com/ninja-build/ninja/releases. This firmware has been
tested with Ninja version v1.11.1.
- Ensure Ninja is on the command line path. It can be added to the path
permanently by following these steps
https://www.computerhope.com/issues/ch000549.htm. Alternatively,
set the path in the current command line session using something
like ``set PATH=%PATH%;C:\Users\xmos\utils\ninja``

Before building the host application, you will need to add the path to the XTC Tools to your environment.

set "XMOS_TOOL_PATH=<path-to-xtc-tools>"

Building the host server
========================

Expand Down

0 comments on commit 8a461cb

Please sign in to comment.