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

Dependents:   LvGL_F746NG_test

Revision:
1:a23fffad1321
Parent:
0:cffa136e7f8f
--- a/lvgl_f746ng.h	Tue Sep 08 05:23:58 2020 +0000
+++ b/lvgl_f746ng.h	Thu Sep 10 09:24:23 2020 +0000
@@ -1,39 +1,15 @@
-/**
- * @file lvgl_f746ng.h
- *
- */
 
-#ifndef LVGL_F746NG_H
-#define LVGL_F746NG_H
-
-// #ifdef __cplusplus
-// extern "C" {
-// #endif
-
-/*********************
- *      INCLUDES
- *********************/
+#include "lv_port_disp.h"
+#include "lv_port_indev.h"
+#include "lvgl/lvgl.h"
 #include "mbed.h"
+#include <cstdio>
 
-/*********************
- *      DEFINES
- *********************/
-
-/**********************
- *      TYPEDEFS
- **********************/
+/* Use Thread or not (comment or not) */
+#define LVGL_USE_THREAD
+/* LvGL tick increment value */
+#define LVGL_TICK_INC 5
 
-/**********************
- * GLOBAL PROTOTYPES
- **********************/
-void lvgl_f746ng_init(void);
+/* Initialize lvgl + target port specifics + mbed ticker or thread. */
+void lvgl_f746ng_init();
 
-/**********************
- *      MACROS
- **********************/
-
-// #ifdef __cplusplus
-// } /* extern "C" */
-// #endif
-
-#endif /*LVGL_F746NG_H*/