File tree 1 file changed +19
-1
lines changed
peripherals/sensors/ina226
1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,19 @@ menuconfig PKG_USING_INA226
3
3
bool "ina226: a ina226 package for rt-thread."
4
4
default n
5
5
select RT_USING_I2C
6
+ select RT_USING_SENSOR
6
7
help
7
8
A current monitoring chip from TI, driven through the SENSOR frame.
8
9
9
10
if PKG_USING_INA226
10
11
12
+ config PKG_PACKAGES_NAME_USING_SENSOR_V1
13
+ bool
14
+ default y
15
+
11
16
config PKG_USING_INA226_EXAMPLE
12
17
bool "Enable ina226 example"
13
- default y
18
+ default n
14
19
15
20
config PKG_INA226_PATH
16
21
string
@@ -32,6 +37,19 @@ if PKG_USING_INA226
32
37
config PKG_INA226_VER
33
38
string
34
39
default "latest" if PKG_USING_INA226_LATEST_VERSION
40
+
41
+
42
+ config PKG_USING_INA226_VOLTAGE
43
+ bool "Enable ina226 voltage"
44
+ default y
45
+
46
+ config PKG_USING_INA226_CURRENT
47
+ bool "Enable ina226 current"
48
+ default y
49
+
50
+ config PKG_USING_INA226_POWER
51
+ bool "Enable ina226 power"
52
+ default y
35
53
36
54
endif
37
55
You can’t perform that action at this time.
0 commit comments