Example of using the LVGL (8.3.4) with the MbedOS (6.16 - bare metal) on the Disco-F746NG board
Dependencies: BSP_DISCO_F746NG
lv_ex_conf.h@3:4f5dc253eb7b, 2021-04-24 (annotated)
- Committer:
- JohnnyK
- Date:
- Sat Apr 24 19:08:28 2021 +0000
- Revision:
- 3:4f5dc253eb7b
- Parent:
- 0:10c4b83c458d
Rework to LVGL 7.10.1 and MbedOS 6.10
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JohnnyK | 3:4f5dc253eb7b | 1 | /** |
JohnnyK | 3:4f5dc253eb7b | 2 | * @file lv_ex_conf.h |
JohnnyK | 3:4f5dc253eb7b | 3 | * Configuration file for v7.11.0 |
JohnnyK | 3:4f5dc253eb7b | 4 | * |
JohnnyK | 3:4f5dc253eb7b | 5 | */ |
JohnnyK | 3:4f5dc253eb7b | 6 | /* |
JohnnyK | 3:4f5dc253eb7b | 7 | * COPY THIS FILE AS lv_ex_conf.h |
JohnnyK | 3:4f5dc253eb7b | 8 | */ |
JohnnyK | 3:4f5dc253eb7b | 9 | |
JohnnyK | 3:4f5dc253eb7b | 10 | #if 1 /*Set it to "1" to enable the content*/ |
JohnnyK | 3:4f5dc253eb7b | 11 | |
JohnnyK | 3:4f5dc253eb7b | 12 | #ifndef LV_EX_CONF_H |
JohnnyK | 3:4f5dc253eb7b | 13 | #define LV_EX_CONF_H |
JohnnyK | 3:4f5dc253eb7b | 14 | |
JohnnyK | 3:4f5dc253eb7b | 15 | |
JohnnyK | 3:4f5dc253eb7b | 16 | /******************* |
JohnnyK | 3:4f5dc253eb7b | 17 | * GENERAL SETTING |
JohnnyK | 3:4f5dc253eb7b | 18 | *******************/ |
JohnnyK | 3:4f5dc253eb7b | 19 | #define LV_EX_PRINTF 0 /*Enable printf-ing data in demoes and examples*/ |
JohnnyK | 3:4f5dc253eb7b | 20 | #define LV_EX_KEYBOARD 0 /*Add PC keyboard support to some examples (`lv_drivers` repository is required)*/ |
JohnnyK | 3:4f5dc253eb7b | 21 | #define LV_EX_MOUSEWHEEL 0 /*Add 'encoder' (mouse wheel) support to some examples (`lv_drivers` repository is required)*/ |
JohnnyK | 3:4f5dc253eb7b | 22 | |
JohnnyK | 3:4f5dc253eb7b | 23 | /********************* |
JohnnyK | 3:4f5dc253eb7b | 24 | * DEMO USAGE |
JohnnyK | 3:4f5dc253eb7b | 25 | *********************/ |
JohnnyK | 3:4f5dc253eb7b | 26 | |
JohnnyK | 3:4f5dc253eb7b | 27 | /*Show some widget*/ |
JohnnyK | 3:4f5dc253eb7b | 28 | #define LV_USE_DEMO_WIDGETS 1 |
JohnnyK | 3:4f5dc253eb7b | 29 | #if LV_USE_DEMO_WIDGETS |
JohnnyK | 3:4f5dc253eb7b | 30 | #define LV_DEMO_WIDGETS_SLIDESHOW 0 |
JohnnyK | 3:4f5dc253eb7b | 31 | #endif |
JohnnyK | 3:4f5dc253eb7b | 32 | |
JohnnyK | 3:4f5dc253eb7b | 33 | /*Printer demo, optimized for 800x480*/ |
JohnnyK | 3:4f5dc253eb7b | 34 | #define LV_USE_DEMO_PRINTER 0 |
JohnnyK | 3:4f5dc253eb7b | 35 | |
JohnnyK | 3:4f5dc253eb7b | 36 | /*Demonstrate the usage of encoder and keyboard*/ |
JohnnyK | 3:4f5dc253eb7b | 37 | #define LV_USE_DEMO_KEYPAD_AND_ENCODER 0 |
JohnnyK | 3:4f5dc253eb7b | 38 | |
JohnnyK | 3:4f5dc253eb7b | 39 | /*Benchmark your system*/ |
JohnnyK | 3:4f5dc253eb7b | 40 | #define LV_USE_DEMO_BENCHMARK 0 |
JohnnyK | 3:4f5dc253eb7b | 41 | |
JohnnyK | 3:4f5dc253eb7b | 42 | /*Stress test for LVGL*/ |
JohnnyK | 3:4f5dc253eb7b | 43 | #define LV_USE_DEMO_STRESS 0 |
JohnnyK | 3:4f5dc253eb7b | 44 | |
JohnnyK | 3:4f5dc253eb7b | 45 | /*Music player for LVGL*/ |
JohnnyK | 3:4f5dc253eb7b | 46 | #define LV_USE_DEMO_MUSIC 0 |
JohnnyK | 3:4f5dc253eb7b | 47 | #if LV_USE_DEMO_MUSIC |
JohnnyK | 3:4f5dc253eb7b | 48 | #define LV_DEMO_MUSIC_AUTO_PLAY 0 |
JohnnyK | 3:4f5dc253eb7b | 49 | #endif |
JohnnyK | 3:4f5dc253eb7b | 50 | |
JohnnyK | 3:4f5dc253eb7b | 51 | #endif /*LV_EX_CONF_H*/ |
JohnnyK | 3:4f5dc253eb7b | 52 | |
JohnnyK | 3:4f5dc253eb7b | 53 | #endif /*End of "Content enable"*/ |
JohnnyK | 3:4f5dc253eb7b | 54 |