The offical µGFX repository.
Go to file
2012-05-28 23:24:58 +02:00
fonts.c initial commit 2012-05-23 13:29:39 +02:00
fonts.h initial commit 2012-05-23 13:29:39 +02:00
glcd.c lcdDrawLine() fix, didnt work with x or y >=128 2012-05-28 23:24:58 +02:00
glcd.h cleanups 2012-05-28 23:21:27 +02:00
lcd.mk initial commit 2012-05-23 13:29:39 +02:00
readme readme fix 2012-05-23 13:32:11 +02:00

Chibios LCD Driver

### checkout Driver code into ext/
cd chibios/ext
git clone https://github.com/tectu/Chibios-LCD-Driver lcd

### 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 glcd.h header file wherever you need it.