This repository has been archived on 2023-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
bl_mcu_sdk/examples/lvgl/lv_ex_conf.h

53 lines
1.2 KiB
C
Raw Normal View History

/**
* @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-06-20 12:25:46 +08:00
* DEMO USAGE
* *********************/
/*Show some widget*/
2021-06-20 12:25:46 +08:00
#define LV_USE_DEMO_WIDGETS 0
#if LV_USE_DEMO_WIDGETS
2021-06-20 12:25:46 +08:00
#define LV_DEMO_WIDGETS_SLIDESHOW 0
#endif
/*Printer demo, optimized for 800x480*/
2021-06-20 12:25:46 +08:00
#define LV_USE_DEMO_PRINTER 0
/*Demonstrate the usage of encoder and keyboard*/
2021-06-20 12:25:46 +08:00
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
/*Benchmark your system*/
2021-06-20 12:25:46 +08:00
#define LV_USE_DEMO_BENCHMARK 1
/*Stress test for LVGL*/
2021-06-20 12:25:46 +08:00
#define LV_USE_DEMO_STRESS 0
/*Music player for LVGL*/
2021-06-20 12:25:46 +08:00
#define LV_USE_DEMO_MUSIC 0
#if LV_USE_DEMO_MUSIC
#define LV_DEMO_MUSIC_AUTO_PLAY 0
#endif
#endif /*LV_EX_CONF_H*/
#endif /*End of "Content enable"*/