-
Notifications
You must be signed in to change notification settings - Fork 20
/
Kconfig
102 lines (82 loc) · 2.13 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
menu "OneWireNg"
config PWR_CTRL_ENABLED
bool "Strong pull-up via dedicated power switching transistor"
default n
if PWR_CTRL_ENABLED
config PWR_CTRL_REV_POLARITY
bool "Reverse polarity for GPIO controlling power switching transistor"
default n
endif
config SEARCH_ENABLED
bool "Enable 1-wire search"
default y
if SEARCH_ENABLED
config MAX_SEARCH_FILTERS
int "Max number of family codes for search filtering"
default 10
range 0 100
endif
config OVERDRIVE_ENABLED
bool "Overdrive (high-speed) mode enabled"
default n
choice CRC8_ALGO
prompt "CRC-8/MAXIM calculation algorithm"
default CRC8_ALGO_TAB_32
config CRC8_ALGO_BASIC
bool "Basic; no memory tables"
config CRC8_ALGO_TAB_32
bool "32 elements table"
config CRC8_ALGO_TAB_16
bool "16 elements table"
endchoice
config CRC16_ENABLED
bool "Enable CRC-16/ARC"
default n
if CRC16_ENABLED
choice CRC16_ALGO
prompt "CRC-16/ALGO calculation algorithm"
default CRC16_ALGO_TAB_32
config CRC16_ALGO_BASIC
bool "Basic; no memory tables"
config CRC16_ALGO_TAB_32
bool "32 elements table"
config CRC16_ALGO_TAB_16
bool "16 elements table"
endchoice
endif
config FLASH_CRC_TAB
bool "Store CRC tables in flash memory"
default n
config BUS_BLINK_PROTECTION
bool "Data bus GPIO blink protection"
default n
config BITBANG_DELAY_CCOUNT
bool "Bit-banging timings using CPU cycles counter"
default y
choice BITBANG_TIMING
prompt "Bit-banging timing regime"
default BITBANG_TIMING_STRICT
config BITBANG_TIMING_STRICT
bool "Strict"
config BITBANG_TIMING_RELAXED
bool "Relaxed"
config BITBANG_TIMING_NULL
bool "None"
endchoice
if SEARCH_ENABLED
config ITERATION_RETRIES
int "Search scan iteration retires"
default 0
range 0 10
endif
config USE_NATIVE_CPP_NEW
bool "Use native toolchain <new> header"
default n
config DS18S20_EXT_RES
bool "Extended temperature resolution for DS18S20"
default n
config ESP8266_INIT_TIME
int "ESP8266 init time in msecs"
default 500
range 0 10000
endmenu