aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ST7735/gdisp_lld_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/ST7735/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/ST7735/gdisp_lld_config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/gdisp/ST7735/gdisp_lld_config.h b/drivers/gdisp/ST7735/gdisp_lld_config.h
new file mode 100644
index 00000000..5c76924e
--- /dev/null
+++ b/drivers/gdisp/ST7735/gdisp_lld_config.h
@@ -0,0 +1,23 @@
+/*
+ * Created by Oleg Gerasimov <ogerasimov@gmail.com>
+ * 10.08.2016
+*/
+
+#ifndef _GDISP_LLD_CONFIG_H
+#define _GDISP_LLD_CONFIG_H
+
+#if GFX_USE_GDISP
+
+/*===========================================================================*/
+/* Driver hardware support. */
+/*===========================================================================*/
+
+#define GDISP_HARDWARE_STREAM_WRITE TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
+#define GDISP_HARDWARE_FILLS TRUE
+
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */