diff options
Diffstat (limited to 'halext/drivers/gdispSsd1289/readme.txt')
-rw-r--r-- | halext/drivers/gdispSsd1289/readme.txt | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/halext/drivers/gdispSsd1289/readme.txt b/halext/drivers/gdispSsd1289/readme.txt index 042c5d2a..17d22223 100644 --- a/halext/drivers/gdispSsd1289/readme.txt +++ b/halext/drivers/gdispSsd1289/readme.txt @@ -1,8 +1,16 @@ -To use this driver you need to define:
- One of:
- LCD_USE_GPIO
- LCD_USE_SPI - Not implemented yet
- LCD_USE_FSMC
- Need to define all of:
- SCREEN_WIDTH
- SCREEN_HEIGHT
+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 LCD_USE_GPIO
+ #define LCD_USE_SPI
+ #define LCD_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 $(CHIBIOS)/os/halext/halext.mk
+ include $(CHIBIOS)/os/halext/drivers/gdispSsd1289/gdisp_lld.mk
|