e34ebdcae5
For gdisp Nokia driver - Add get_bus and release_bus into the board interface definition - Tidy the code up for readability using some macros. |
||
---|---|---|
.. | ||
gdisp_lld_board_example.h | ||
gdisp_lld_board_olimexsam7ex256.h | ||
gdisp_lld_config.h | ||
gdisp_lld.c | ||
gdisp_lld.mk | ||
GE8.h | ||
GE12.h | ||
readme.txt |
To use this driver: 1. Add in your halconf.h: a) #define GFX_USE_GDISP TRUE b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD c) One (only) of: #define GDISP_USE_GE8 /* The Epson controller */ #define GDISP_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 $(GFXLIB)/drivers/gdisp/Nokia6610/gdisp_lld.mk