guowenxue
2024-09-27 b64b1d3468ec020b1a0ec31dd93490196cedaf1d
commit | author | age
b64b1d 1 diff -Nuar lv_demos-8.0.1/CMakeLists.txt lv_demos-8.0.1-imx6ull/CMakeLists.txt
G 2 --- lv_demos-8.0.1/CMakeLists.txt    2021-06-14 20:00:00.000000000 +0800
3 +++ lv_demos-8.0.1-imx6ull/CMakeLists.txt    2021-09-27 21:26:45.823935469 +0800
4 @@ -1,2 +1,5 @@
5 +set(CMAKE_C_COMPILER "/opt/buildroot/cortex-a7/bin/arm-linux-gcc") 
6 +include_directories(..)
7 +
8  file(GLOB_RECURSE SOURCES src/*.c)
9  add_library(lv_examples STATIC ${SOURCES})
10 diff -Nuar lv_demos-8.0.1/lv_demo_conf_template.h lv_demos-8.0.1-imx6ull/lv_demo_conf_template.h
11 --- lv_demos-8.0.1/lv_demo_conf_template.h    2021-06-14 20:00:00.000000000 +0800
12 +++ lv_demos-8.0.1-imx6ull/lv_demo_conf_template.h    2021-09-27 20:57:35.667901897 +0800
13 @@ -7,7 +7,7 @@
14   * COPY THIS FILE AS lv_demo_conf.h
15   */
16  
17 -#if 0 /*Set it to "1" to enable the content*/
18 +#if 1 /*Set it to "1" to enable the content*/
19  
20  #ifndef LV_EX_CONF_H
21  #define LV_EX_CONF_H
22 @@ -25,22 +25,22 @@
23   *********************/
24  
25  /*Show some widget*/
26 -#define LV_USE_DEMO_WIDGETS        0
27 +#define LV_USE_DEMO_WIDGETS        1
28  #if LV_USE_DEMO_WIDGETS
29  #define LV_DEMO_WIDGETS_SLIDESHOW  0
30  #endif
31  
32  /*Printer demo, optimized for 800x480*/
33 -#define LV_USE_DEMO_PRINTER     0
34 +#define LV_USE_DEMO_PRINTER     1
35  
36  /*Demonstrate the usage of encoder and keyboard*/
37 -#define LV_USE_DEMO_KEYPAD_AND_ENCODER     0
38 +#define LV_USE_DEMO_KEYPAD_AND_ENCODER     1
39  
40  /*Benchmark your system*/
41 -#define LV_USE_DEMO_BENCHMARK   0
42 +#define LV_USE_DEMO_BENCHMARK   1
43  
44  /*Stress test for LVGL*/
45 -#define LV_USE_DEMO_STRESS      0
46 +#define LV_USE_DEMO_STRESS      1
47  
48  /*Music player demo*/
49  #define LV_USE_DEMO_MUSIC      1