File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+
2+ # Kconfig file for package ins5t8025
3+ menuconfig PKG_USING_INS5T8025
4+ bool "ins5t8025: hardware RTC chip driver package based on soft IIC"
5+ default n
6+ select RT_USING_I2C
7+ help
8+ A driver package for hardware RTC chip INS5T8025 on IIC bus
9+
10+ if PKG_USING_INS5T8025
11+ config PKG_INS5T8025_PATH
12+ string
13+ default "/packages/peripherals/ins5t8025"
14+
15+ choice
16+ prompt "Version"
17+ default PKG_USING_INS5T8025_LATEST_VERSION
18+ help
19+ Select the package version
20+
21+ config PKG_USING_INS5T8025_LATEST_VERSION
22+ bool "latest"
23+ endchoice
24+
25+ config PKG_INS5T8025_VER
26+ string
27+ default "latest" if PKG_USING_INS5T8025_LATEST_VERSION
28+ config INS5T8025_I2C_BUS
29+ string "name of IIC bus for INS5T8025"
30+ default "i2c2_sw"
31+ help
32+ Set INS5T8025 I2C bus.
33+
34+ config INS5T8025_ALARM_INT_PIN
35+ string "INS5T8025 ALARM INT Pin"
36+ default "PE.4"
37+ help
38+ Configure the GPIO pin (format: Port.Pin, e.g., PB.12).
39+
40+ config USING_INS5T8025_DEMO
41+ bool "Enable INS5T8025 Demo (example folder)"
42+ default n
43+ help
44+ Enable this option to compile the example code in the "example" folder.
45+ 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" : " 龚金华" ,
13+ "email" : " 782730309@qq.com" ,
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