Initial commit
This commit is contained in:
commit
9a75f89146
10 changed files with 376 additions and 0 deletions
16
include/lv_conf.h
Normal file
16
include/lv_conf.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef LV_CONF_H
|
||||
#define LV_CONF_H
|
||||
|
||||
#define LV_COLOR_DEPTH 16
|
||||
|
||||
#define LV_MEM_SIZE (256U * 1024U)
|
||||
|
||||
#define LV_USE_LOG 0
|
||||
|
||||
#define LV_USE_ASSERT_NULL 1
|
||||
|
||||
#define LV_USE_STDLIB_MALLOC LV_STDLIB_BUILTIN
|
||||
#define LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN
|
||||
#define LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN
|
||||
|
||||
#endif
|
||||
56
include/lv_ctr_disp.h
Normal file
56
include/lv_ctr_disp.h
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
/**
|
||||
* @file lv_ctr_disp.h
|
||||
*
|
||||
*/
|
||||
|
||||
#if 1
|
||||
|
||||
#ifndef LV_CTR_DISP_H
|
||||
#define LV_CTR_DISP_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
/* Initialize low level display driver */
|
||||
void lv_ctr_disp_init(void);
|
||||
|
||||
/* Enable updating the screen (the flushing process) when disp_flush() is called by LVGL
|
||||
*/
|
||||
void disp_enable_update(void);
|
||||
|
||||
/* Disable updating the screen (the flushing process) when disp_flush() is called by LVGL
|
||||
*/
|
||||
void disp_disable_update(void);
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
**********************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /*extern "C"*/
|
||||
#endif
|
||||
|
||||
#endif /*LV_CTR_DISP_H*/
|
||||
|
||||
#endif /*Disable/Enable content*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue