File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ menuconfig PKG_USING_EXTERN_RTC_DRIVERS
77
88 source "$PKGS_DIR/packages/peripherals/rtc/ds3231/Kconfig"
99 source "$PKGS_DIR/packages/peripherals/rtc/rx8900/Kconfig"
10+ source "$PKGS_DIR/packages/peripherals/rtc/ds1307/Kconfig"
1011
1112 endif
Original file line number Diff line number Diff line change 1+
2+ # Kconfig file for package ds1307
3+ menuconfig PKG_USING_DS1307
4+ bool "ds1307 Extern RTC Driver."
5+ default n
6+
7+ if PKG_USING_DS1307
8+
9+ config PKG_DS1307_IIC_BUS
10+ string "select iic bus"
11+ default "i2c1"
12+
13+ config PKG_DS1307_DEBUG
14+ bool "Enable output rtc ds1307 debug message"
15+ default n
16+
17+ config PKG_DS1307_RAM_SHELL_TEST
18+ bool "Enable ds1307 RAM read write test in finsh"
19+ default n
20+
21+ config PKG_DS1307_PATH
22+ string
23+ default "/packages/peripherals/rtc/ds1307"
24+
25+ choice
26+ default PKG_USING_DS1307_LATEST_VERSION
27+ prompt "Version"
28+ help
29+ Select the package version
30+
31+ config PKG_USING_DS1307_V100
32+ bool "v1.0.0"
33+
34+ config PKG_USING_DS1307_LATEST_VERSION
35+ bool "latest"
36+ endchoice
37+
38+ config PKG_DS1307_VER
39+ string
40+ default "v1.0.0" if PKG_USING_DS1307_V100
41+ default "latest" if PKG_USING_DS1307_LATEST_VERSION
42+
43+
44+
45+ endif
46+
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " ds1307" ,
3+ "description" : " Extern RTC driver for ds1307 ." ,
4+ "description_zh" : " ds1307 外置RTC驱动" ,
5+ "enable" : " PKG_USING_DS1307" ,
6+ "keywords" : [
7+ " ds1307"
8+ ],
9+ "category" : " peripherals/rtc" ,
10+ "author" : {
11+ "name" : " chejia12" ,
12+ "email" : " 1085582540@qq.com" ,
13+ "github" : " chejia12"
14+ },
15+ "license" : " Apache-2.0" ,
16+ "repository" : " https://gitee.com/chejia12/ds1307" ,
17+ "icon" : " unknown" ,
18+ "homepage" : " https://gitee.com/chejia12/ds1307" ,
19+ "doc" : " unknown" ,
20+ "site" : [
21+ {
22+ "version" : " V1.0.0" ,
23+ "URL" : " https://gitee.com/chejia12/ds1307/releases/download/V1.0.0/V1.0.0.zip" ,
24+ "filename" : " ds1307V1.0.0.zip"
25+ },
26+ {
27+ "version" : " latest" ,
28+ "URL" : " https://gitee.com/chejia12/ds1307.git" ,
29+ "filename" : " " ,
30+ "VER_SHA" : " master"
31+ }
32+ ]
33+ }
You can’t perform that action at this time.
0 commit comments