2013-02-21 21:46:47 +00:00
|
|
|
Description:
|
|
|
|
|
2013-04-03 22:21:10 +00:00
|
|
|
Driver for LCD with 16-bit 8080 interface (65k colors).
|
2013-02-21 21:46:47 +00:00
|
|
|
|
|
|
|
To use this driver:
|
|
|
|
|
2013-06-12 21:56:12 +00:00
|
|
|
1. Add in your gfxconf.h:
|
2013-02-21 21:46:47 +00:00
|
|
|
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
|
2013-06-12 21:56:12 +00:00
|
|
|
and ensure it is on your include path. Use the gdisp_lld_board_embest_dmstf4bb.h
|
|
|
|
file as a basis.
|
2013-02-21 21:46:47 +00:00
|
|
|
Currently known boards are:
|
2013-06-12 21:56:12 +00:00
|
|
|
BOARD_EMBEST_DMSTF4BB - FSMC interface
|
|
|
|
This board configuration assumes that you have PWM driver enabled
|
|
|
|
and STM32_PWM_USE_TIM4 set to TRUE in your mcuconf.h.
|
|
|
|
If you use FSMC, define in your board file GDISP_USE_FSMC. If you use DMA,
|
|
|
|
define GDISP_USE_DMA.
|
2013-02-21 21:46:47 +00:00
|
|
|
|
|
|
|
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
|