File tree Expand file tree Collapse file tree 3 files changed +65
-0
lines changed
Expand file tree Collapse file tree 3 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 11menu "WCH HAL & SDK Drivers"
22
3+ source "$PKGS_DIR/packages/peripherals/hal-sdk/wch/ch32v20x_sdk/Kconfig"
34source "$PKGS_DIR/packages/peripherals/hal-sdk/wch/ch32v307_sdk/Kconfig"
45
56endmenu
Original file line number Diff line number Diff line change 1+
2+ # Kconfig file for package ch32v20x_sdk
3+ menuconfig PKG_USING_CH32V20x_SDK
4+ bool "CH32V20x SDK"
5+ default n
6+
7+ if PKG_USING_CH32V20x_SDK
8+
9+ config PKG_CH32V20x_SDK_PATH
10+ string
11+ default "/packages/peripherals/hal-sdk/wch/ch32v20x_sdk"
12+
13+ choice
14+ prompt "Version"
15+ help
16+ Select the package version
17+
18+ config PKG_USING_CH32V20x_SDK_V202
19+ bool "v2.2"
20+
21+ config PKG_USING_CH32V20x_SDK_LATEST_VERSION
22+ bool "latest"
23+ endchoice
24+
25+ config PKG_CH32V20x_SDK_VER
26+ string
27+ default "v2.2" if PKG_USING_CH32V20x_SDK_V202
28+ default "latest" if PKG_USING_CH32V20x_SDK_LATEST_VERSION
29+
30+ endif
31+
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " ch32v20x_sdk" ,
3+ "description" : " CH32V20x SDK for rt-thread" ,
4+ "description_zh" : " CH32V20x SDK for rt-thread" ,
5+ "enable" : " PKG_USING_CH32V20x_SDK" ,
6+ "keywords" : [
7+ " ch32v20x_sdk"
8+ ],
9+ "category" : " peripherals" ,
10+ "author" : {
11+ "name" : " openwch" ,
12+ 13+ "github" : " openwch"
14+ },
15+ "license" : " Apache-2.0" ,
16+ "repository" : " https://github.com/openwch/ch32v20x" ,
17+ "icon" : " unknown" ,
18+ "homepage" : " https://github.com/openwch/ch32v20x#readme" ,
19+ "doc" : " unknown" ,
20+ "site" : [
21+ {
22+ "version" : " v2.2" ,
23+ "URL" : " https://github.com/kaidegit/CH32V20x-SDK-for-RTT/releases/download/v2.2/CH32V20x-SDK-for-RTT-v2.2.zip" ,
24+ "filename" : " CH32V20x-SDK-for-RTT-v2.2.zip"
25+ },
26+ {
27+ "version" : " latest" ,
28+ "URL" : " https://github.com/kaidegit/CH32V20x-SDK-for-RTT.git" ,
29+ "filename" : " " ,
30+ "VER_SHA" : " main"
31+ }
32+ ]
33+ }
You can’t perform that action at this time.
0 commit comments