move lvgl files to src folder
This commit is contained in:
@@ -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"
|
|
||||||
@@ -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
83
lvgl.h
@@ -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
14
lvgl.mk
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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(
|
||||||
@@ -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
11
src/lv_core/lv_core.mk
Normal 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"
|
||||||
@@ -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"
|
||||||
@@ -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>
|
||||||
@@ -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"
|
||||||
@@ -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"
|
||||||
@@ -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"
|
||||||
@@ -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"
|
||||||
@@ -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
8
src/lv_hal/lv_hal.mk
Normal 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"
|
||||||
@@ -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>
|
||||||
@@ -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"
|
||||||
@@ -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>
|
||||||
@@ -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
|
||||||
@@ -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*/
|
||||||
@@ -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>
|
||||||
@@ -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
|
||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
|
|
||||||
@@ -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>
|
||||||
@@ -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"
|
||||||
@@ -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
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
@@ -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
|
||||||
@@ -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
Reference in New Issue
Block a user