aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/STM32F429iDiscovery/gdisp_lld_config.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-11-05 19:32:47 +1000
committerinmarket <andrewh@inmarket.com.au>2014-11-05 19:32:47 +1000
commitb6d183832e2301ae5bef577f27f97ae5d8e7ee7f (patch)
tree5b9625acebcfc1ff3185d1e7840b04a95a977b60 /drivers/gdisp/STM32F429iDiscovery/gdisp_lld_config.h
parent804fcc7c6ab8f2e0932c65a0fc7a967337f431d6 (diff)
downloaduGFX-b6d183832e2301ae5bef577f27f97ae5d8e7ee7f.tar.gz
uGFX-b6d183832e2301ae5bef577f27f97ae5d8e7ee7f.tar.bz2
uGFX-b6d183832e2301ae5bef577f27f97ae5d8e7ee7f.zip
STM32F429i-Discovery board is now a supported board with an example project.
New gdisp driver (currently non-accelerated) Mouse and other drivers still to come. The board file is currently ChibiOS specific however the gdisp driver is suitable for any OS.
Diffstat (limited to 'drivers/gdisp/STM32F429iDiscovery/gdisp_lld_config.h')
-rw-r--r--drivers/gdisp/STM32F429iDiscovery/gdisp_lld_config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gdisp/STM32F429iDiscovery/gdisp_lld_config.h b/drivers/gdisp/STM32F429iDiscovery/gdisp_lld_config.h
new file mode 100644
index 00000000..29e016ce
--- /dev/null
+++ b/drivers/gdisp/STM32F429iDiscovery/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 */