aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1289/readme.txt
blob: 17d222232541c10df33bd0aa4f26e5239fad0d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
To use this driver:

1. Add in your halconf.h:
	a) #define HAL_USE_GDISP	TRUE
	b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD
	c) One (only) of:
		#define LCD_USE_GPIO
		#define LCD_USE_SPI
		#define LCD_USE_FSMC
	d) All of the following (with appropriate values):
		#define SCREEN_WIDTH	320
		#define SCREEN_HEIGHT	240

2. To your makefile add the following lines:
	include $(CHIBIOS)/os/halext/halext.mk
	include $(CHIBIOS)/os/halext/drivers/gdispSsd1289/gdisp_lld.mk