add LittlevGL demo

add LittlevGL demo on stm32f746 discovery board
This commit is contained in:
supowang
2019-10-12 14:57:31 +08:00
parent c13fb9a1fa
commit 3260ba3161
448 changed files with 103443 additions and 3 deletions

View File

@@ -0,0 +1,55 @@
/**
* @file lv_examples.h
*
*/
#ifndef LV_EXAMPLES_H
#define LV_EXAMPLES_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "../lvgl/lvgl.h"
/*********************
* DEFINES
*********************/
/*Test lvgl version*/
#define LV_EXAMPLES_LVGL_REQ_MAJOR 6
#define LV_EXAMPLES_LVGL_REQ_MINOR 0
#define LV_EXAMPLES_LVGL_REQ_PATCH 0
#if LV_EXAMPLES_LVGL_REQ_MAJOR != LVGL_VERSION_MAJOR
#error "lv_examples: Wrong lvgl major version"
#endif
#if LV_EXAMPLES_LVGL_REQ_MINOR > LVGL_VERSION_MINOR
#error "lv_examples: Wrong lvgl minor version"
#endif
#if LV_EXAMPLES_LVGL_REQ_PATCH > LVGL_VERSION_PATCH
#error "lv_examples: Wrong lvgl bug fix version"
#endif
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**********************
* MACROS
**********************/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /*LV_EXAMPLES_H*/