blob: 1411547f7e28c621cdb3009af16b147d2fa6a267 (
plain)
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
# Copyright 2020 Daniel Friesel
#
# SPDX-License-Identifier: CC0-1.0
config meta_driver_adc
bool
config meta_driver_counter
bool
config meta_driver_hardware_i2c
bool
config meta_driver_i2c
bool
config meta_driver_neopixel
bool
config meta_driver_spi
bool
config meta_driver_stdin
bool
config meta_driver_timer
bool
config meta_driver_uptime
bool
menu "Drivers"
config driver_am2320
bool "AM2320 TH Sensor"
depends on meta_driver_i2c
config driver_bme280
bool "BME280 TPH Sensor"
depends on meta_driver_i2c
config driver_bme680
bool "BME680 TPH+IAQ Sensor"
depends on meta_driver_i2c && !driver_bme280
config driver_ccs811
bool "CCS811 VOC Sensor"
depends on meta_driver_i2c
config driver_ds2482
bool "DS2482-100 Single-Channel 1-Wire Master"
depends on meta_driver_i2c
# dummy is AEMR-specific and not included in Kconfig
config driver_eeprom24lc64
bool "24LC64 EEPROM"
depends on meta_driver_i2c
config driver_hdc1080
bool "HDC1080 TH Sensor with Heated Plate"
depends on meta_driver_i2c
config driver_lm75
bool "LM75 Temperature Sensor"
depends on meta_driver_i2c
# depends on I2C
config driver_max44009
bool "MAX44009 Ambient Light Sensor"
depends on meta_driver_i2c
config driver_mmsimple
bool "MicroMoody simple"
depends on meta_driver_i2c
config driver_mmsubstate
bool "MicroMoody with Sub-States"
depends on meta_driver_i2c && !driver_mmsimple
config driver_mpu9250
bool "MPU9250 Accelerometer/Gyroscope/Magnetometer"
depends on meta_driver_i2c
config driver_nrf24l01
bool "nRF24L01+ 2.4GHz Radio"
depends on meta_driver_spi
config driver_pervasive_aurora_mb
bool "Pervasive Aurora Mb"
depends on ( arch_msp430fr5969lp || arch_msp430fr5994lp ) && meta_driver_spi
# resistive_load is AEMR-specific and not included in Kconfig
config driver_s5851a
bool "S5851 Temperature Sensor"
depends on meta_driver_i2c
config driver_sharp96
bool "sharp LS013B4DN 96x96px Transflective LC Display"
depends on ( arch_msp430fr5969lp || arch_msp430fr5994lp ) && meta_driver_spi
config driver_ssd1306
bool "SSD1306 I2C OLED display"
depends on meta_driver_i2c
config driver_ssd1306_width
int "Display width"
default 128
depends on driver_ssd1306
config driver_ssd1306_height
int "Display height"
default 64
depends on driver_ssd1306
choice driver_ssd1306_mode
bool "Addressing Mode"
depends on driver_ssd1306
config driver_ssd1306_mode_vertical
bool "Vertical"
config driver_ssd1306_mode_horizontal
bool "Horizontal bytes, Vertical bits"
endchoice
config driver_softi2c
bool "Software I2C"
#depends on !driver_i2c
select meta_driver_i2c
endmenu
config driver_softi2c_name
string "Instance Name"
default "i2c"
config driver_softi2c_scl
string "SCL Pin"
default "d7" if arch_esp8266
default "pc5" if arch_arduino_nano
default "p1_7" if arch_msp430fr5969lp
default "p5_1" if arch_msp430fr5994lp
default "px01" if arch_posix
depends on driver_softi2c
config driver_softi2c_sda
string "SDA Pin"
default "d6" if arch_esp8266
default "pc4" if arch_arduino_nano
default "p1_6" if arch_msp430fr5969lp
default "p5_0" if arch_msp430fr5994lp
default "px00" if arch_posix
depends on driver_softi2c
choice driver_softi2c_pullup
bool "SoftI2C Pull-Up Configuration"
depends on driver_softi2c
config driver_softi2c_pullup_none
bool "No Pull-Up Handling"
config driver_softi2c_pullup_dynamic_internal
bool "Internal Dynamic Pull-Up"
help
Internal Pull-Up, disabled when transmitting LOW
config driver_softi2c_pullup_dynamic_external
bool "GPIO Dynamic Pull-Up"
depends on arch_msp430fr5969lp || arch_msp430fr5994lp
help
Pull-Up resistors connected to GPIO, disabled when transmitting LOW
config driver_softi2c_pullup_external
bool "GPIO Static Pull-Up"
depends on arch_msp430fr5969lp || arch_msp430fr5994lp
help
Pull-Up resistors connected to GPIO, always on
endchoice
|