forked from siemens/meta-iot2050
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
121 lines (96 loc) · 2.98 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
113
114
115
116
117
118
119
120
121
#
# Copyright (c) Siemens AG, 2021-2022
#
# Authors:
# Jan Kiszka <[email protected]>
#
# This file is subject to the terms and conditions of the MIT License. See
# COPYING.MIT file in the top-level directory.
#
mainmenu "IOT2050 Image Configuration"
config KAS_BUILD_SYSTEM
string
default "isar"
choice
prompt "Image type"
default IMAGE_EXAMPLE
config IMAGE_EXAMPLE
bool "Example image"
help
This is the official example image with several tools as well as
Node-RED preinstalled. It comes without a graphical user interface.
config IMAGE_LXDE
bool "LXDE example image"
help
Based on the example image, this adds an LXDE-based graphical user
interface.
config IMAGE_BOOT_PG1
bool "Firmware image for PG1 devices"
help
Build the firmware image that is responsible for booting Product
Generation 1 (PG1) devices.
WARNING: Do not flash this image onto your device unless you know
that it fits AND you have an external flash programmer at hand that
allows to recover. Otherwise you risk to BRICK THE IOT2050!
config IMAGE_BOOT_PG2
bool "Firmware image for PG2 devices"
help
Build the firmware image that is responsible for booting Product
Generation 2 (PG2) devices.
WARNING: Do not flash this image onto your device unless you know
that it fits AND you have an external flash programmer at hand that
allows to recover. Otherwise you risk to BRICK THE IOT2050!
endchoice
config KAS_INCLUDE_MAIN
string
default "kas-iot2050-example.yml" if IMAGE_EXAMPLE
default "kas-iot2050-lxde.yml" if IMAGE_LXDE
default "kas-iot2050-boot-pg1.yml" if IMAGE_BOOT_PG1
default "kas-iot2050-boot-pg2.yml" if IMAGE_BOOT_PG2
if IMAGE_EXAMPLE || IMAGE_LXDE
comment "Image features"
config PREEMPT_RT
bool "Preempt-RT kernel"
help
Build the image with a Preempt-RT kernel, rather than the default
non-preemptive one. This can help achieving better real-time
latencies with the device.
config KAS_INCLUDE_RT
string
default "kas/opt/preempt-rt.yml"
depends on PREEMPT_RT
comment "Build options"
config SDK
bool "Build SDK"
help
Generate an SDK consisting of a cross-compiler and library headers
needed to build applications for the device.
Note: This will not generate the image for the device itself.
config KAS_INCLUDE_SDK
string
default "kas/opt/sdk.yml"
depends on SDK
config PACKAGE_LOCK
bool "Use Debian packages from release"
help
Use the same Debian packages that were selected for building the
released image or firmware version.
config KAS_INCLUDE_PACKAGE_LOCK
string
default "kas/opt/package-lock.yml"
depends on PACKAGE_LOCK
config DEBIAN_MIRROR
bool "Use specific debian mirror"
depends on !PACKAGE_LOCK
help
Rather than relying on deb.debian.org to select the best local
mirror, specify a specific one.
config DEBIAN_MIRROR_URL
string "URL of Debian mirror"
default "ftp.de.debian.org"
depends on DEBIAN_MIRROR
config KAS_INCLUDE_DEBIAN_MIRROR
string
default "kas/opt/debian-mirror.yml"
depends on DEBIAN_MIRROR
endif