Using VS Code with other XMOS Application Notes

There are several Application Notes that can be downloaded and used by pressing the button Download Example Application, in the GETTING STARTED view.

Many other XMOS Application Notes are available from https://www.xmos.com/application-notes and can be used with VS Code. A selected Application Note must be downloaded and unzipped into a local working directory using tools external to VS Code. This directory can then be opened using the Open Existing Application button in the GETTING STARTED view.

The Build, Run and Flash Device buttons may be used as demonstrated in the section Build an application.

Using VS Code with XMOS USB & Multichannel Audio

The XMOS USB & Multichannel Audio product may be built and run using Visual Studio Code. Download the zip file USB Audio Software from the section Developer Resources, Software & Documentation at https://www.xmos.com/usb-multichannel-audio. Unzip this into a local working directory. Use the button Open Existing Application in the GETTING STARTED view to open the local working directory.

The main application resides under the sub-directory sw_usb_audio. There are several other sub-directories at the same level which provide the libraries used by this application.

Open the BUILD PROJECTS view and scroll down to select the entry sw_usb_audio. The application supports multiple target boards, such as app_usb_aud_xk_evk_xu316. Click on the expand icon for the sw_usb_audio item and select the required target board as shown in the figure below.

../../../_images/xmos_usb_audio_project_selection.png

A specific build configuration for the target board may be selected in the BUILD CONFIGURATIONS view to restrict the build process to just this configuration.

Once the above selections have been made, the Build, Run and Flash Device buttons may be used as demonstrated in the section Build an application.

Using VS Code with other XCORE applications

An XCORE application that, for example, is derived from an Application Note or USB & Multichannel Audio can be used with Visual Studio Code and the XMOS XTC Tools extension. Use the Open Existing Application button in the GETTING STARTED view to open the top-level directory of this application.

The Build, Run and Flash Device buttons may be used as demonstrated in the section Build an application.