blob: ea9e81c1379c82c2f10801809105cd0bfcb1774f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
## Features
- Uses GPIO - no FSMC interface needed - portable to any controller
- 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.
|