-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathKconfig
More file actions
92 lines (75 loc) · 2.38 KB
/
Kconfig
File metadata and controls
92 lines (75 loc) · 2.38 KB
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
mainmenu "PebbleOS Configuration"
# Per-SoC symbol defaults; loaded first so they take precedence.
osource "src/fw/soc/*/Kconfig.defconfig"
config RELEASE
bool "Release build"
help
Whether this is a release build. Pass
`-DCONFIG_RELEASE=y` to `./waf configure` to enable. Gates
features like Memfault crash reporting that should only run on
shipping firmware.
config PBLBOOT
bool "PBLBOOT bootloader"
help
Build for the PBLBOOT bootloader: prepend the PBLBOOT image
header to the firmware binary and assume a two-slot flash
layout with direct XIP. Disable for boards whose SoC bootloader
consumes a raw image and uses a single firmware slot.
config IS_BIGBOARD
bool "Bigboard variant"
help
Engineering/development PCB variant of a board (`_bb` suffix
in the board name). Gates bigboard-only behaviour that differs
from the shipping board.
# Source the active board's Kconfig and its per-board defaults; kconfig.py
# exports $(BOARD) from the --board argument.
rsource "boards/$(BOARD)/Kconfig"
rsource "boards/$(BOARD)/Kconfig.defconfig"
config BOARD_FAMILY_ASTERIX
bool
help
Hidden symbol selected by boards in the Asterix family.
config BOARD_FAMILY_OBELIX
bool
help
Hidden symbol selected by boards in the Obelix family.
config BOARD_FAMILY_GETAFIX
bool
help
Hidden symbol selected by boards in the Getafix family.
config BOARD_FAMILY_NAME
string
help
Lowercase token identifying the board family (or the single
board, for QEMU variants). Used for resource path lookups
and string outputs. Set per board in
boards/<board>/Kconfig.defconfig.
config QEMU_MACHINE
string
depends on QEMU
help
QEMU machine identifier passed to qemu-system-arm via the
`-machine` flag. Set per board in
boards/<board>/Kconfig.defconfig.
choice
prompt "SDK platform"
config PLATFORM_EMERY
bool "Emery"
config PLATFORM_FLINT
bool "Flint"
config PLATFORM_GABBRO
bool "Gabbro"
endchoice
choice
prompt "Screen color depth"
config SCREEN_COLOR_DEPTH_BITS_1
bool "1-bit (monochrome)"
config SCREEN_COLOR_DEPTH_BITS_8
bool "8-bit (palette)"
endchoice
config SCREEN_COLOR_DEPTH_BITS
int
default 1 if SCREEN_COLOR_DEPTH_BITS_1
default 8 if SCREEN_COLOR_DEPTH_BITS_8
rsource "src/Kconfig"
rsource "third_party/Kconfig"