2013-02-21 21:46:47 +00:00
|
|
|
Description:
|
|
|
|
|
|
|
|
Driver for LCD with 16-bit interface in 8080 mode (65k colors).
|
|
|
|
|
|
|
|
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.
|
2013-03-02 12:33:19 +00:00
|
|
|
Use the gdisp_lld_board_embest_dmstf4bb_fsmc.h file as a basis.
|
2013-02-21 21:46:47 +00:00
|
|
|
Currently known boards are:
|
|
|
|
BOARD_EMBEST_DMSTF4BB_FSMC - FSMC interface
|
2013-03-02 12:33:19 +00:00
|
|
|
Board configuratios assume you have STM32_PWM_USE_TIM4 set to TRUE in your mcuconf.h.
|
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
|