-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme
More file actions
32 lines (26 loc) · 740 Bytes
/
readme
File metadata and controls
32 lines (26 loc) · 740 Bytes
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
Chibios LCD Driver
### checkout Driver code into ext/
cd chibios/ext
git clone https://github.com/trsaunders/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
Enable a display driver in halconf.h:
#define LCD_USE_SSD1289