# The TARGET variable determines what target system the application is # compiled for. It either refers to an XN file in the source directories # or a valid argument for the --target option when compiling TARGET = XUF208-128-TQ64-C10.xn # The APP_NAME variable determines the name of the final .xe file. It should # not include the .xe postfix. If left blank the name will default to # the project name APP_NAME = app_usb_xuf208 BUILD_FLAGS = -DFLASH_MAX_UPGRADE_SIZE=64*1024 -fcomment-asm -Xmapper --map -Xmapper MAPFILE -Wall -O3 \ -report -lquadflash -fsubword-select -save-temps -g -fxscope -DXUD_SERIES_SUPPORT=4 \ -march=xs2a -DUSB_TILE=tile[0] -DQUAD_SPI_FLASH=1 -DU208_ONLY # The USED_MODULES variable lists other module used by the application. USED_MODULES = module_dfu module_usb_audio module_usb_device module_usb_shared module_xud # The flags passed to xcc when building the application # You can also set the following to override flags for a particular language: # XCC_XC_FLAGS, XCC_C_FLAGS, XCC_ASM_FLAGS, XCC_CPP_FLAGS # If the variable XCC_MAP_FLAGS is set it overrides the flags passed to # xcc for the final link (mapping) stage. XCC_FLAGS_2i16o16xxxxx_tdm8 = $(BUILD_FLAGS) INCLUDE_ONLY_IN_2i16o16xxxxx_tdm8 = # Audio Class 2, Input (8), Output (8), No MIDI, No SPDIF i/o, No ADAT i/o, TDM slave mode #XCC_FLAGS_2i8o8xxxxx_tdm8_slave = $(BUILD_FLAGS) -DI2S_CHANS_DAC=8 -DI2S_CHANS_ADC=8 -DNUM_USB_CHAN_OUT=8 -DNUM_USB_CHAN_IN=8 -DMIDI=0 -DSPDIF_TX=0 -DSPDIF_RX=0 -DADAT_TX=0 -DADAT_RX=0 -DDSD_CHANS_DAC=0 -DI2S_MODE_TDM=1 -DMAX_FREQ=96000 -DMIXER=0 -DCODEC_MASTER=1 #INCLUDE_ONLY_IN_2i8o8xxxxx_tdm8_slave = # The XCORE_ARM_PROJECT variable, if set to 1, configures this # project to create both xCORE and ARM binaries. XCORE_ARM_PROJECT = 0 # The VERBOSE variable, if set to 1, enables verbose output from the make system. MODULE_LIBRARIES = xud_x200 VERBOSE = 1 XMOS_MAKE_PATH ?= ../.. -include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common