move lvgl files to src folder

This commit is contained in:
Gabor Kiss-Vamosi
2019-03-17 08:33:03 +01:00
parent 2db846d5e0
commit f51bf17e39
186 changed files with 145 additions and 144 deletions

View File

@@ -1,11 +0,0 @@
CSRCS += lv_group.c
CSRCS += lv_indev.c
CSRCS += lv_disp.c
CSRCS += lv_obj.c
CSRCS += lv_refr.c
CSRCS += lv_style.c
DEPPATH += --dep-path $(LVGL_DIR)/lvgl/lv_core
VPATH += :$(LVGL_DIR)/lvgl/lv_core
CFLAGS += "-I$(LVGL_DIR)/lvgl/lv_core"

View File

@@ -1,8 +0,0 @@
CSRCS += lv_hal_disp.c
CSRCS += lv_hal_indev.c
CSRCS += lv_hal_tick.c
DEPPATH += --dep-path $(LVGL_DIR)/lvgl/lv_hal
VPATH += :$(LVGL_DIR)/lvgl/lv_hal
CFLAGS += "-I$(LVGL_DIR)/lvgl/lv_hal"

83
lvgl.h
View File

@@ -14,53 +14,54 @@ extern "C" {
* INCLUDES * INCLUDES
*********************/ *********************/
#include "lv_version.h" #include "src/lv_version.h"
#include "lv_misc/lv_log.h" #include "src/lv_misc/lv_log.h"
#include "lv_misc/lv_task.h" #include "src/lv_misc/lv_task.h"
#include "src/lv_misc/lv_math.h"
#include "lv_hal/lv_hal.h" #include "src/lv_hal/lv_hal.h"
#include "lv_core/lv_obj.h" #include "src/lv_core/lv_obj.h"
#include "lv_core/lv_group.h" #include "src/lv_core/lv_group.h"
#include "lv_core/lv_refr.h" #include "src/lv_core/lv_refr.h"
#include "lv_core/lv_disp.h" #include "src/lv_core/lv_disp.h"
#include "lv_themes/lv_theme.h" #include "src/lv_themes/lv_theme.h"
#include "lv_objx/lv_btn.h" #include "src/lv_objx/lv_btn.h"
#include "lv_objx/lv_imgbtn.h" #include "src/lv_objx/lv_imgbtn.h"
#include "lv_objx/lv_img.h" #include "src/lv_objx/lv_img.h"
#include "lv_objx/lv_label.h" #include "src/lv_objx/lv_label.h"
#include "lv_objx/lv_line.h" #include "src/lv_objx/lv_line.h"
#include "lv_objx/lv_page.h" #include "src/lv_objx/lv_page.h"
#include "lv_objx/lv_cont.h" #include "src/lv_objx/lv_cont.h"
#include "lv_objx/lv_list.h" #include "src/lv_objx/lv_list.h"
#include "lv_objx/lv_chart.h" #include "src/lv_objx/lv_chart.h"
#include "lv_objx/lv_table.h" #include "src/lv_objx/lv_table.h"
#include "lv_objx/lv_cb.h" #include "src/lv_objx/lv_cb.h"
#include "lv_objx/lv_bar.h" #include "src/lv_objx/lv_bar.h"
#include "lv_objx/lv_slider.h" #include "src/lv_objx/lv_slider.h"
#include "lv_objx/lv_led.h" #include "src/lv_objx/lv_led.h"
#include "lv_objx/lv_btnm.h" #include "src/lv_objx/lv_btnm.h"
#include "lv_objx/lv_kb.h" #include "src/lv_objx/lv_kb.h"
#include "lv_objx/lv_ddlist.h" #include "src/lv_objx/lv_ddlist.h"
#include "lv_objx/lv_roller.h" #include "src/lv_objx/lv_roller.h"
#include "lv_objx/lv_ta.h" #include "src/lv_objx/lv_ta.h"
#include "lv_objx/lv_canvas.h" #include "src/lv_objx/lv_canvas.h"
#include "lv_objx/lv_win.h" #include "src/lv_objx/lv_win.h"
#include "lv_objx/lv_tabview.h" #include "src/lv_objx/lv_tabview.h"
#include "lv_objx/lv_tileview.h" #include "src/lv_objx/lv_tileview.h"
#include "lv_objx/lv_mbox.h" #include "src/lv_objx/lv_mbox.h"
#include "lv_objx/lv_gauge.h" #include "src/lv_objx/lv_gauge.h"
#include "lv_objx/lv_lmeter.h" #include "src/lv_objx/lv_lmeter.h"
#include "lv_objx/lv_sw.h" #include "src/lv_objx/lv_sw.h"
#include "lv_objx/lv_kb.h" #include "src/lv_objx/lv_kb.h"
#include "lv_objx/lv_arc.h" #include "src/lv_objx/lv_arc.h"
#include "lv_objx/lv_preload.h" #include "src/lv_objx/lv_preload.h"
#include "lv_objx/lv_calendar.h" #include "src/lv_objx/lv_calendar.h"
#include "lv_objx/lv_spinbox.h" #include "src/lv_objx/lv_spinbox.h"
/********************* /*********************
* DEFINES * DEFINES

14
lvgl.mk
View File

@@ -1,8 +1,8 @@
include $(LVGL_DIR)/lvgl/lv_core/lv_core.mk include $(LVGL_DIR)/lvgl/src/lv_core/lv_core.mk
include $(LVGL_DIR)/lvgl/lv_hal/lv_hal.mk include $(LVGL_DIR)/lvgl/src/lv_hal/lv_hal.mk
include $(LVGL_DIR)/lvgl/lv_objx/lv_objx.mk include $(LVGL_DIR)/lvgl/src/lv_objx/lv_objx.mk
include $(LVGL_DIR)/lvgl/lv_fonts/lv_fonts.mk include $(LVGL_DIR)/lvgl/src/lv_fonts/lv_fonts.mk
include $(LVGL_DIR)/lvgl/lv_misc/lv_misc.mk include $(LVGL_DIR)/lvgl/src/lv_misc/lv_misc.mk
include $(LVGL_DIR)/lvgl/lv_themes/lv_themes.mk include $(LVGL_DIR)/lvgl/src/lv_themes/lv_themes.mk
include $(LVGL_DIR)/lvgl/lv_draw/lv_draw.mk include $(LVGL_DIR)/lvgl/src/lv_draw/lv_draw.mk

View File

@@ -5,8 +5,8 @@ Generates a chechker file for lv_conf.h from lv_conf_templ.h define all the not
import re import re
fin = open("lv_conf_templ.h", "r"); fin = open("../src/lv_conf_templ.h", "r");
fout = open("lv_conf_checker.h", "w"); fout = open("../src/lv_conf_checker.h", "w");
fout.write( fout.write(

View File

@@ -353,7 +353,7 @@ typedef void * lv_obj_user_data_t; /*Declare the type of the user data
/*--END OF LV_CONF_H--*/ /*--END OF LV_CONF_H--*/
/*Be sure every define has a default value*/ /*Be sure every define has a default value*/
#include "lvgl/lv_conf_checker.h" #include "lvgl/src/lv_conf_checker.h"
#endif /*LV_CONF_H*/ #endif /*LV_CONF_H*/

11
src/lv_core/lv_core.mk Normal file
View File

@@ -0,0 +1,11 @@
CSRCS += lv_group.c
CSRCS += lv_indev.c
CSRCS += lv_disp.c
CSRCS += lv_obj.c
CSRCS += lv_refr.c
CSRCS += lv_style.c
DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_core
VPATH += :$(LVGL_DIR)/lvgl/src/lv_core
CFLAGS += "-I$(LVGL_DIR)/lvgl/src/lv_core"

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include "lv_obj.h" #include "lv_obj.h"

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stddef.h> #include <stddef.h>

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include "../lv_core/lv_style.h" #include "../lv_core/lv_style.h"

View File

@@ -7,7 +7,7 @@ CSRCS += lv_draw_img.c
CSRCS += lv_draw_arc.c CSRCS += lv_draw_arc.c
CSRCS += lv_draw_triangle.c CSRCS += lv_draw_triangle.c
DEPPATH += --dep-path $(LVGL_DIR)/lvgl/lv_draw DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_draw
VPATH += :$(LVGL_DIR)/lvgl/lv_draw VPATH += :$(LVGL_DIR)/lvgl/src/lv_draw
CFLAGS += "-I$(LVGL_DIR)/lvgl/lv_draw" CFLAGS += "-I$(LVGL_DIR)lvgl/src/lv_draw"

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include "../lv_misc/lv_color.h" #include "../lv_misc/lv_color.h"

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include "../lv_misc/lv_font.h" #include "../lv_misc/lv_font.h"

View File

@@ -17,7 +17,7 @@ CSRCS += lv_font_symbol_30.c
CSRCS += lv_font_symbol_40.c CSRCS += lv_font_symbol_40.c
CSRCS += lv_font_monospace_8.c CSRCS += lv_font_monospace_8.c
DEPPATH += --dep-path $(LVGL_DIR)/lvgl/lv_fonts DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_fonts
VPATH += :$(LVGL_DIR)/lvgl/lv_fonts VPATH += :$(LVGL_DIR)/lvgl/src/lv_fonts
CFLAGS += "-I$(LVGL_DIR)/lvgl/lv_fonts" CFLAGS += "-I$(LVGL_DIR)/lvgl/src/lv_fonts"

8
src/lv_hal/lv_hal.mk Normal file
View File

@@ -0,0 +1,8 @@
CSRCS += lv_hal_disp.c
CSRCS += lv_hal_indev.c
CSRCS += lv_hal_tick.c
DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_hal
VPATH += :$(LVGL_DIR)/lvgl/src/lv_hal
CFLAGS += "-I$(LVGL_DIR)/lvgl/src/lv_hal"

View File

@@ -18,7 +18,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stdbool.h> #include <stdbool.h>

View File

@@ -9,7 +9,7 @@
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include "lv_hal_tick.h" #include "lv_hal_tick.h"

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>

View File

@@ -17,7 +17,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#if LV_USE_ANIMATION #if LV_USE_ANIMATION

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
/*Error checking*/ /*Error checking*/

View File

@@ -17,7 +17,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stdint.h> #include <stdint.h>

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#if LV_USE_FILESYSTEM #if LV_USE_FILESYSTEM

View File

@@ -17,7 +17,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stdint.h> #include <stdint.h>

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stdint.h> #include <stdint.h>

View File

@@ -17,7 +17,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stdint.h> #include <stdint.h>

View File

@@ -12,7 +12,7 @@ CSRCS += lv_math.c
CSRCS += lv_log.c CSRCS += lv_log.c
CSRCS += lv_gc.c CSRCS += lv_gc.c
DEPPATH += --dep-path $(LVGL_DIR)/lvgl/lv_misc DEPPATH += --dep-path $(LVGL_DIR)/lvgl/src/lv_misc
VPATH += :$(LVGL_DIR)/lvgl/lv_misc VPATH += :$(LVGL_DIR)/lvgl/src/lv_misc
CFLAGS += "-I$(LVGL_DIR)/lvgl/lv_misc" CFLAGS += "-I$(LVGL_DIR)/lvgl/src/lv_misc"

View File

@@ -7,7 +7,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
/* /*

View File

@@ -17,7 +17,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stdint.h> #include <stdint.h>

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#include <stdbool.h> #include <stdbool.h>

View File

@@ -17,7 +17,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#if LV_USE_ARC != 0 #if LV_USE_ARC != 0

View File

@@ -16,7 +16,7 @@ extern "C" {
#ifdef LV_CONF_INCLUDE_SIMPLE #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lv_conf.h" #include "lv_conf.h"
#else #else
#include "../../lv_conf.h" #include "../../../lv_conf.h"
#endif #endif
#if LV_USE_BAR != 0 #if LV_USE_BAR != 0

Some files were not shown because too many files have changed in this diff Show More