blob: 2ed76920b7bf31744922ef2a8655b8f3d386db08 [file] [log] [blame]
Mustafa Ozcelikorsc6e7d012017-06-03 09:33:26 +02001# The TARGET variable determines what target system the application is
2# compiled for. It either refers to an XN file in the source directories
3# or a valid argument for the --target option when compiling
4TARGET = XCORE-200-EXPLORER
5
6# The APP_NAME variable determines the name of the final .xe file. It should
7# not include the .xe postfix. If left blank the name will default to
8# the project name
9APP_NAME = RCCarProjectNew
10
11# The USED_MODULES variable lists other module used by the application.
12USED_MODULES = lib_ethernet lib_gpio lib_i2c lib_locks lib_logging lib_otpinfo lib_uart lib_xassert lib_xtcp
13
14# The flags passed to xcc when building the application
15# You can also set the following to override flags for a particular language:
16# XCC_XC_FLAGS, XCC_C_FLAGS, XCC_ASM_FLAGS, XCC_CPP_FLAGS
17# If the variable XCC_MAP_FLAGS is set it overrides the flags passed to
18# xcc for the final link (mapping) stage.
19XCC_FLAGS = -Wall -O3 -report -fxscope -DDEBUG_PRINT_ENABLE=1
20
21# The XCORE_ARM_PROJECT variable, if set to 1, configures this
22# project to create both xCORE and ARM binaries.
23XCORE_ARM_PROJECT = 0
24
25# The VERBOSE variable, if set to 1, enables verbose output from the make system.
26VERBOSE = 1
27
28XMOS_MAKE_PATH ?= ../..
29-include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common