File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ source "$PKGS_DIR/packages/peripherals/can_uds/Kconfig"
8888source "$PKGS_DIR/packages/peripherals/rtt_isotp-c/Kconfig"
8989source "$PKGS_DIR/packages/peripherals/ikunLed/Kconfig"
9090source "$PKGS_DIR/packages/peripherals/ins5t8025/Kconfig"
91+ source "$PKGS_DIR/packages/peripherals/st7305/Kconfig"
9192
9293if RT_VER_NUM > 0x40101
9394source "$PKGS_DIR/packages/peripherals/spi-tools/Kconfig"
Original file line number Diff line number Diff line change 1+ # Kconfig file for package st7305
2+
3+ menuconfig PKG_USING_ST7305
4+ bool "Control the st7305 chip with SPI bus."
5+ default n
6+
7+ if PKG_USING_ST7305
8+
9+ config ST7305_SPI_BUS_NAME
10+ string "Setting current SPI bus name."
11+ default "spi1"
12+
13+ config ST7305_SPI_DEVICE_NAME
14+ string "Setting current SPI device name."
15+ default "spi10"
16+
17+ if RT_USING_HEAP
18+ config FRAME_BUF_USING_HEAP
19+ bool "Use heap with the frame buffer allocated."
20+ default n
21+ endif
22+
23+ config PKG_ST7305_PATH
24+ string
25+ default "/packages/peripherals/st7305"
26+
27+ choice
28+ prompt "Version"
29+ default PKG_USING_ST7305_V100
30+ help
31+ Select the this package version
32+
33+ config PKG_USING_ST7305_V100
34+ bool "v1.0.0"
35+
36+ config PKG_USING_ST7305_LATEST_VERSION
37+ bool "latest"
38+ endchoice
39+
40+ config PKG_ST7305_VER
41+ string
42+ default "v1.0.0" if PKG_USING_ST7305_V100
43+ default "latest" if PKG_USING_ST7305_LATEST_VERSION
44+
45+ endif
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " st7305" ,
3+ "description" : " ST7305: Control the st7305 chip with SPI bus." ,
4+ "description_zh" : " 基于 rt-thread 的 PIN 和 SPI 驱动的 ST7305 LCD 驱动软件包。" ,
5+ "enable" : " PKG_USING_ST7305" ,
6+ "keywords" : [
7+ " st7305" ,
8+ " lcd"
9+ ],
10+ "category" : " peripherals" ,
11+ "author" : {
12+ "name" : " Sunwancn" ,
13+ "email" : " bwsheng2000@163.com" ,
14+ "gitee" : " Sunwancn"
15+ },
16+ "license" : " Apache-2.0" ,
17+ "repository" : " https://github.com/Sunwancn/rtt-pkgs-st7305" ,
18+ "icon" : " unknown" ,
19+ "homepage" : " https://github.com/Sunwancn/rtt-pkgs-st7305" ,
20+ "doc" : " https://github.com/Sunwancn/rtt-pkgs-st7305/blob/master/README.md" ,
21+ "site" : [
22+ {
23+ "version" : " v1.0.0" ,
24+ "URL" : " https://github.com/Sunwancn/rtt-pkgs-st7305/archive/refs/tags/v1.0.0.zip" ,
25+ "filename" : " rtt-pkgs-st7305-1.0.0.zip" ,
26+ "VER_SHA" : " NULL"
27+ },
28+ {
29+ "version" : " latest" ,
30+ "URL" : " https://github.com/Sunwancn/rtt-pkgs-st7305.git" ,
31+ "filename" : " Null for git package" ,
32+ "VER_SHA" : " master"
33+ }
34+ ]
35+ }
You can’t perform that action at this time.
0 commit comments