From 5e40c336f24bd6f479f13a4b2fd363c9a16356a6 Mon Sep 17 00:00:00 2001 From: resset Date: Sat, 26 Jan 2013 21:53:16 +0100 Subject: initial commit: copy sources from SSD1289 I started project of new driver: SSD2119. This work is based on SSD1289. I don't know exactly if this one is the most similar to my one. It's just an experiment. There is no accompanying board file of any flavor, but the hardware lying on my desk is Embest DM-STF4BB with DM-LCD35RT LCD module. Changes already made: - Copied entire drivers/gdisp/SSD1289 directory into drivers/gdisp/SSD2119. - Changed every occurrence of "SSD1289" to "SSD2119" in each source file. --- drivers/gdisp/SSD2119/readme.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 drivers/gdisp/SSD2119/readme.txt (limited to 'drivers/gdisp/SSD2119/readme.txt') diff --git a/drivers/gdisp/SSD2119/readme.txt b/drivers/gdisp/SSD2119/readme.txt new file mode 100644 index 00000000..116b251e --- /dev/null +++ b/drivers/gdisp/SSD2119/readme.txt @@ -0,0 +1,19 @@ +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) 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: + BOARD_FIREBULL_STM32_F103 - GPIO interface: requires GDISP_CMD_PORT and GDISP_DATA_PORT to be defined + + d) The following are optional - define them if you are not using the defaults below: + #define GDISP_SCREEN_WIDTH 320 + #define GDISP_SCREEN_HEIGHT 240 + +2. To your makefile add the following lines: + include $(GFXLIB)/drivers/gdisp/SSD2119/gdisp_lld.mk -- cgit v1.2.3 From c42602375b652d5673861fc5b7a66c0ac1ce6508 Mon Sep 17 00:00:00 2001 From: Mateusz Tomaszkiewicz Date: Thu, 7 Feb 2013 16:01:07 +0100 Subject: SSD2119: code & comments cleanup --- drivers/gdisp/SSD2119/readme.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers/gdisp/SSD2119/readme.txt') diff --git a/drivers/gdisp/SSD2119/readme.txt b/drivers/gdisp/SSD2119/readme.txt index 116b251e..e9f6558a 100644 --- a/drivers/gdisp/SSD2119/readme.txt +++ b/drivers/gdisp/SSD2119/readme.txt @@ -7,9 +7,10 @@ To use this driver: 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. + Use the gdisp_lld_board_embest_dmstf4bb_fsmc.h or gdisp_lld_board_embest_dmstf4bb_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_EMBEST_DMSTF4BB - GPIO interface + BOARD_EMBEST_DMSTF4BB_FSMC - FSMC interface d) The following are optional - define them if you are not using the defaults below: #define GDISP_SCREEN_WIDTH 320 -- cgit v1.2.3 From cec4628a9777233c699bda86a747f49de576105b Mon Sep 17 00:00:00 2001 From: Mateusz Tomaszkiewicz Date: Thu, 21 Feb 2013 22:46:47 +0100 Subject: SSD2119: backlight control - Backlight uses PWM on TIM4 CH2. - Updated readme. - Updated gdisp_lld.c: moved from lld_gdisp_* to gdisp_lld_* functions names format. - One forgotten GDISP_LLD() macro removal. - General code cleanup (make diff with -w parameter ;)) --- drivers/gdisp/SSD2119/readme.txt | 45 ++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 20 deletions(-) (limited to 'drivers/gdisp/SSD2119/readme.txt') diff --git a/drivers/gdisp/SSD2119/readme.txt b/drivers/gdisp/SSD2119/readme.txt index e9f6558a..f77e6259 100644 --- a/drivers/gdisp/SSD2119/readme.txt +++ b/drivers/gdisp/SSD2119/readme.txt @@ -1,20 +1,25 @@ -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) 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_embest_dmstf4bb_fsmc.h or gdisp_lld_board_embest_dmstf4bb_fsmc.h file as a basis. - Currently known boards are: - BOARD_EMBEST_DMSTF4BB - GPIO interface - BOARD_EMBEST_DMSTF4BB_FSMC - FSMC interface - - d) The following are optional - define them if you are not using the defaults below: - #define GDISP_SCREEN_WIDTH 320 - #define GDISP_SCREEN_HEIGHT 240 - -2. To your makefile add the following lines: - include $(GFXLIB)/drivers/gdisp/SSD2119/gdisp_lld.mk +Description: + +Driver for LCD with 16-bit interface in 8080 mode (65k colors). + +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) 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_embest_dmstf4bb_fsmc.h or gdisp_lld_board_embest_dmstf4bb_fsmc.h file as a basis. + Currently known boards are: + BOARD_EMBEST_DMSTF4BB - GPIO interface + BOARD_EMBEST_DMSTF4BB_FSMC - FSMC interface + Both board configurations assume you have STM32_PWM_USE_TIM4 set to TRUE in your mcuconf.h. + + d) The following are optional - define them if you are not using the defaults below: + #define GDISP_SCREEN_WIDTH 320 + #define GDISP_SCREEN_HEIGHT 240 + +2. To your makefile add the following lines: + include $(GFXLIB)/drivers/gdisp/SSD2119/gdisp_lld.mk -- cgit v1.2.3