add some code

This commit is contained in:
2025-09-05 13:25:11 +08:00
parent 9ff0a99e7a
commit 3cf1229a85
8911 changed files with 2535396 additions and 0 deletions

View File

@@ -0,0 +1 @@
test_file

View File

@@ -0,0 +1,10 @@
LVGL_PATH := $(CURDIR)/../..
$(info LVGL_PATH is set to: $(LVGL_PATH))
include ../../lvgl.mk
CSRCS += test.c
CFLAGS += -Werror -DLV_CONF_SKIP=1 -DLV_BUILD_TEST=1 -I$(LVGL_PATH)/..
COBJS := $(patsubst %.c, %.o, $(CSRCS))
test_file: $(COBJS)
$(CC) -o $@ $^

View File

@@ -0,0 +1,10 @@
#if LV_BUILD_TEST
#include <stdio.h>
#include "../../lvgl.h"
int main(void)
{
lv_init();
return 0;
}
#endif