Skip to content

Commit

Permalink
[system][cherryusb] add new port for cherryusb pusb2 (#1705)
Browse files Browse the repository at this point in the history
* [system][cherryusb] add new port

* remove the missing repo

* update package.json

* Rename package.json to package.json.missing

* add config for cherryusb

---------

Co-authored-by: Supper Thomas <[email protected]>
  • Loading branch information
zhugengyu and supperthomas authored Nov 18, 2023
1 parent 616fbb4 commit bb7c82e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iot/iot_cloud/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source "$PKGS_DIR/packages/iot/iot_cloud/tencent-iot-sdk/Kconfig"
source "$PKGS_DIR/packages/iot/iot_cloud/jiot-c-sdk/Kconfig"
source "$PKGS_DIR/packages/iot/iot_cloud/ucloud_iot_sdk/Kconfig"
source "$PKGS_DIR/packages/iot/iot_cloud/joylink/Kconfig"
source "$PKGS_DIR/packages/iot/iot_cloud/ez_iot_os/Kconfig"
#source "$PKGS_DIR/packages/iot/iot_cloud/ez_iot_os/Kconfig" #missing repo
source "$PKGS_DIR/packages/iot/iot_cloud/iotsharp-c-sdk/Kconfig"

endmenu
File renamed without changes.
14 changes: 13 additions & 1 deletion system/CherryUSB/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ if PKG_USING_CHERRYUSB
bool "MUSB"
config PKG_CHERRYUSB_DEVICE_HPM
bool "HPM"
config PKG_CHERRYUSB_DEVICE_PUSB2
bool "PUSB2"
endchoice

if PKG_CHERRYUSB_DEVICE_CH32
Expand Down Expand Up @@ -130,6 +132,11 @@ if PKG_USING_CHERRYUSB
bool
prompt "Use msc ram template"
default n

config PKG_CHERRYUSB_DEVICE_MSC_STORAGE_TEMPLATE
bool
prompt "Usb msc storage template"
default n
endif

menuconfig PKG_CHERRYUSB_DEVICE_AUDIO
Expand Down Expand Up @@ -204,6 +211,8 @@ if PKG_USING_CHERRYUSB
bool "EHCI"
config PKG_CHERRYUSB_HOST_XHCI
bool "XHCI"
config PKG_CHERRYUSB_HOST_PUSB2
bool "PUSB2"
endchoice

if PKG_CHERRYUSB_HOST_MUSB
Expand Down Expand Up @@ -278,10 +287,13 @@ if PKG_USING_CHERRYUSB

config PKG_USING_CHERRYUSB_LATEST_VERSION
bool "latest"

config PKG_USING_CHERRYUSB_V01002
bool "v0.10.2"
endchoice

config PKG_CHERRYUSB_VER
string
default "latest" if PKG_USING_CHERRYUSB_LATEST_VERSION

default "v0.10.2" if PKG_USING_CHERRYUSB_V01002
endif
5 changes: 5 additions & 0 deletions system/CherryUSB/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"URL": "https://github.com/sakumisu/CherryUSB.git",
"filename": "Null for git package",
"VER_SHA": "master"
},
{
"version": "v0.10.2",
"URL": "https://github.com/cherry-embedded/CherryUSB/archive/refs/tags/v0.10.2.zip",
"filename": "CherryUSB-0.10.2.zip"
}
]
}

0 comments on commit bb7c82e

Please sign in to comment.