File tree Expand file tree Collapse file tree 3 files changed +69
-0
lines changed
Expand file tree Collapse file tree 3 files changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -67,5 +67,6 @@ source "$PKGS_DIR/packages/peripherals/sensors/cw2015/Kconfig"
6767source "$PKGS_DIR/packages/peripherals/sensors/icm20608/Kconfig"
6868source "$PKGS_DIR/packages/peripherals/sensors/PAJ7620/Kconfig"
6969source "$PKGS_DIR/packages/peripherals/sensors/sths34pf80/Kconfig"
70+ source "$PKGS_DIR/packages/peripherals/sensors/p3t1755/Kconfig"
7071
7172endmenu
Original file line number Diff line number Diff line change 1+ # Kconfig file for package p3t1755
2+ menuconfig PKG_USING_P3T1755
3+ bool "p3t1755: a p3t1755 package for rt-thread."
4+ default n
5+ select RT_USING_I2C
6+ help
7+ A temperature detection chip from nxp, driven through the SENSOR frame.
8+
9+ if PKG_USING_P3T1755
10+ config P3T1755_I2C_BUS_NAME
11+ string "The name of the I2C bus used by P3T1755"
12+ default "i2c0"
13+
14+ config PKG_P3T1755_USING_SENSOR_V2
15+ bool "Enable sensor divce framework"
16+ depends on RT_VER_NUM >= 0x50001
17+ select RT_USING_SENSOR
18+ select RT_USING_SENSOR_V2
19+ default n
20+
21+ config PKG_P3T1755_PATH
22+ string
23+ default "/packages/peripherals/sensors/p3t1755"
24+
25+ choice
26+ prompt "Version"
27+ default PKG_USING_P3T1755_LATEST_VERSION
28+ help
29+ Select the package version
30+
31+ config PKG_USING_P3T1755_LATEST_VERSION
32+ bool "latest"
33+ endchoice
34+
35+ config PKG_P3T1755_VER
36+ string
37+ default "latest" if PKG_USING_P3T1755_LATEST_VERSION
38+
39+ endif
40+
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " p3t1755" ,
3+ "description" : " Temperature to digital converter p3t1755 driver library" ,
4+ "description_zh" : " 温度到数字转换器 p3t1755 的驱动库" ,
5+ "enable" : " PKG_USING_P3T1755" ,
6+ "keywords" : [
7+ " p3t1755" ,
8+ " sensor"
9+ ],
10+ "category" : " peripherals/sensors" ,
11+ "author" : {
12+ "name" : " CYFS" ,
13+ 14+ "github" : " https://github.com/CYFS3"
15+ },
16+ "license" : " Apache-2.0" ,
17+ "repository" : " https://github.com/CYFS3/p3t1755" ,
18+ "icon" : " https://www.rt-thread.org/qa/template/fxiaomi/style/image/logo.png" ,
19+ "homepage" : " https://github.com/CYFS3/p3t1755#readme" ,
20+ "site" : [
21+ {
22+ "version" : " latest" ,
23+ "URL" : " https://github.com/CYFS3/p3t1755.git" ,
24+ "filename" : " p3t1755.zip" ,
25+ "VER_SHA" : " master"
26+ }
27+ ]
28+ }
You can’t perform that action at this time.
0 commit comments