aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md46
1 files changed, 46 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..7071d707
--- /dev/null
+++ b/README.md
@@ -0,0 +1,46 @@
+## 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.
+