Boilerplate library to get started with LvGL on STM DISCO F746NG board. Adapted from https://os.mbed.com/users/JohnnyK/code/DISCO-F746NG_MbedOs_LvGL_example/
Dependencies: BSP_DISCO_F746NG
lv_port_indev.h@1:a23fffad1321, 2020-09-10 (annotated)
- Committer:
- elelthvd
- Date:
- Thu Sep 10 09:24:23 2020 +0000
- Revision:
- 1:a23fffad1321
- Parent:
- 0:cffa136e7f8f
Add usage for Mbed Thread
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elelthvd | 0:cffa136e7f8f | 1 | |
elelthvd | 0:cffa136e7f8f | 2 | /** |
elelthvd | 0:cffa136e7f8f | 3 | * @file lv_port_indev_templ.h |
elelthvd | 0:cffa136e7f8f | 4 | * |
elelthvd | 0:cffa136e7f8f | 5 | */ |
elelthvd | 0:cffa136e7f8f | 6 | |
elelthvd | 0:cffa136e7f8f | 7 | /*Copy this file as "lv_port_indev.h" and set this value to "1" to enable content*/ |
elelthvd | 0:cffa136e7f8f | 8 | #if 1 |
elelthvd | 0:cffa136e7f8f | 9 | |
elelthvd | 0:cffa136e7f8f | 10 | #ifndef LV_PORT_INDEV_H |
elelthvd | 0:cffa136e7f8f | 11 | #define LV_PORT_INDEV_H |
elelthvd | 0:cffa136e7f8f | 12 | |
elelthvd | 0:cffa136e7f8f | 13 | #ifdef __cplusplus |
elelthvd | 0:cffa136e7f8f | 14 | extern "C" { |
elelthvd | 0:cffa136e7f8f | 15 | #endif |
elelthvd | 0:cffa136e7f8f | 16 | |
elelthvd | 0:cffa136e7f8f | 17 | /********************* |
elelthvd | 0:cffa136e7f8f | 18 | * INCLUDES |
elelthvd | 0:cffa136e7f8f | 19 | *********************/ |
elelthvd | 0:cffa136e7f8f | 20 | #include "lvgl/lvgl.h" |
elelthvd | 0:cffa136e7f8f | 21 | |
elelthvd | 0:cffa136e7f8f | 22 | /********************* |
elelthvd | 0:cffa136e7f8f | 23 | * DEFINES |
elelthvd | 0:cffa136e7f8f | 24 | *********************/ |
elelthvd | 0:cffa136e7f8f | 25 | |
elelthvd | 0:cffa136e7f8f | 26 | /********************** |
elelthvd | 0:cffa136e7f8f | 27 | * TYPEDEFS |
elelthvd | 0:cffa136e7f8f | 28 | **********************/ |
elelthvd | 0:cffa136e7f8f | 29 | |
elelthvd | 0:cffa136e7f8f | 30 | /********************** |
elelthvd | 0:cffa136e7f8f | 31 | * GLOBAL PROTOTYPES |
elelthvd | 0:cffa136e7f8f | 32 | **********************/ |
elelthvd | 0:cffa136e7f8f | 33 | void lv_port_indev_init(void); |
elelthvd | 0:cffa136e7f8f | 34 | /********************** |
elelthvd | 0:cffa136e7f8f | 35 | * MACROS |
elelthvd | 0:cffa136e7f8f | 36 | **********************/ |
elelthvd | 0:cffa136e7f8f | 37 | |
elelthvd | 0:cffa136e7f8f | 38 | |
elelthvd | 0:cffa136e7f8f | 39 | #ifdef __cplusplus |
elelthvd | 0:cffa136e7f8f | 40 | } /* extern "C" */ |
elelthvd | 0:cffa136e7f8f | 41 | #endif |
elelthvd | 0:cffa136e7f8f | 42 | |
elelthvd | 0:cffa136e7f8f | 43 | #endif /*LV_PORT_INDEV_TEMPL_H*/ |
elelthvd | 0:cffa136e7f8f | 44 | |
elelthvd | 0:cffa136e7f8f | 45 | #endif /*Disable/Enable content*/ |
elelthvd | 0:cffa136e7f8f | 46 | |
elelthvd | 0:cffa136e7f8f | 47 |