-
Notifications
You must be signed in to change notification settings - Fork 53
/
Kconfig
53 lines (43 loc) · 1.28 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
mainmenu "Zeal 8-bit OS Configuration"
config CPU_FREQ
int "CPU Clock Frequency (Hz)"
default 10000000
help
Defines the CPU frequency in Hz, this may be used for counting time when no hardware timer
is available.
config TARGET
string
default "zeal8bit" if TARGET_ZEAL_8_BIT
default "trs80" if TARGET_TRS_80
default "agon" if TARGET_AGON_LIGHT
choice COMPILATION_TARGET
prompt "Target board"
help
Choose the compilation target.
config TARGET_ZEAL_8_BIT
bool
prompt "Zeal 8-bit computer"
help
Compile for Zeal 8-bit computer.
config TARGET_TRS_80
bool
prompt "TRS-80 Model I"
help
Compile for TRS-80 Model I.
config TARGET_AGON_LIGHT
bool
prompt "Agon Light"
help
Compile for Agon Light.
endchoice
# Configuration options depending on the target
if TARGET_ZEAL_8_BIT
source "target/zeal8bit/Kconfig"
endif
if TARGET_TRS_80
source "target/trs80/Kconfig"
endif
if TARGET_AGON_LIGHT
source "target/agon/Kconfig"
endif
source "kernel/Kconfig"