The offical µGFX repository.
Go to file
Tectu d350642992 Revert "doc tweak"
This reverts commit a7f76ed849.
2012-05-29 02:19:51 +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 static heigh and width variables for supporting different modes 2012-05-29 02:10:11 +02:00
glcd.h added portrait and landscape inverse mode 2012-05-29 02:04:04 +02:00
lcd.mk initial commit 2012-05-23 13:29:39 +02:00
README.md Revert "doc tweak" 2012-05-29 02:19:51 +02:00

Features

Supported drawing functions:

- Pixels
- Lines
- Rectanges (frames/filled)
- Circles (frames/filled)
- character
- string

Install

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.