The offical µGFX repository.
Go to file
2012-06-27 16:42:09 +01:00
demos BaseSequentialStream support 2012-06-19 22:48:19 +01:00
drivers more safety checks 2012-06-27 16:42:09 +01:00
console.c more console work 2012-06-26 23:58:29 +01:00
console.h more console work 2012-06-26 23:58:29 +01:00
fonts.c Changes in the Text Rendering API 2012-06-12 18:06:06 +05:30
fonts.h Changes in the Text Rendering API 2012-06-12 18:06:06 +05:30
glcd.c tidy up 2012-06-27 16:40:23 +01:00
glcd.h merge Abhishek's changes, small fixes for API changes 2012-06-25 18:51:35 +01:00
graph.c added graph files 2012-06-01 10:32:14 +02:00
graph.h c++ compatibility, FSMC driver for ssd1289 2012-06-19 20:05:01 +01:00
gui.c merge Abhishek's changes, small fixes for API changes 2012-06-25 18:51:35 +01:00
gui.h merge Abhishek's changes, small fixes for API changes 2012-06-25 18:51:35 +01:00
lcd.mk starting work on virtual console 2012-06-20 23:32:27 +01:00
LICENSE added license file 2012-06-07 22:38:30 +02:00
readme readme update 2012-06-14 10:08:22 +02:00
touchpad.c merge Abhishek's changes, small fixes for API changes 2012-06-25 18:51:35 +01:00
touchpad.h c++ compatibility, FSMC driver for ssd1289 2012-06-19 20:05:01 +01:00

Chibios LCD Driver

### checkout Driver code into ext/
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	GPIOE
	#define LCD_CMD_PORT	GPIOD
	#define LCD_CS			12
	#define LCD_RS			13
	#define LCD_WR			14
	#define LCD_RD			15

### 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
1. include header files wherever you need it.

2. select the controller type you want to use in glcdconf.h