From 9aba8fad0abf52ccb78190bdf60462e8086fbb35 Mon Sep 17 00:00:00 2001 From: Tectu Date: Sat, 23 Jun 2012 17:50:06 +0200 Subject: added contributors to readme --- readme | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'readme') diff --git a/readme b/readme index 7bee9e10..7e926841 100644 --- a/readme +++ b/readme @@ -45,3 +45,10 @@ Add $(LCDINC) to INCDIR: 2. select the controller type you want to use in glcdconf.h +### Maintainer & Contributors +Contributors: - Badger + - Abhishek + +Maintainer: - Joel Bodenmann aka Tectu + + -- cgit v1.2.3 From 89a597bfc475e8668e7a8c3849dab4f932a63383 Mon Sep 17 00:00:00 2001 From: Tectu Date: Sun, 24 Jun 2012 16:04:11 +0200 Subject: ssd1289 GPIO split into two 8-bit groups --- readme | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'readme') diff --git a/readme b/readme index 7e926841..7840b56a 100644 --- a/readme +++ b/readme @@ -6,16 +6,21 @@ git clone https://github.com/tectu/Chibios-LCD-Driver lcd ### Edit boardfiles: add the following to your board.h file, matching to your pinconfig: - #define TP_PORT GPIOC - #define TP_IRQ 4 - #define TP_CS 6 - - #define LCD_DATA_PORT GPIOE - #define LCD_CMD_PORT GPIOD - #define LCD_CS 12 - #define LCD_RS 13 - #define LCD_WR 14 - #define LCD_RD 15 + #define TP_PORT GPIOC + #define TP_IRQ 4 + #define TP_CS 6 + + #define LCD_DATA_PORT_1 GPIOB + #define LCD_DATA_PORT_2 GPIOC + #define LCD_DATA_PORT_1_BASE 8 + #define LCD_DATA_PORT_2_BASE 0 + #define LCD_CMD_PORT GPIOD + #define LCD_CS 12 + #define LCD_RS 13 + #define LCD_WR 14 + #define LCD_RD 15 + +in this example, we use GPIOC[0:7] for DB[0:7] and GPIOB[8:15] for DB[8:15] ### Edit Makefile: include lcd.mk: -- cgit v1.2.3 From ed70b3acc48e16f9c7640ef95152ea6037901e8e Mon Sep 17 00:00:00 2001 From: Tectu Date: Sun, 24 Jun 2012 17:37:33 +0200 Subject: ssd1289 GPIO interface abstraction --- readme | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'readme') diff --git a/readme b/readme index 7840b56a..03c5a9f6 100644 --- a/readme +++ b/readme @@ -11,16 +11,24 @@ add the following to your board.h file, matching to your pinconfig: #define TP_CS 6 #define LCD_DATA_PORT_1 GPIOB - #define LCD_DATA_PORT_2 GPIOC - #define LCD_DATA_PORT_1_BASE 8 - #define LCD_DATA_PORT_2_BASE 0 + #define LCD_DATA_PORT_2 GPIOB + #define LCD_DATA_PORT_3 GPIOC + #define LCD_DATA_PORT_4 GPIOE + #define LCD_DATA_PORT_1_BASE 12 + #define LCD_DATA_PORT_2_BASE 8 + #define LCD_DATA_PORT_3_BASE 4 + #define LCD_DATA_PORT_4_BASE 0 #define LCD_CMD_PORT GPIOD #define LCD_CS 12 #define LCD_RS 13 #define LCD_WR 14 #define LCD_RD 15 -in this example, we use GPIOC[0:7] for DB[0:7] and GPIOB[8:15] for DB[8:15] +in this example we use the following pin config for 16-bit GPIO interfacing: + + GPIOB 8-15 + GPIOC 4-7 + GPIOE 0-3 ### Edit Makefile: include lcd.mk: -- cgit v1.2.3 From ccf2780be97616371395c974f1f59d1f664e32af Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 25 Jun 2012 12:44:35 +0200 Subject: lld GPIO lsb/msb order fix --- readme | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'readme') diff --git a/readme b/readme index 03c5a9f6..132fc19c 100644 --- a/readme +++ b/readme @@ -14,10 +14,10 @@ add the following to your board.h file, matching to your pinconfig: #define LCD_DATA_PORT_2 GPIOB #define LCD_DATA_PORT_3 GPIOC #define LCD_DATA_PORT_4 GPIOE - #define LCD_DATA_PORT_1_BASE 12 - #define LCD_DATA_PORT_2_BASE 8 - #define LCD_DATA_PORT_3_BASE 4 - #define LCD_DATA_PORT_4_BASE 0 + #define LCD_DATA_PORT_1_BASE 0 + #define LCD_DATA_PORT_2_BASE 4 + #define LCD_DATA_PORT_3_BASE 8 + #define LCD_DATA_PORT_4_BASE 12 #define LCD_CMD_PORT GPIOD #define LCD_CS 12 #define LCD_RS 13 -- cgit v1.2.3 From 484daa395a7b74692657730b4f487e58b2e231fd Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 25 Jun 2012 13:02:54 +0200 Subject: GPIO interfacing rewrite --- readme | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'readme') diff --git a/readme b/readme index 132fc19c..f3fc567f 100644 --- a/readme +++ b/readme @@ -4,32 +4,6 @@ Chibios LCD Driver cd chibios/ext git clone https://github.com/tectu/Chibios-LCD-Driver lcd -### Edit boardfiles: -add the following to your board.h file, matching to your pinconfig: - #define TP_PORT GPIOC - #define TP_IRQ 4 - #define TP_CS 6 - - #define LCD_DATA_PORT_1 GPIOB - #define LCD_DATA_PORT_2 GPIOB - #define LCD_DATA_PORT_3 GPIOC - #define LCD_DATA_PORT_4 GPIOE - #define LCD_DATA_PORT_1_BASE 0 - #define LCD_DATA_PORT_2_BASE 4 - #define LCD_DATA_PORT_3_BASE 8 - #define LCD_DATA_PORT_4_BASE 12 - #define LCD_CMD_PORT GPIOD - #define LCD_CS 12 - #define LCD_RS 13 - #define LCD_WR 14 - #define LCD_RD 15 - -in this example we use the following pin config for 16-bit GPIO interfacing: - - GPIOB 8-15 - GPIOC 4-7 - GPIOE 0-3 - ### Edit Makefile: include lcd.mk: include $(CHIBIOS)/ext/lcd/lcd.mk @@ -54,9 +28,7 @@ Add $(LCDINC) to INCDIR: $(CHIBIOS)/os/various ../common ### Use -1. include header files wherever you need it. - -2. select the controller type you want to use in glcdconf.h +read here: http://chibios.org/dokuwiki/doku.php?id=chibios:community:introduction ### Maintainer & Contributors Contributors: - Badger -- cgit v1.2.3 From 310f0723b9d63d048b0d7b81b477195fa22de78a Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 25 Jun 2012 13:52:30 +0200 Subject: doc --- readme | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'readme') diff --git a/readme b/readme index f3fc567f..56f3d1a3 100644 --- a/readme +++ b/readme @@ -1,34 +1,8 @@ -Chibios LCD Driver +please read the wiki pages to this project carefully, before you ask any questions: -### checkout Driver code into ext/ -cd chibios/ext -git clone https://github.com/tectu/Chibios-LCD-Driver lcd +http://chibios.org/dokuwiki/doku.php?id=chibios:community&#lcd_driver_touch_screen_graphical_user_interface -### Edit Makefile: -include lcd.mk: - include $(CHIBIOS)/ext/lcd/lcd.mk -Add $(LCDSRC) to CSRC: - CSRC = $(PORTSRC) \ - $(KERNSRC) \ - $(TESTSRC) \ - $(HALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(FATFSSRC) \ - $(LCDSRC) \ - $(CHIBIOS)/os/various/evtimer.c \ - $(CHIBIOS)/os/various/syscalls.c - -Add $(LCDINC) to INCDIR: - INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \ - $(HALINC) $(PLATFORMINC) $(BOARDINC) \ - $(FATFSINC) \ - $(LCDINC) \ - $(CHIBIOS)/os/various ../common - -### Use -read here: http://chibios.org/dokuwiki/doku.php?id=chibios:community:introduction ### Maintainer & Contributors Contributors: - Badger -- cgit v1.2.3 From f2f18d3b8d8ae3ea5bd190b2abc21b832237cdf0 Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 25 Jun 2012 13:54:42 +0200 Subject: doc --- readme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'readme') diff --git a/readme b/readme index 56f3d1a3..af031182 100644 --- a/readme +++ b/readme @@ -1,6 +1,6 @@ please read the wiki pages to this project carefully, before you ask any questions: -http://chibios.org/dokuwiki/doku.php?id=chibios:community&#lcd_driver_touch_screen_graphical_user_interface +http://chibios.org/dokuwiki/doku.php?id=chibios:community -- cgit v1.2.3 From 12fa4500c84fdca32208753d1883c972f342c7ec Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 25 Jun 2012 13:55:19 +0200 Subject: doc fix --- readme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'readme') diff --git a/readme b/readme index af031182..9957d358 100644 --- a/readme +++ b/readme @@ -6,8 +6,8 @@ http://chibios.org/dokuwiki/doku.php?id=chibios:community ### Maintainer & Contributors Contributors: - Badger - - Abhishek + - Abhishek -Maintainer: - Joel Bodenmann aka Tectu +Maintainer: - Joel Bodenmann aka Tectu -- cgit v1.2.3