diff -Nuar lv_demos-8.0.1/CMakeLists.txt lv_demos-8.0.1-imx6ull/CMakeLists.txt
|
--- lv_demos-8.0.1/CMakeLists.txt 2021-06-14 20:00:00.000000000 +0800
|
+++ lv_demos-8.0.1-imx6ull/CMakeLists.txt 2021-09-27 21:26:45.823935469 +0800
|
@@ -1,2 +1,5 @@
|
+set(CMAKE_C_COMPILER "/opt/buildroot/cortex-a7/bin/arm-linux-gcc")
|
+include_directories(..)
|
+
|
file(GLOB_RECURSE SOURCES src/*.c)
|
add_library(lv_examples STATIC ${SOURCES})
|
diff -Nuar lv_demos-8.0.1/lv_demo_conf_template.h lv_demos-8.0.1-imx6ull/lv_demo_conf_template.h
|
--- lv_demos-8.0.1/lv_demo_conf_template.h 2021-06-14 20:00:00.000000000 +0800
|
+++ lv_demos-8.0.1-imx6ull/lv_demo_conf_template.h 2021-09-27 20:57:35.667901897 +0800
|
@@ -7,7 +7,7 @@
|
* COPY THIS FILE AS lv_demo_conf.h
|
*/
|
|
-#if 0 /*Set it to "1" to enable the content*/
|
+#if 1 /*Set it to "1" to enable the content*/
|
|
#ifndef LV_EX_CONF_H
|
#define LV_EX_CONF_H
|
@@ -25,22 +25,22 @@
|
*********************/
|
|
/*Show some widget*/
|
-#define LV_USE_DEMO_WIDGETS 0
|
+#define LV_USE_DEMO_WIDGETS 1
|
#if LV_USE_DEMO_WIDGETS
|
#define LV_DEMO_WIDGETS_SLIDESHOW 0
|
#endif
|
|
/*Printer demo, optimized for 800x480*/
|
-#define LV_USE_DEMO_PRINTER 0
|
+#define LV_USE_DEMO_PRINTER 1
|
|
/*Demonstrate the usage of encoder and keyboard*/
|
-#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
|
+#define LV_USE_DEMO_KEYPAD_AND_ENCODER 1
|
|
/*Benchmark your system*/
|
-#define LV_USE_DEMO_BENCHMARK 0
|
+#define LV_USE_DEMO_BENCHMARK 1
|
|
/*Stress test for LVGL*/
|
-#define LV_USE_DEMO_STRESS 0
|
+#define LV_USE_DEMO_STRESS 1
|
|
/*Music player demo*/
|
#define LV_USE_DEMO_MUSIC 1
|