mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-16 19:38:56 +00:00
v1.0.3
This commit is contained in:
9
packages/artinchip/lvgl-ui/lvgl/tests/makefile/Makefile
Normal file
9
packages/artinchip/lvgl-ui/lvgl/tests/makefile/Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
LVGL_DIR := $(CURDIR)/../..
|
||||
include ../../lvgl.mk
|
||||
|
||||
CSRCS += test.c
|
||||
CFLAGS += -DLV_CONF_SKIP=1 -DLV_BUILD_TEST=1 -I$(LVGL_DIR)/..
|
||||
COBJS := $(patsubst %.c, %.o, $(CSRCS))
|
||||
|
||||
test_file: $(COBJS)
|
||||
$(CC) -o $@ $^
|
||||
9
packages/artinchip/lvgl-ui/lvgl/tests/makefile/test.c
Normal file
9
packages/artinchip/lvgl-ui/lvgl/tests/makefile/test.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#if LV_BUILD_TEST
|
||||
#include <stdio.h>
|
||||
#include "lvgl/lvgl.h"
|
||||
|
||||
int main(void) {
|
||||
lv_init();
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user