2013-04-30 10:35:34 +00:00
|
|
|
To use this driver:
|
|
|
|
|
2013-06-20 22:02:54 +00:00
|
|
|
1. Add in your gfxconf.h:
|
2013-04-30 10:35:34 +00:00
|
|
|
a) #define GFX_USE_GDISP TRUE
|
|
|
|
|
|
|
|
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
|
|
|
|
and ensure it is on your include path.
|
|
|
|
Use the gdisp_lld_board_example.h or gdisp_lld_board_fsmc.h file as a basis.
|
|
|
|
Currently known boards are:
|
2013-06-20 22:02:54 +00:00
|
|
|
BOARD_FIREBULL_STM32_F103 - GPIO interface: requires GDISP_CMD_PORT and GDISP_DATA_PORT to be defined
|
2013-04-30 10:35:34 +00:00
|
|
|
|
|
|
|
2. To your makefile add the following lines:
|
2013-04-30 10:47:25 +00:00
|
|
|
include $(GFXLIB)/drivers/gdisp/ILI9481/gdisp_lld.mk
|