Fixed fonts for draw/fill char/string. On my display I require GDISP_SOFTWARE_TEXTFILLDRAW for filled char/string but that may because my display blit may be broken. Also found that code in header files doesn't have debug symbols generated for it so I converted the include files that contained code into real C files and altered the halext.mk to match. |
||
---|---|---|
.. | ||
gdisp_lld.c | ||
gdisp_lld.h | ||
gdisp_lld.mk | ||
gdisp_lld_config.h | ||
readme.txt | ||
s6d1121_lld.c.h |
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/gdispS6d1121/gdisp_lld.mk