The offical µGFX repository.
 
 
 
 
 
Go to file
Tectu 5e0cec987d added return value for current lcd height/width for current mode (landscape/portrait) 2012-05-29 02:37:13 +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 added return value for current lcd height/width for current mode (landscape/portrait) 2012-05-29 02:37:13 +02:00
glcd.h added return value for current lcd height/width for current mode (landscape/portrait) 2012-05-29 02:37:13 +02:00
lcd.mk initial commit 2012-05-23 13:29:39 +02:00
readme Revert "documentation" 2012-05-29 02:20:03 +02:00

readme

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.