ugfx/readme

33 lines
745 B
Plaintext
Raw Normal View History

Chibios LCD Driver
2012-05-23 11:29:39 +00:00
### checkout Driver code into ext/
2012-05-23 11:29:39 +00:00
cd chibios/ext
git clone https://github.com/tectu/Chibios-LCD-Driver lcd
### Edit Makefile:
2012-05-23 11:29:39 +00:00
include lcd.mk:
include $(CHIBIOS)/ext/lcd/lcd.mk
Add $(LCDSRC) to CSRC:
2012-05-23 11:32:11 +00:00
CSRC = $(PORTSRC) \
$(KERNSRC) \
$(TESTSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
$(FATFSSRC) \
$(LCDSRC) \
$(CHIBIOS)/os/various/evtimer.c \
$(CHIBIOS)/os/various/syscalls.c
2012-05-23 11:29:39 +00:00
Add $(LCDINC) to INCDIR:
2012-05-23 11:32:11 +00:00
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) \
$(FATFSINC) \
$(LCDINC) \
$(CHIBIOS)/os/various ../common
2012-05-23 11:29:39 +00:00
### Use
2012-05-23 11:32:11 +00:00
include glcd.h header file wherever you need it.
2012-05-23 11:29:39 +00:00