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 @@ -86,6 +86,7 @@ source "$PKGS_DIR/packages/peripherals/ist8310/Kconfig"
8686source "$PKGS_DIR/packages/peripherals/ST7789_SPI/Kconfig"
8787source "$PKGS_DIR/packages/peripherals/rtt_isotp-c/Kconfig"
8888source "$PKGS_DIR/packages/peripherals/ikunLed/Kconfig"
89+ source "$PKGS_DIR/packages/peripherals/ins5t8025/Kconfig"
8990
9091if RT_VER_NUM > 0x40101
9192source "$PKGS_DIR/packages/peripherals/spi-tools/Kconfig"
Original file line number Diff line number Diff line change 1+ menuconfig PKG_USING_INS5T8025
2+ bool "Enable INS5T8025 package"
3+ default n
4+
5+
6+
7+ if PKG_USING_INS5T8025
8+
9+ config PKG_INS5T8025_PATH
10+ string
11+ default "/packages/peripherals/ins5t8025"
12+
13+
14+ choice
15+ prompt "Version"
16+ default PKG_USING_INS5T8025_LATEST_VERSION
17+ help
18+ Select the package version
19+
20+ config PKG_USING_INS5T8025_LATEST_VERSION
21+ bool "latest"
22+ endchoice
23+
24+ config INS5T8025_I2C_BUS
25+ string "name of IIC bus for INS5T8025"
26+ default "i2c2_sw"
27+ help
28+ Set INS5T8025 I2C bus.
29+
30+ config INS5T8025_ALARM_INT_PIN
31+ string "INS5T8025 ALARM INT Pin"
32+ default "PE.4"
33+ help
34+ Configure the GPIO pin (format: Port.Pin, e.g., PB.12).
35+
36+ config USING_INS5T8025_DEMO
37+ bool "Enable INS5T8025 Demo (example folder)"
38+ default n
39+ help
40+ Enable this option to compile the example code in the "example" folder.
41+ endif
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " ins5t8025" ,
3+ "description" : " ins5t8025 driver based on soft IIC" ,
4+ "description_zh" : " 基于软件IIC的RTC芯片ins5t8025的驱动" ,
5+ "enable" : " PKG_USING_INS5T8025" ,
6+ "keywords" : [
7+ " rtc" ,
8+ " INS5T8025"
9+ ],
10+ "category" : " peripherals" ,
11+ "author" : {
12+ "name" : " GKoSon" ,
13+ 14+ "github" : " GKoSon"
15+ },
16+ "license" : " MIT" ,
17+ "repository" : " https://github.com/GKoSon/ins5t8025" ,
18+ "homepage" : " https://github.com/GKoSon/ins5t8025#readme" ,
19+ "site" : [
20+ {
21+ "version" : " latest" ,
22+ "URL" : " https://github.com/GKoSon/ins5t8025.git" ,
23+ "filename" : " ins5t8025.zip" ,
24+ "VER_SHA" : " main"
25+ }
26+ ]
27+ }
You can’t perform that action at this time.
0 commit comments