main/Kconfig.projbuild

changeset 0
88d965579617
child 16
e38ffa806e84
equal deleted inserted replaced
-1:000000000000 0:88d965579617
1 menu "CO2 meter configuration"
2
3 config ONE_WIRE_BUS
4 int "OneWire Bus GPIO number"
5 range 0 34
6 default 25
7 help
8 GPIO number (IOxx) to access the DS18B20 for the bottle temperature semsor.
9
10 Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.
11
12 GPIOs 35-39 are input-only so cannot be used to drive the One Wire Bus.
13
14 menu "I2C bus"
15
16 config I2C_MASTER_SCL
17 int "SCL GPIO Num"
18 range 0 39
19 default 22
20 help
21 GPIO number for I2C Master clock line.
22
23 config I2C_MASTER_SDA
24 int "SDA GPIO Num"
25 range 0 39
26 default 21
27 help
28 GPIO number for I2C Master data line.
29
30 config I2C_MASTER_PORT_NUM
31 int "Port Number"
32 default 0
33 help
34 Port number for I2C Master device.
35
36 config I2C_MASTER_FREQUENCY
37 int "Master Frequency"
38 default 100000
39 help
40 I2C Speed of Master device.
41
42 endmenu
43
44 menu "Rotary encoder"
45
46 config ROT_ENC_A_GPIO
47 int "Rotary Encoder A output GPIO number"
48 range 0 39
49 default 27
50 help
51 GPIO number (IOxx) from which to sample the Rotary Encoder 'A' output.
52
53 Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.
54
55 config ROT_ENC_B_GPIO
56 int "Rotary Encoder B output GPIO number"
57 range 0 39
58 default 26
59 help
60 GPIO number (IOxx) from which to sample the Rotary Encoder 'B' output.
61
62 Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.
63
64 config ROT_ENC_SW_GPIO
65 int "Rotary Encoder push switch GPIO number"
66 range 0 39
67 default 12
68 help
69 GPIO number (IOxx) from which to sample the Rotary Push function output and to
70 wakeup the ESP from deep sleep.
71
72 Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used.
73 endmenu
74
75 menu "ADC channels"
76
77 config BATT_CHANNEL
78 int "Power monitor analog measurement channel"
79 range 4 7
80 default 4
81 help
82 The ADC1 channel to measure the half VDD voltage ladder
83
84
85 config PRESSURE_1
86 int "Pressure transducer 1"
87 range 4 7
88 default 6
89 help
90 The ADC1 channel to measure the first pressure transducer
91
92 config PRESSURE_2
93 int "Pressure transducer 2"
94 range 4 7
95 default 7
96 help
97 The ADC1 channel to measure the second pressure transducer
98
99 config PRESSURE_3
100 int "Pressure transducer 3"
101 range 4 7
102 default 5
103 help
104 The ADC1 channel to measure the third pressure transducer
105
106 endmenu
107
108 endmenu

mercurial