-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
97 lines (83 loc) · 3.01 KB
/
Kconfig
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
menu "LVGL display configuration"
choice LVGL_DISPLAY_SELECTION
prompt "Display module"
default LVGL_DISPLAY_TDISPLAY_S3
help
Choose the active display to use for LVGL
config LVGL_DISPLAY_TDISPLAY_S3
bool "LilyGO T-Display-S3"
config LVGL_DISPLAY_TTGO_TDISPLAY
bool "LilyGO TTGO T-Display"
endchoice
config LVGL_DISPLAY_PIXEL_CLOCK
depends on LVGL_DISPLAY_TDISPLAY_S3
int "Pixel clock frequency (MHz)"
range 1 80
default 10
help
Set the pixel clock frequency for the 8080 parallel bus. Higher values may be unstable.
config LVGL_DISPLAY_TQUEUE_DEPTH
depends on LVGL_DISPLAY_TDISPLAY_S3 || LVGL_DISPLAY_TTGO_TDISPLAY
int "Transaction queue depth"
range 1 100
default 10
help
Transaction queue size, larger queue, higher throughput.
config LVGL_DISPLAY_SPI_CLOCK
depends on LVGL_DISPLAY_TTGO_TDISPLAY
int "SPI clock frequency (MHz)"
range 1 40
default 20
help
Set the SPI clock frequency
config LVGL_DISPLAY_DRAW_BUFF_LEN
depends on LVGL_DISPLAY_TDISPLAY_S3 || LVGL_DISPLAY_TTGO_TDISPLAY
int "Draw buffer length"
range 1 170
default 20
help
Set the number of horizontal lines used as a draw buffer. This value effects both LVGL draw
buffers, and the DMA transfer length. Higher values use more memory. Usually this value should
not be less than 20.
config LVGL_DISPLAY_MIRROR_X
depends on LVGL_DISPLAY_TDISPLAY_S3 || LVGL_DISPLAY_TTGO_TDISPLAY
bool "Mirror X orientation"
default n
help
Mirror X orientation on display.
config LVGL_DISPLAY_MIRROR_Y
depends on LVGL_DISPLAY_TDISPLAY_S3 || LVGL_DISPLAY_TTGO_TDISPLAY
bool "Mirror Y orientation"
default y
help
Mirror y orientation on display.
config LVGL_DISPLAY_TASK_PRIORITY
int "LVGL main task priority"
default 4
help
Set the FreeRTOS task priority for the LVGL main task.
config LVGL_DISPLAY_TASK_STACK
int "LVGL main task stack length"
default 4096
help
Set the FreeRTOS task stack for the LVGL main task.
config LVGL_DISPLAY_TASK_AFFINITY
int "LVGL main task affinity"
default -1
range -1 1
help
Set the task affinity for the LVGL main task. Determines which core the task is tied to.
-1 sets either core.
config LVGL_DISPLAY_TASK_MAX_SLEEP
int "LVGL main task maximum sleep (ms)"
default 500
range 0 5000
help
Set the maximum sleep time for the main LVGL task, in milliseconds.
config LVGL_DISPLAY_TIMER_PERIOD
int "LVGL timer period (ms)"
default 5
range 0 5000
help
Set the period for the LVGL timer in milliseconds.
endmenu # LVGL display configuration