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_disp.h@0:cffa136e7f8f, 2020-09-08 (annotated)
- Committer:
- elelthvd
- Date:
- Tue Sep 08 05:23:58 2020 +0000
- Revision:
- 0:cffa136e7f8f
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elelthvd | 0:cffa136e7f8f | 1 | /** |
elelthvd | 0:cffa136e7f8f | 2 | * @file lv_port_disp_templ.h |
elelthvd | 0:cffa136e7f8f | 3 | * |
elelthvd | 0:cffa136e7f8f | 4 | */ |
elelthvd | 0:cffa136e7f8f | 5 | |
elelthvd | 0:cffa136e7f8f | 6 | /*Copy this file as "lv_port_disp.h" and set this value to "1" to enable content*/ |
elelthvd | 0:cffa136e7f8f | 7 | #if 1 |
elelthvd | 0:cffa136e7f8f | 8 | |
elelthvd | 0:cffa136e7f8f | 9 | #ifndef LV_PORT_DISP_H |
elelthvd | 0:cffa136e7f8f | 10 | #define LV_PORT_DISP_H |
elelthvd | 0:cffa136e7f8f | 11 | |
elelthvd | 0:cffa136e7f8f | 12 | #ifdef __cplusplus |
elelthvd | 0:cffa136e7f8f | 13 | extern "C" { |
elelthvd | 0:cffa136e7f8f | 14 | #endif |
elelthvd | 0:cffa136e7f8f | 15 | |
elelthvd | 0:cffa136e7f8f | 16 | /********************* |
elelthvd | 0:cffa136e7f8f | 17 | * INCLUDES |
elelthvd | 0:cffa136e7f8f | 18 | *********************/ |
elelthvd | 0:cffa136e7f8f | 19 | #include "lvgl/lvgl.h" |
elelthvd | 0:cffa136e7f8f | 20 | |
elelthvd | 0:cffa136e7f8f | 21 | /********************* |
elelthvd | 0:cffa136e7f8f | 22 | * DEFINES |
elelthvd | 0:cffa136e7f8f | 23 | *********************/ |
elelthvd | 0:cffa136e7f8f | 24 | |
elelthvd | 0:cffa136e7f8f | 25 | /********************** |
elelthvd | 0:cffa136e7f8f | 26 | * TYPEDEFS |
elelthvd | 0:cffa136e7f8f | 27 | **********************/ |
elelthvd | 0:cffa136e7f8f | 28 | |
elelthvd | 0:cffa136e7f8f | 29 | /********************** |
elelthvd | 0:cffa136e7f8f | 30 | * GLOBAL PROTOTYPES |
elelthvd | 0:cffa136e7f8f | 31 | **********************/ |
elelthvd | 0:cffa136e7f8f | 32 | void lv_port_disp_init(void); |
elelthvd | 0:cffa136e7f8f | 33 | /********************** |
elelthvd | 0:cffa136e7f8f | 34 | * MACROS |
elelthvd | 0:cffa136e7f8f | 35 | **********************/ |
elelthvd | 0:cffa136e7f8f | 36 | |
elelthvd | 0:cffa136e7f8f | 37 | |
elelthvd | 0:cffa136e7f8f | 38 | #ifdef __cplusplus |
elelthvd | 0:cffa136e7f8f | 39 | } /* extern "C" */ |
elelthvd | 0:cffa136e7f8f | 40 | #endif |
elelthvd | 0:cffa136e7f8f | 41 | |
elelthvd | 0:cffa136e7f8f | 42 | #endif /*LV_PORT_DISP_TEMPL_H*/ |
elelthvd | 0:cffa136e7f8f | 43 | |
elelthvd | 0:cffa136e7f8f | 44 | #endif /*Disable/Enable content*/ |
elelthvd | 0:cffa136e7f8f | 45 | |
elelthvd | 0:cffa136e7f8f | 46 |