The offical µGFX repository.
Go to file
2012-06-11 12:53:59 +02:00
drivers ssd1289 fix 2012-06-11 12:53:59 +02:00
fonts.c cleanup 2012-06-01 11:46:30 +02:00
fonts.h cleanup 2012-06-01 11:46:30 +02:00
glcd.c fixed compiler warnings 2012-06-11 12:39:26 +02:00
glcd.h fixed compiler warnings 2012-06-11 12:39:26 +02:00
graph.c added graph files 2012-06-01 10:32:14 +02:00
graph.h doc 2012-06-07 23:55:47 +02:00
gui.c cleanup 2012-06-09 19:29:56 +02:00
gui.h added guiDrawBarGraph() 2012-06-09 19:29:35 +02:00
lcd.mk added ssd1289_lld 2012-06-10 22:28:02 +02:00
LICENSE added license file 2012-06-07 22:38:30 +02:00
readme readme update 2012-06-07 23:31:24 +02:00
touchpad.c fixed compiler warnings 2012-06-11 12:45:20 +02:00
touchpad.h cleanups 2012-06-11 00:00:07 +02: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
include header files wherever you need it.