Example of using the LittlevGL with the MbedOS (bare metal) on the Disco-F746NG board and also the GPU STM32 chrom-art accelerator is used

Dependencies:   BSP_DISCO_F746NG

Committer:
elelthvd
Date:
Tue Jul 21 19:59:09 2020 +0800
Revision:
3:1c9c6f2a7fcf
Parent:
0:10c4b83c458d
Updated to LVGLv7 and Mbed-OSv6

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JohnnyK 0:10c4b83c458d 1 /**
JohnnyK 0:10c4b83c458d 2 * @file lv_ex_conf.h
JohnnyK 0:10c4b83c458d 3 *
JohnnyK 0:10c4b83c458d 4 */
JohnnyK 0:10c4b83c458d 5 /*
JohnnyK 0:10c4b83c458d 6 * COPY THIS FILE AS lv_ex_conf.h
JohnnyK 0:10c4b83c458d 7 */
JohnnyK 0:10c4b83c458d 8
JohnnyK 0:10c4b83c458d 9 #if 1 /*Set it to "1" to enable the content*/
JohnnyK 0:10c4b83c458d 10
JohnnyK 0:10c4b83c458d 11 #ifndef LV_EX_CONF_H
JohnnyK 0:10c4b83c458d 12 #define LV_EX_CONF_H
JohnnyK 0:10c4b83c458d 13
elelthvd 3:1c9c6f2a7fcf 14
JohnnyK 0:10c4b83c458d 15 /*******************
JohnnyK 0:10c4b83c458d 16 * GENERAL SETTING
JohnnyK 0:10c4b83c458d 17 *******************/
elelthvd 3:1c9c6f2a7fcf 18 #define LV_EX_PRINTF 0 /*Enable printf-ing data in demoes and examples*/
JohnnyK 0:10c4b83c458d 19 #define LV_EX_KEYBOARD 0 /*Add PC keyboard support to some examples (`lv_drivers` repository is required)*/
JohnnyK 0:10c4b83c458d 20 #define LV_EX_MOUSEWHEEL 0 /*Add 'encoder' (mouse wheel) support to some examples (`lv_drivers` repository is required)*/
JohnnyK 0:10c4b83c458d 21
JohnnyK 0:10c4b83c458d 22 /*********************
elelthvd 3:1c9c6f2a7fcf 23 * DEMO USAGE
JohnnyK 0:10c4b83c458d 24 *********************/
JohnnyK 0:10c4b83c458d 25
elelthvd 3:1c9c6f2a7fcf 26 /*Show some widget*/
elelthvd 3:1c9c6f2a7fcf 27 #define LV_USE_DEMO_WIDGETS 1
elelthvd 3:1c9c6f2a7fcf 28 #if LV_USE_DEMO_WIDGETS
elelthvd 3:1c9c6f2a7fcf 29 #define LV_DEMO_WIDGETS_SLIDESHOW 0
JohnnyK 0:10c4b83c458d 30 #endif
JohnnyK 0:10c4b83c458d 31
elelthvd 3:1c9c6f2a7fcf 32 /*Printer demo, optimized for 800x480*/
elelthvd 3:1c9c6f2a7fcf 33 #define LV_USE_DEMO_PRINTER 0
elelthvd 3:1c9c6f2a7fcf 34
elelthvd 3:1c9c6f2a7fcf 35 /*Demonstrate the usage of encoder and keyboard*/
elelthvd 3:1c9c6f2a7fcf 36 #define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
JohnnyK 0:10c4b83c458d 37
elelthvd 3:1c9c6f2a7fcf 38 /*Benchmark your system*/
elelthvd 3:1c9c6f2a7fcf 39 #define LV_USE_DEMO_BENCHMARK 0
JohnnyK 0:10c4b83c458d 40
elelthvd 3:1c9c6f2a7fcf 41 /*Stress test for LVGL*/
elelthvd 3:1c9c6f2a7fcf 42 #define LV_USE_DEMO_STRESS 0
JohnnyK 0:10c4b83c458d 43
JohnnyK 0:10c4b83c458d 44 #endif /*LV_EX_CONF_H*/
JohnnyK 0:10c4b83c458d 45
JohnnyK 0:10c4b83c458d 46 #endif /*End of "Content enable"*/
JohnnyK 0:10c4b83c458d 47