-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathKconfig
112 lines (87 loc) · 2.33 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig UIKIT
bool "UIKit"
default n
---help---
Enable UIKit
if UIKIT
menuconfig UIKIT_FONT_MANAGER
bool "UIKIT_FONT_MANAGER"
default y
depends on LV_USE_FREETYPE
---help---
Enable font-manager for freetype fonts.
if UIKIT_FONT_MANAGER
config UIKIT_FONT_LIB_PATH
string "Font library path"
default "/data/"
---help---
The path of the font library. eg:
/data/ , /data/font/xxxxxL
Note: '/' is required at the end of the string.
choice UIKIT_FONT_CREATE_TYPE_CHOICE
prompt "Choose font create type"
default UIKIT_FONT_CREATE_TYPE_BITMAP
---help---
Select the font create type
config UIKIT_FONT_CREATE_TYPE_BITMAP
bool "Bitmap"
config UIKIT_FONT_CREATE_TYPE_OUTLINE
bool "Outline"
endchoice
config UIKIT_FONT_CREATE_TYPE
int
default 0 if UIKIT_FONT_CREATE_TYPE_BITMAP
default 1 if UIKIT_FONT_CREATE_TYPE_OUTLINE
config UIKIT_FONT_NAME_MAX
int "Font name max length"
default 32
config UIKIT_FONT_EXT_NAME
string "Font file extension"
default "ttf"
config UIKIT_FONT_EXT_MAX
int "Font file extension max length"
default 8
config UIKIT_FONT_CACHE_SIZE
int "Font cache size"
default 8
---help---
The maximum number of caches for reuse freetype info
config UIKIT_FONT_USE_LV_FONT_DEFAULT
bool "Use LV_FONT_DEFAULT when font creation fails"
default y
config UIKIT_FONT_USE_FONT_FAMILY
bool "Enable font-family"
select NETUTILS_CJSON
default n
config UIKIT_FONT_CONFIG_FILE_PATH
string "Font config file path"
depends on UIKIT_FONT_USE_FONT_FAMILY
default "/etc/font_config.json"
config UIKIT_FONT_USE_EMOJI
bool "Enable emoji support"
depends on UIKIT_FONT_USE_FONT_FAMILY
default y
config UIKIT_FONT_EMOJI_HEADER
string "Name header used to identify Emoji"
depends on UIKIT_FONT_USE_EMOJI
default "Emoji"
endif # UIKIT_FONT_MANAGER
config UIKIT_VIDEO_ADAPTER
bool "Enable video adapter based on media server"
depends on MEDIA_SERVER && NETUTILS_CJSON
default n
if UIKIT_VIDEO_ADAPTER
config UIKIT_VIDEO_CONFIG_FILE_PATH
string "Video config file path"
default "/etc/uikit_video_config.json"
endif # UIKIT_VIDEO_ADAPTER
config UIKIT_QRSCAN
bool "QR scan library"
depends on LIB_QUIRC
default n
source "$APPSDIR/frameworks/graphics/uikit/test/Kconfig"
endif # UIKIT