Skip to content

Commit 03ee51a

Browse files
sakumisuRbb666
authored andcommitted
feat(cherryusb): support adb and chardev
Signed-off-by: sakumisu <[email protected]>
1 parent a995020 commit 03ee51a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

system/CherryUSB/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,21 @@ if PKG_USING_CHERRYUSB
124124
prompt "Enable usb mtp device, it is commercial charge"
125125
default n
126126

127+
config PKG_CHERRYUSB_DEVICE_ADB
128+
bool
129+
prompt "Enable usb adb device"
130+
default n
131+
127132
config PKG_CHERRYUSB_DEVICE_DFU
128133
bool
129134
prompt "Enable usb dfu device"
130135
default n
131136

137+
config PKG_CHERRYUSB_DEVICE_CDC_ACM_CHARDEV
138+
bool
139+
prompt "Enable chardev for cdc acm device"
140+
default n
141+
132142
choice
133143
prompt "Select usb device template"
134144
default PKG_CHERRYUSB_DEVICE_TEMPLATE_NONE
@@ -168,6 +178,10 @@ if PKG_USING_CHERRYUSB
168178
bool "winusbv2_cdc"
169179
config PKG_CHERRYUSB_DEVICE_TEMPLATE_WINUSBV2_HID
170180
bool "winusbv2_hid"
181+
config PKG_CHERRYUSB_DEVICE_TEMPLATE_ADB
182+
bool "adb"
183+
config PKG_CHERRYUSB_DEVICE_TEMPLATE_CDC_ACM_CHARDEV
184+
bool "cdc_acm_chardev"
171185
endchoice
172186

173187
config CONFIG_USBDEV_MSC_BLOCK_DEV_NAME

0 commit comments

Comments
 (0)