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@2:afc050526249, 2020-04-07 (annotated)
- Committer:
- JohnnyK
- Date:
- Tue Apr 07 08:06:45 2020 +0000
- Revision:
- 2:afc050526249
- Parent:
- 0:10c4b83c458d
- Child:
- 3:4f5dc253eb7b
add link to a Notebook page
Who changed what in which revision?
User | Revision | Line number | New 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 | |
JohnnyK | 0:10c4b83c458d | 14 | /******************* |
JohnnyK | 0:10c4b83c458d | 15 | * GENERAL SETTING |
JohnnyK | 0:10c4b83c458d | 16 | *******************/ |
JohnnyK | 0:10c4b83c458d | 17 | #define LV_EX_PRINTF 0 /*Enable printf-ing data*/ |
JohnnyK | 0:10c4b83c458d | 18 | #define LV_EX_KEYBOARD 0 /*Add PC keyboard support to some examples (`lv_drivers` repository is required)*/ |
JohnnyK | 0:10c4b83c458d | 19 | #define LV_EX_MOUSEWHEEL 0 /*Add 'encoder' (mouse wheel) support to some examples (`lv_drivers` repository is required)*/ |
JohnnyK | 0:10c4b83c458d | 20 | |
JohnnyK | 0:10c4b83c458d | 21 | /******************* |
JohnnyK | 0:10c4b83c458d | 22 | * TEST USAGE |
JohnnyK | 0:10c4b83c458d | 23 | *******************/ |
JohnnyK | 0:10c4b83c458d | 24 | #define LV_USE_TESTS 0 |
JohnnyK | 0:10c4b83c458d | 25 | |
JohnnyK | 0:10c4b83c458d | 26 | /******************* |
JohnnyK | 0:10c4b83c458d | 27 | * TUTORIAL USAGE |
JohnnyK | 0:10c4b83c458d | 28 | *******************/ |
JohnnyK | 0:10c4b83c458d | 29 | #define LV_USE_TUTORIALS 0 |
JohnnyK | 0:10c4b83c458d | 30 | |
JohnnyK | 0:10c4b83c458d | 31 | |
JohnnyK | 0:10c4b83c458d | 32 | /********************* |
JohnnyK | 0:10c4b83c458d | 33 | * APPLICATION USAGE |
JohnnyK | 0:10c4b83c458d | 34 | *********************/ |
JohnnyK | 0:10c4b83c458d | 35 | |
JohnnyK | 0:10c4b83c458d | 36 | /* Test the graphical performance of your MCU |
JohnnyK | 0:10c4b83c458d | 37 | * with different settings*/ |
JohnnyK | 0:10c4b83c458d | 38 | #define LV_USE_BENCHMARK 0 |
JohnnyK | 0:10c4b83c458d | 39 | |
JohnnyK | 0:10c4b83c458d | 40 | /*A demo application with Keyboard, Text area, List and Chart |
JohnnyK | 0:10c4b83c458d | 41 | * placed on Tab view */ |
JohnnyK | 0:10c4b83c458d | 42 | #define LV_USE_DEMO 1 |
JohnnyK | 0:10c4b83c458d | 43 | #if LV_USE_DEMO |
JohnnyK | 0:10c4b83c458d | 44 | #define LV_DEMO_WALLPAPER 0 /*Create a wallpaper too*/ |
JohnnyK | 0:10c4b83c458d | 45 | #define LV_DEMO_SLIDE_SHOW 0 /*Automatically switch between tabs*/ |
JohnnyK | 0:10c4b83c458d | 46 | #endif |
JohnnyK | 0:10c4b83c458d | 47 | |
JohnnyK | 0:10c4b83c458d | 48 | /*MCU and memory usage monitoring*/ |
JohnnyK | 0:10c4b83c458d | 49 | #define LV_USE_SYSMON 0 |
JohnnyK | 0:10c4b83c458d | 50 | |
JohnnyK | 0:10c4b83c458d | 51 | /*A terminal to display received characters*/ |
JohnnyK | 0:10c4b83c458d | 52 | #define LV_USE_TERMINAL 0 |
JohnnyK | 0:10c4b83c458d | 53 | |
JohnnyK | 0:10c4b83c458d | 54 | /*Touch pad calibration with 4 points*/ |
JohnnyK | 0:10c4b83c458d | 55 | #define LV_USE_TPCAL 0 |
JohnnyK | 0:10c4b83c458d | 56 | |
JohnnyK | 0:10c4b83c458d | 57 | #endif /*LV_EX_CONF_H*/ |
JohnnyK | 0:10c4b83c458d | 58 | |
JohnnyK | 0:10c4b83c458d | 59 | #endif /*End of "Content enable"*/ |
JohnnyK | 0:10c4b83c458d | 60 |