aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/STM32F746Discovery/gdisp_lld_config.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-07-08 02:41:20 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-07-08 02:41:20 +0200
commit49f32f5ce7e88877abc66b091e5d00e32681a150 (patch)
treed4bd52bfaeebc95cd546cc2cc89bb09f0e8764e1 /drivers/gdisp/STM32F746Discovery/gdisp_lld_config.h
parent2f6aaa9586297d287c5c721660795db1191f47f3 (diff)
downloaduGFX-49f32f5ce7e88877abc66b091e5d00e32681a150.tar.gz
uGFX-49f32f5ce7e88877abc66b091e5d00e32681a150.tar.bz2
uGFX-49f32f5ce7e88877abc66b091e5d00e32681a150.zip
Starting STM32F7 Discovery driver development
Diffstat (limited to 'drivers/gdisp/STM32F746Discovery/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/STM32F746Discovery/gdisp_lld_config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gdisp/STM32F746Discovery/gdisp_lld_config.h b/drivers/gdisp/STM32F746Discovery/gdisp_lld_config.h
new file mode 100644
index 00000000..29e016ce
--- /dev/null
+++ b/drivers/gdisp/STM32F746Discovery/gdisp_lld_config.h
@@ -0,0 +1,24 @@
+/*
+ * This file is subject to the terms of the GFX License. If a copy of
+ * the license was not distributed with this file, you can obtain one at:
+ *
+ * http://ugfx.org/license.html
+ */
+
+#ifndef _GDISP_LLD_CONFIG_H
+#define _GDISP_LLD_CONFIG_H
+
+#if GFX_USE_GDISP
+
+/*===========================================================================*/
+/* Driver hardware support. */
+/*===========================================================================*/
+
+#define GDISP_HARDWARE_DRAWPIXEL TRUE
+#define GDISP_HARDWARE_PIXELREAD TRUE
+#define GDISP_HARDWARE_CONTROL TRUE
+#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
+
+#endif /* GFX_USE_GDISP */
+
+#endif /* _GDISP_LLD_CONFIG_H */