Various README updates
Changed misleading description.
This commit is contained in:
parent
d57eacc345
commit
129041e791
@ -4,7 +4,7 @@ Driver for LCD with 4-wire serial interface (65k colors).
|
||||
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GDISP TRUE
|
||||
|
||||
b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD
|
||||
|
@ -1,15 +1,15 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GDISP TRUE
|
||||
|
||||
b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD
|
||||
|
||||
|
||||
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 STM32-LCD
|
||||
Olimex STM32-LCD
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/gdisp/ILI9320/gdisp_lld.mk
|
||||
|
@ -1,15 +1,15 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GDISP TRUE
|
||||
|
||||
b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD
|
||||
|
||||
|
||||
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:
|
||||
HY_STM32_100p
|
||||
HY_STM32_100p
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/gdisp/ILI9325/gdisp_lld.mk
|
||||
|
@ -1,6 +1,6 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GDISP TRUE
|
||||
|
||||
b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD
|
||||
@ -9,7 +9,7 @@ To use this driver:
|
||||
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:
|
||||
BOARD_FIREBULL_STM32_F103 - GPIO interface: requires GDISP_CMD_PORT and GDISP_DATA_PORT to be defined
|
||||
BOARD_FIREBULL_STM32_F103 - GPIO interface: requires GDISP_CMD_PORT and GDISP_DATA_PORT to be defined
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/gdisp/ILI9481/gdisp_lld.mk
|
||||
|
@ -2,14 +2,14 @@ This driver is for the Nokia6610 Philips (GE12) controller
|
||||
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
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 file as a basis.
|
||||
Currently known boards are:
|
||||
Olimex SAM7-EX256
|
||||
Olimex SAM7-EX256
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/gdisp/Nokia6610GE12/gdisp_lld.mk
|
||||
|
@ -2,14 +2,14 @@ This driver is for the Nokia6610 Epson (GE8) controller
|
||||
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
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 file as a basis.
|
||||
Currently known boards are:
|
||||
Olimex SAM7-EX256
|
||||
Olimex SAM7-EX256
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/gdisp/Nokia6610GE8/gdisp_lld.mk
|
||||
|
@ -1,9 +1,8 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GDISP TRUE
|
||||
b) Any optional high level driver defines (see gdisp.h) eg: GDISP_NEED_MULTITHREAD
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/gdisp/S6D1121/gdisp_lld.mk
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GDISP TRUE
|
||||
b) Any optional high level driver defines (see gdisp.h) eg: #define GDISP_NEED_MULTITHREAD TRUE
|
||||
c) One (only) of:
|
||||
#define GDISP_USE_GPIO
|
||||
#define GDISP_USE_FSMC
|
||||
d) If you want to use DMA (only works with FSMC):
|
||||
#define GDISP_USE_DMA
|
||||
#define GDISP_DMA_STREAM STM32_DMA2_STREAM6 //You can change the DMA channel according to your needs
|
||||
d) If you want to use DMA (only works with FSMC):
|
||||
#define GDISP_USE_DMA
|
||||
#define GDISP_DMA_STREAM STM32_DMA2_STREAM6 //You can change the DMA channel according to your needs
|
||||
|
||||
2. Edit gdisp_lld_panel.h with your panel properties
|
||||
|
||||
@ -28,11 +28,11 @@ Example FSMC config with DMA:
|
||||
|
||||
#if defined(GDISP_USE_GPIO)
|
||||
|
||||
#define GDISP_CMD_PORT GPIOC
|
||||
#define GDISP_DATA_PORT GPIOD
|
||||
#define GDISP_CMD_PORT GPIOC
|
||||
#define GDISP_DATA_PORT GPIOD
|
||||
|
||||
#define GDISP_CS 0
|
||||
#define GDISP_RS 1
|
||||
#define GDISP_WR 2
|
||||
#define GDISP_RD 3
|
||||
#define GDISP_CS 0
|
||||
#define GDISP_RS 1
|
||||
#define GDISP_WR 2
|
||||
#define GDISP_RD 3
|
||||
#endif
|
||||
|
@ -7,7 +7,7 @@ Do not use this driver as a template for new drivers. Use the
|
||||
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GDISP TRUE
|
||||
b) Any optional high level driver defines (see gdisp.h)
|
||||
you want to compile test eg: GDISP_NEED_MULTITHREAD
|
||||
|
@ -1,6 +1,6 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GINPUT TRUE
|
||||
#define GINPUT_NEED_DIAL TRUE
|
||||
#define GINPUT_NEED_GADC TRUE
|
||||
@ -8,9 +8,8 @@ To use this driver:
|
||||
and ensure it is on your include path.
|
||||
Use the ginput_lld_dial_board_example.h file as a basis.
|
||||
Currently known boards are:
|
||||
Olimex SAM7-EX256
|
||||
Olimex SAM7-EX256
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/ginput/dial/GADC/ginput_lld.mk
|
||||
include $(GFXLIB)/drivers/gadc/yourGADCdriver/gadc_lld.mk
|
||||
|
@ -1,13 +1,13 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GINPUT TRUE
|
||||
#define GINPUT_NEED_TOGGLE TRUE
|
||||
d) If you are not using a known board then create a ginput_lld_toggle_board.h file
|
||||
and ensure it is on your include path.
|
||||
Use the ginput_lld_toggle_board_example.h file as a basis.
|
||||
Currently known boards are:
|
||||
Olimex SAM7-EX256
|
||||
Olimex SAM7-EX256
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/ginput/togglePal/ginput_lld.mk
|
||||
|
@ -1,9 +1,8 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GINPUT TRUE
|
||||
b) #define GINPUT_NEED_MOUSE TRUE
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/ginput/touch/ADS7843/ginput_lld.mk
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
To use this driver:
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GINPUT TRUE
|
||||
b) #define GINPUT_NEED_MOUSE TRUE
|
||||
|
||||
2. To your makefile add the following lines:
|
||||
include $(GFXLIB)/drivers/ginput/touch/MCU/ginput_lld.mk
|
||||
|
||||
|
@ -3,7 +3,7 @@ To use this driver:
|
||||
This driver is special in that it implements both the gdisp low level driver
|
||||
and a touchscreen driver.
|
||||
|
||||
1. Add in your halconf.h:
|
||||
1. Add in your gfxconf.h:
|
||||
a) #define GFX_USE_GDISP TRUE
|
||||
b) #define GFX_USE_GINPUT TRUE
|
||||
#define GINPUT_USE_MOUSE TRUE
|
||||
@ -19,4 +19,3 @@ and a touchscreen driver.
|
||||
|
||||
3. Modify your makefile to add -lgdi32 to the DLIBS line. i.e.
|
||||
DLIBS = -lws2_32 -lgdi32
|
||||
|
||||
|
@ -522,7 +522,7 @@ extern "C" {
|
||||
#if GDISP_NEED_SCROLL || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Scroll vertically a section of the screen.
|
||||
* @pre GDISP_NEED_SCROLL must be set to TRUE in halconf.h
|
||||
* @pre GDISP_NEED_SCROLL must be set to TRUE in gfxconf.h
|
||||
* @note Optional.
|
||||
* @note If lines is >= cy, it is equivelent to a area fill with bgcolor.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user