blob: a8d64ad01fcdbad322f8e53e48ac374dcd820791 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
 | # Possible Targets:	all clean Debug cleanDebug Release cleanRelease
##############################################################################################
# Settings
#
# General settings
	# See $(GFXLIB)/tools/gmake_scripts/readme.txt for the list of variables
	OPT_OS					= freertos
	OPT_THUMB				= yes
	OPT_LINK_OPTIMIZE		= yes
	# For the raspberry pi we can either use the generic armv6 cpu or the highly optimized raspberrypi settings
	OPT_CPU					= raspberrypi
# uGFX settings
	# See $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk for the list of variables
	GFXLIB					= ../uGFX
	GFXBOARD				= RaspberryPi
	GFXDEMO					= modules/gdisp/basics
# FreeRTOS settings
ifeq ($(OPT_OS),freertos)
	# See $(GFXLIB)/tools/gmake_scripts/os_freertos.mk for the list of variables
	FREERTOS			= ../FreeRTOS
	FREERTOS_BOARD		= RaspberryPi
	FREERTOS_MODULES	= $(GFXLIB)/boards/base/RaspberryPi/FreeRTOS
	FREERTOS_LDSCRIPT	= $(GFXLIB)/boards/base/RaspberryPi/FreeRTOS/raspberrypi.ld
endif
##############################################################################################
# Set these for your project
#
ARCH     = arm-none-eabi-
SRCFLAGS = -ggdb -O0
CFLAGS   =
CXXFLAGS = -fno-rtti
ASFLAGS  =
LDFLAGS  =
SRC      =
OBJS     =
DEFS     =
LIBS     =
INCPATH  =
LIBPATH  =
##############################################################################################
# These should be at the end
#
include $(GFXLIB)/tools/gmake_scripts/library_ugfx.mk
include $(GFXLIB)/tools/gmake_scripts/os_$(OPT_OS).mk
include $(GFXLIB)/tools/gmake_scripts/compiler_gcc.mk
# *** EOF ***
 |