c755d8d6b5
This reverts commit 90e756b420
.
33 lines
745 B
Plaintext
33 lines
745 B
Plaintext
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.
|
|
|