2021-04-27 12:29:25 +08:00
|
|
|
/**
|
|
|
|
* @file lv_ex_conf.h
|
|
|
|
* Configuration file for v7.8.1
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* COPY THIS FILE AS lv_ex_conf.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if 1 /*Set it to "1" to enable the content*/
|
|
|
|
|
|
|
|
#ifndef LV_EX_CONF_H
|
|
|
|
#define LV_EX_CONF_H
|
|
|
|
|
|
|
|
/*******************
|
2021-06-20 12:25:46 +08:00
|
|
|
* GENERAL SETTING
|
|
|
|
*******************/
|
|
|
|
#define LV_EX_PRINTF 0 /*Enable MSG-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)*/
|
2021-04-27 12:29:25 +08:00
|
|
|
|
|
|
|
/*********************
|
2021-06-20 12:25:46 +08:00
|
|
|
* DEMO USAGE
|
|
|
|
* *********************/
|
2021-04-27 12:29:25 +08:00
|
|
|
|
|
|
|
/*Show some widget*/
|
2021-06-20 12:25:46 +08:00
|
|
|
#define LV_USE_DEMO_WIDGETS 0
|
2021-04-27 12:29:25 +08:00
|
|
|
#if LV_USE_DEMO_WIDGETS
|
2021-06-20 12:25:46 +08:00
|
|
|
#define LV_DEMO_WIDGETS_SLIDESHOW 0
|
2021-04-27 12:29:25 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*Printer demo, optimized for 800x480*/
|
2021-06-20 12:25:46 +08:00
|
|
|
#define LV_USE_DEMO_PRINTER 0
|
2021-04-27 12:29:25 +08:00
|
|
|
|
|
|
|
/*Demonstrate the usage of encoder and keyboard*/
|
2021-06-20 12:25:46 +08:00
|
|
|
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
|
2021-04-27 12:29:25 +08:00
|
|
|
|
|
|
|
/*Benchmark your system*/
|
2021-06-20 12:25:46 +08:00
|
|
|
#define LV_USE_DEMO_BENCHMARK 1
|
2021-04-27 12:29:25 +08:00
|
|
|
|
|
|
|
/*Stress test for LVGL*/
|
2021-06-20 12:25:46 +08:00
|
|
|
#define LV_USE_DEMO_STRESS 0
|
2021-04-27 12:29:25 +08:00
|
|
|
|
|
|
|
/*Music player for LVGL*/
|
2021-06-20 12:25:46 +08:00
|
|
|
#define LV_USE_DEMO_MUSIC 0
|
2021-04-27 12:29:25 +08:00
|
|
|
#if LV_USE_DEMO_MUSIC
|
|
|
|
#define LV_DEMO_MUSIC_AUTO_PLAY 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /*LV_EX_CONF_H*/
|
|
|
|
|
|
|
|
#endif /*End of "Content enable"*/
|