24 lines
991 B
Makefile
24 lines
991 B
Makefile
APP_NAME = app_xua_simple
|
|
|
|
TARGET = xk-audio-216-mc.xn
|
|
|
|
# The flags passed to xcc when building the application
|
|
XCC_FLAGS = -fcomment-asm -Xmapper --map -Xmapper MAPFILE -O3 -report -save-temps \
|
|
-g -Wno-unused-function -Wno-timing -DXUD_SERIES_SUPPORT=XUD_X200_SERIES \
|
|
-DXUD_CORE_CLOCK=600 -DUSB_TILE=tile[1] -fxscope
|
|
|
|
#-DSDA_HIGH=2 -DSCL_HIGH=1 -fxscope
|
|
|
|
# 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_device_control 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
|
|
|