You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.4 KiB
C
60 lines
1.4 KiB
C
3 years ago
|
/**
|
||
|
* @file lv_demo_conf.h
|
||
|
* Configuration file for v8.1.1-dev
|
||
|
*
|
||
|
*/
|
||
|
/*
|
||
|
* COPY THIS FILE AS lv_demo_conf.h
|
||
|
*/
|
||
|
|
||
|
/* clang-format off */
|
||
|
#if 0 /*Set it to "1" to enable the content*/
|
||
|
|
||
|
#ifndef LV_DEMO_CONF_H
|
||
|
#define LV_DEMO_CONF_H
|
||
|
|
||
|
|
||
|
/*******************
|
||
|
* GENERAL SETTING
|
||
|
*******************/
|
||
|
#define LV_EX_PRINTF 0 /*Enable printf-ing data in demoes and examples*/
|
||
|
#define LV_EX_KEYBOARD 0 /*Add PC keyboard support to some examples (`lv_drivers` repository is required)*/
|
||
|
#define LV_EX_MOUSEWHEEL 0 /*Add 'encoder' (mouse wheel) support to some examples (`lv_drivers` repository is required)*/
|
||
|
|
||
|
/*********************
|
||
|
* DEMO USAGE
|
||
|
*********************/
|
||
|
|
||
|
/*Show some widget*/
|
||
|
#define LV_USE_DEMO_WIDGETS 0
|
||
|
#if LV_USE_DEMO_WIDGETS
|
||
|
#define LV_DEMO_WIDGETS_SLIDESHOW 0
|
||
|
#endif
|
||
|
|
||
|
/*Printer demo, optimized for 800x480*/
|
||
|
#define LV_USE_DEMO_PRINTER 0
|
||
|
|
||
|
/*Demonstrate the usage of encoder and keyboard*/
|
||
|
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
|
||
|
|
||
|
/*Benchmark your system*/
|
||
|
#define LV_USE_DEMO_BENCHMARK 1
|
||
|
|
||
|
/*Stress test for LVGL*/
|
||
|
#define LV_USE_DEMO_STRESS 0
|
||
|
|
||
|
/*Music player demo*/
|
||
|
#define LV_USE_DEMO_MUSIC 1
|
||
|
#if LV_USE_DEMO_MUSIC
|
||
|
# define LV_DEMO_MUSIC_SQUARE 0
|
||
|
# define LV_DEMO_MUSIC_LANDSCAPE 0
|
||
|
# define LV_DEMO_MUSIC_ROUND 0
|
||
|
# define LV_DEMO_MUSIC_LARGE 0
|
||
|
# define LV_DEMO_MUSIC_AUTO_PLAY 0
|
||
|
#endif
|
||
|
|
||
|
#endif /*LV_DEMO_CONF_H*/
|
||
|
|
||
|
#endif /*End of "Content enable"*/
|
||
|
|