Example of using the LVGL (8.3.4) with the MbedOS (6.16 - bare metal) on the Disco-F746NG board
Dependencies: BSP_DISCO_F746NG
Diff: lv_ex_conf.h
- Revision:
- 3:4f5dc253eb7b
- Parent:
- 0:10c4b83c458d
--- a/lv_ex_conf.h Tue Apr 07 08:06:45 2020 +0000 +++ b/lv_ex_conf.h Sat Apr 24 19:08:28 2021 +0000 @@ -1,60 +1,54 @@ -/** - * @file lv_ex_conf.h - * - */ -/* - * 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 - -/******************* - * GENERAL SETTING - *******************/ -#define LV_EX_PRINTF 0 /*Enable printf-ing data*/ -#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)*/ - -/******************* - * TEST USAGE - *******************/ -#define LV_USE_TESTS 0 - -/******************* - * TUTORIAL USAGE - *******************/ -#define LV_USE_TUTORIALS 0 - - -/********************* - * APPLICATION USAGE - *********************/ - -/* Test the graphical performance of your MCU - * with different settings*/ -#define LV_USE_BENCHMARK 0 - -/*A demo application with Keyboard, Text area, List and Chart - * placed on Tab view */ -#define LV_USE_DEMO 1 -#if LV_USE_DEMO -#define LV_DEMO_WALLPAPER 0 /*Create a wallpaper too*/ -#define LV_DEMO_SLIDE_SHOW 0 /*Automatically switch between tabs*/ -#endif - -/*MCU and memory usage monitoring*/ -#define LV_USE_SYSMON 0 - -/*A terminal to display received characters*/ -#define LV_USE_TERMINAL 0 - -/*Touch pad calibration with 4 points*/ -#define LV_USE_TPCAL 0 - -#endif /*LV_EX_CONF_H*/ - -#endif /*End of "Content enable"*/ - +/** + * @file lv_ex_conf.h + * Configuration file for v7.11.0 + * + */ +/* + * 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 + + +/******************* + * 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 1 +#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 0 + +/*Stress test for LVGL*/ +#define LV_USE_DEMO_STRESS 0 + +/*Music player for LVGL*/ +#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"*/ +