Files
lib_xua/examples/AN00246_xua_example/Makefile

25 lines
875 B
Makefile

APP_NAME = app_xua_simple
TARGET = xk-audio-316-mc.xn
# The flags passed to xcc when building the application
XCC_FLAGS = -O3 -report \
-g -Wno-unused-function \
-DXUD_CORE_CLOCK=600 \
-DUSB_TILE=tile[0] \
-fxscope \
-DUAC_FORCE_FEEDBACK_EP=0
# The USED_MODULES variable lists other module used by the application. These
# modules will extend the SOURCE_DIRS, INCLUDE_DIRS and LIB_DIRS variables.
# Modules are expected to be in the directory above the BASE_DIR directory.
USED_MODULES = lib_xua lib_xud lib_i2c
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
XMOS_MAKE_PATH ?= ../..
include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common