SSD1289 cleanup
This commit is contained in:
parent
dc6f90d35a
commit
19afa19bd3
3 changed files with 8 additions and 4 deletions
|
@ -19,8 +19,8 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @file gdispSsd1289/gdisp_lld.c
|
||||
* @brief GDISP Graphics Driver subsystem low level driver source for the Ssd1289 display.
|
||||
* @file drivers/gdisp/SSD1289/gdisp_lld.c
|
||||
* @brief GDISP Graphics Driver subsystem low level driver source for the SSD1289 display.
|
||||
*
|
||||
* @addtogroup GDISP
|
||||
* @{
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* @file gdispSsd1289/gdisp_lld_config.h
|
||||
* @brief GDISP Graphic Driver subsystem low level driver header for the Ssd1289 display.
|
||||
* @file drivers/gdisp/SSD1289/gdisp_lld_config.h
|
||||
* @brief GDISP Graphic Driver subsystem low level driver header for the SSD1289 display.
|
||||
*
|
||||
* @addtogroup GDISP
|
||||
* @{
|
||||
|
|
|
@ -2,14 +2,18 @@ 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:
|
||||
#define GDISP_USE_GPIO
|
||||
#define GDISP_USE_SPI
|
||||
#define GDISP_USE_FSMC
|
||||
|
||||
d) All of the following (with appropriate values):
|
||||
#define SCREEN_WIDTH 320
|
||||
#define SCREEN_HEIGHT 240
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/gdisp/SSD1289/gdisp_lld.mk
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue