2015-07-08 00:41:20 +00:00
|
|
|
/*
|
|
|
|
* 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. */
|
|
|
|
/*===========================================================================*/
|
|
|
|
|
2015-10-06 02:02:28 +00:00
|
|
|
#define LTDC_USE_DMA2D FALSE // Currently has display artifacts
|
2015-07-08 00:41:20 +00:00
|
|
|
#define GDISP_HARDWARE_DRAWPIXEL TRUE
|
|
|
|
#define GDISP_HARDWARE_PIXELREAD TRUE
|
|
|
|
#define GDISP_HARDWARE_CONTROL TRUE
|
|
|
|
#define GDISP_LLD_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
|
|
|
|
|
2015-07-11 23:43:23 +00:00
|
|
|
|
|
|
|
/*===========================================================================*/
|
|
|
|
/* Don't change stuff below this line. Please. */
|
|
|
|
/*===========================================================================*/
|
|
|
|
|
|
|
|
#if LTDC_USE_DMA2D
|
|
|
|
#define GDISP_HARDWARE_FILLS TRUE
|
|
|
|
#define GDISP_HARDWARE_BITFILLS TRUE
|
|
|
|
#else
|
|
|
|
#define GDISP_HARDWARE_FILLS FALSE
|
|
|
|
#define GDISP_HARDWARE_BITFILLS FALSE
|
|
|
|
#endif /* GDISP_USE_DMA2D */
|
|
|
|
|
2015-07-08 00:41:20 +00:00
|
|
|
#endif /* GFX_USE_GDISP */
|
|
|
|
|
|
|
|
#endif /* _GDISP_LLD_CONFIG_H */
|