2012-08-13 02:12:42 +00:00
|
|
|
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:
|
2012-09-29 18:56:30 +00:00
|
|
|
#define GDISP_USE_GPIO
|
|
|
|
#define GDISP_USE_SPI
|
|
|
|
#define GDISP_USE_FSMC
|
2012-08-13 02:12:42 +00:00
|
|
|
d) All of the following (with appropriate values):
|
|
|
|
#define SCREEN_WIDTH 320
|
|
|
|
#define SCREEN_HEIGHT 240
|
|
|
|
|
|
|
|
2. To your makefile add the following lines:
|
2012-10-04 07:09:03 +00:00
|
|
|
include $(GFXLIB)/drivers/gdisp/S6D1121/gdisp_lld.mk
|