Project Structure; Applications And Modules; Build Configurations - XMOS xCORE-200 Multi-channel Audio board Design Manual

Usb audio
Hide thumbs Also See for xCORE-200 Multi-channel Audio board:
Table of Contents

Advertisement

USB Audio Design Guide

5.2 Project Structure

5.2.1 Applications and Modules

The code is split into several module directories. The code for these modules
can be included by adding the module name to the USED_MODULES define in an
application Makefile:
module_xud
module_usb_shared
module_usb_device
module_usb_audio
module_spdif_tx
module_spdif_rx
module_adat_rx
Figure 29:
Modules used
module_usb_midi
by USB Audio
module_dfu
There are multiple application directories that contain Makefiles that build into
executables:
app_usb_aud_l1
app_usb_aud_l2
Figure 30:
app_usb_aud_skc_u16
USB Audio
Reference
app_usb_aud_xk_u8_2c
Applications
app_usb_aud_skc_su1
5.3 Build Configurations
Due to the flexibility of the framework there are many different build options. For
example input and output channel count, Audio Class version, interface types etc.
A "build configuration" is a set of build options that combine to produce a certain
feature set.
Build configurations are listed in the application makefile with their associated
options, they can be built within the xTIMEComposer GUI or via the command like
as follows:
xmake CONFIG = < config name >
When a reference design application is compiled using "build all" (xmake all on
command line) all configurations are automatically built.
A naming scheme is employed in each application to link a feature set to a build
configuration/binary. Different variations of the same basic scheme are used. This
scheme is described in the next section.
XM0088546.1
Low level USB device library
Common code for USB applications
Common code for USB device applications
Common code for USB audio applications
S/PDIF transmit code
S/PDIF receive code
ADAT receive code
MIDI I/O code
Device Firmware Upgrade code
USB Audio 2.0 Reference Design application
USB Audio 2.0 Multichannel Reference Design application
U16 SliceKit with Audio Slice application
Multi-function Audio board application
DJ kit application
52/110

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents