Various readme update

For GDISP drivers SSD2119 & SSD1289.
This commit is contained in:
Mateusz Tomaszkiewicz 2013-06-12 23:56:12 +02:00
parent 767188ed8d
commit 2a65ea5388
2 changed files with 11 additions and 8 deletions

View File

@ -1,6 +1,6 @@
To use this driver: To use this driver:
1. Add in your halconf.h: 1. Add in your gfxconf.h:
a) #define GFX_USE_GDISP TRUE a) #define GFX_USE_GDISP TRUE
b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD

View File

@ -4,17 +4,20 @@ Driver for LCD with 16-bit 8080 interface (65k colors).
To use this driver: To use this driver:
1. Add in your halconf.h: 1. Add in your gfxconf.h:
a) #define GFX_USE_GDISP TRUE a) #define GFX_USE_GDISP TRUE
b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD 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 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. and ensure it is on your include path. Use the gdisp_lld_board_embest_dmstf4bb.h
Use the gdisp_lld_board_embest_dmstf4bb_fsmc.h file as a basis. file as a basis.
Currently known boards are: Currently known boards are:
BOARD_EMBEST_DMSTF4BB_FSMC - FSMC interface BOARD_EMBEST_DMSTF4BB - FSMC interface
Board configuration assume that you have STM32_PWM_USE_TIM4 set to TRUE in your mcuconf.h. 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.
d) The following are optional - define them if you are not using the defaults below: d) The following are optional - define them if you are not using the defaults below:
#define GDISP_SCREEN_WIDTH 320 #define GDISP_SCREEN_WIDTH 320