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

1. Add in your halconf.h:
	a) #define GFX_USE_GDISP	TRUE

	b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD

	c) If you are not using a known board then create a gdisp_lld_board.h file
		and ensure it is on your include path.
		Use the gdisp_lld_board_embest_dmstf4bb_fsmc.h or gdisp_lld_board_embest_dmstf4bb_fsmc.h file as a basis.
		Currently known boards are:
			BOARD_EMBEST_DMSTF4BB		- GPIO interface
			BOARD_EMBEST_DMSTF4BB_FSMC	- FSMC interface

	d) The following are optional - define them if you are not using the defaults below:
		#define GDISP_SCREEN_WIDTH	320
		#define GDISP_SCREEN_HEIGHT	240

2. To your makefile add the following lines:
	include $(GFXLIB)/drivers/gdisp/SSD2119/gdisp_lld.mk