18 lines
672 B
Plaintext
18 lines
672 B
Plaintext
|
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_GE8 /* The Epson controller */
|
||
|
#define LCD_USE_GE12 /* The Philips controller */
|
||
|
d) If you are not using a known board then create a gdisp_lld_board.h file
|
||
|
and ensure it is on your include path.
|
||
|
Use the gdisp_lld_board_example.h file as a basis.
|
||
|
Currently known boards are:
|
||
|
Olimex SAM7-EX256
|
||
|
|
||
|
2. To your makefile add the following lines:
|
||
|
include $(CHIBIOS)/os/halext/halext.mk
|
||
|
include $(CHIBIOS)/os/halext/drivers/gdispXXXXX/gdisp_lld.mk
|