File tree Expand file tree Collapse file tree 6 files changed +118
-0
lines changed
Expand file tree Collapse file tree 6 files changed +118
-0
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,6 @@ source "$PKGS_DIR/packages/peripherals/hal-sdk/nrfx/Kconfig"
1111source "$PKGS_DIR/packages/peripherals/hal-sdk/nuclei_sdk/Kconfig"
1212source "$PKGS_DIR/packages/peripherals/hal-sdk/raspberrypi-pico-sdk/Kconfig"
1313source "$PKGS_DIR/packages/peripherals/mm32/Kconfig"
14+ source "$PKGS_DIR/packages/peripherals/hal-sdk/wch/Kconfig"
1415
1516endmenu
Original file line number Diff line number Diff line change 1+ menu "WCH HAL & SDK Drivers"
2+
3+ source "$PKGS_DIR/packages/peripherals/hal-sdk/wch/ch32v307_sdk/Kconfig"
4+ source "$PKGS_DIR/packages/peripherals/hal-sdk/wch/ch32v307_sdk_rtt_patch/Kconfig"
5+
6+ endmenu
Original file line number Diff line number Diff line change 1+
2+ # Kconfig file for package ch32v307_sdk
3+ menuconfig PKG_USING_CH32V307_SDK
4+ bool "Upstream CH32V307 SDK"
5+ select PKG_USING_CH32V307_SDK_RTT_PATCH
6+ default n
7+
8+ if PKG_USING_CH32V307_SDK
9+
10+ config PKG_CH32V307_SDK_PATH
11+ string
12+ default "/packages/peripherals/hal-sdk/wch/ch32v307_sdk"
13+
14+ choice
15+ prompt "Version"
16+ help
17+ Select the package version
18+
19+ config PKG_USING_CH32V307_SDK_LATEST_VERSION
20+ bool "latest"
21+ endchoice
22+
23+ config PKG_CH32V307_SDK_VER
24+ string
25+ default "latest" if PKG_USING_CH32V307_SDK_LATEST_VERSION
26+
27+ endif
28+
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " ch32v307_sdk" ,
3+ "description" : " CH32V307 SDK upstream" ,
4+ "description_zh" : " CH32V307 SDK upstream" ,
5+ "enable" : " PKG_USING_CH32V307_SDK" ,
6+ "keywords" : [
7+ " ch32v307_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/ch32v307" ,
17+ "icon" : " unknown" ,
18+ "homepage" : " https://github.com/openwch/ch32v307#readme" ,
19+ "doc" : " unknown" ,
20+ "site" : [
21+ {
22+ "version" : " latest" ,
23+ "URL" : " https://github.com/openwch/ch32v307.git" ,
24+ "filename" : " " ,
25+ "VER_SHA" : " master"
26+ }
27+ ]
28+ }
Original file line number Diff line number Diff line change 1+
2+ # Kconfig file for package ch32v307_sdk_rtt_patch
3+ menuconfig PKG_USING_CH32V307_SDK_RTT_PATCH
4+ bool "Patch for ch32v307 SDK"
5+ default n
6+
7+ if PKG_USING_CH32V307_SDK_RTT_PATCH
8+
9+ config PKG_CH32V307_SDK_RTT_PATCH_PATH
10+ string
11+ default "/packages/peripherals/hal-sdk/wch/ch32v307_sdk_rtt_patch"
12+
13+ choice
14+ prompt "Version"
15+ help
16+ Select the package version
17+
18+ config PKG_USING_CH32V307_SDK_RTT_PATCH_LATEST_VERSION
19+ bool "latest"
20+ endchoice
21+
22+ config PKG_CH32V307_SDK_RTT_PATCH_VER
23+ string
24+ default "latest" if PKG_USING_CH32V307_SDK_RTT_PATCH_LATEST_VERSION
25+
26+ endif
27+
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " ch32v307_sdk_rtt_patch" ,
3+ "description" : " sdk patch for ch32v307 support rtthread" ,
4+ "description_zh" : " sdk patch for ch32v307 support rtthread" ,
5+ "enable" : " PKG_USING_CH32V307_SDK_RTT_PATCH" ,
6+ "keywords" : [
7+ " ch32v307_sdk_rtt_patch"
8+ ],
9+ "category" : " peripherals" ,
10+ "author" : {
11+ "name" : " kaidegit" ,
12+ 13+ "github" : " kaidegit"
14+ },
15+ "license" : " Apache-2.0" ,
16+ "repository" : " https://github.com/kaidegit/ch32v307-sdk-rtt-patch" ,
17+ "icon" : " unknown" ,
18+ "homepage" : " https://github.com/kaidegit/ch32v307-sdk-rtt-patch#readme" ,
19+ "doc" : " unknown" ,
20+ "site" : [
21+ {
22+ "version" : " latest" ,
23+ "URL" : " https://github.com/kaidegit/ch32v307-sdk-rtt-patch.git" ,
24+ "filename" : " " ,
25+ "VER_SHA" : " master"
26+ }
27+ ]
28+ }
You can’t perform that action at this time.
0 commit comments