guowenxue
2024-09-27 b64b1d3468ec020b1a0ec31dd93490196cedaf1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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