@@ -36,12 +36,16 @@ if PKG_USING_CHERRYUSB
36
36
bool "dwc2_at"
37
37
config PKG_CHERRYUSB_DEVICE_DWC2_GD
38
38
bool "dwc2_gd"
39
+ config PKG_CHERRYUSB_DEVICE_DWC2_HC
40
+ bool "dwc2_hc"
39
41
config PKG_CHERRYUSB_DEVICE_DWC2_CUSTOM
40
42
bool "dwc2_custom"
41
- config PKG_CHERRYUSB_DEVICE_MUSB_STANDARD
42
- bool "musb_standard "
43
+ config PKG_CHERRYUSB_DEVICE_MUSB_ES
44
+ bool "musb_es "
43
45
config PKG_CHERRYUSB_DEVICE_MUSB_SUNXI
44
46
bool "musb_sunxi"
47
+ config PKG_CHERRYUSB_DEVICE_MUSB_BK
48
+ bool "musb_bk"
45
49
config PKG_CHERRYUSB_DEVICE_MUSB_CUSTOM
46
50
bool "musb_custom"
47
51
config PKG_CHERRYUSB_DEVICE_BL
@@ -170,10 +174,12 @@ if PKG_USING_CHERRYUSB
170
174
bool "dwc2_esp"
171
175
config PKG_CHERRYUSB_HOST_DWC2_CUSTOM
172
176
bool "dwc2_custom"
173
- config PKG_CHERRYUSB_HOST_MUSB_STANDARD
174
- bool "musb_standard "
177
+ config PKG_CHERRYUSB_HOST_MUSB_ES
178
+ bool "musb_es "
175
179
config PKG_CHERRYUSB_HOST_MUSB_SUNXI
176
180
bool "musb_sunxi"
181
+ config PKG_CHERRYUSB_HOST_MUSB_BK
182
+ bool "musb_bk"
177
183
config PKG_CHERRYUSB_HOST_MUSB_CUSTOM
178
184
bool "musb_custom"
179
185
config PKG_CHERRYUSB_HOST_PUSB2
@@ -198,25 +204,28 @@ if PKG_USING_CHERRYUSB
198
204
default n
199
205
select RT_USING_DFS
200
206
201
- config PKG_CHERRYUSB_HOST_CDC_RNDIS
207
+ config PKG_CHERRYUSB_HOST_CDC_ECM
202
208
bool
203
- prompt "Enable usb rndis driver"
209
+ prompt "Enable usb cdc ecm driver"
204
210
select RT_USING_LWIP
205
211
select RT_USING_LWIP212
212
+ select CONFIG_USBHOST_PLATFORM_CDC_ECM
206
213
default n
207
214
208
- config PKG_CHERRYUSB_HOST_CDC_ECM
215
+ config PKG_CHERRYUSB_HOST_CDC_RNDIS
209
216
bool
210
- prompt "Enable usb cdc ecm driver"
217
+ prompt "Enable usb rndis driver"
211
218
select RT_USING_LWIP
212
219
select RT_USING_LWIP212
220
+ select CONFIG_USBHOST_PLATFORM_CDC_RNDIS
213
221
default n
214
222
215
223
config PKG_CHERRYUSB_HOST_CDC_NCM
216
224
bool
217
225
prompt "Enable usb cdc ncm driver"
218
226
select RT_USING_LWIP
219
227
select RT_USING_LWIP212
228
+ select CONFIG_USBHOST_PLATFORM_CDC_NCM
220
229
default n
221
230
222
231
config PKG_CHERRYUSB_HOST_VIDEO
@@ -239,13 +248,15 @@ if PKG_USING_CHERRYUSB
239
248
prompt "Enable usb asix driver"
240
249
select RT_USING_LWIP
241
250
select RT_USING_LWIP212
251
+ select CONFIG_USBHOST_PLATFORM_ASIX
242
252
default n
243
253
244
254
config PKG_CHERRYUSB_HOST_RTL8152
245
255
bool
246
256
prompt "Enable usb rtl8152 driver"
247
257
select RT_USING_LWIP
248
258
select RT_USING_LWIP212
259
+ select CONFIG_USBHOST_PLATFORM_RTL8152
249
260
default n
250
261
251
262
config PKG_CHERRYUSB_HOST_FTDI
@@ -268,6 +279,21 @@ if PKG_USING_CHERRYUSB
268
279
prompt "Enable usb pl2303 driver"
269
280
default n
270
281
282
+ config CONFIG_USBHOST_PLATFORM_CDC_ECM
283
+ bool
284
+
285
+ config CONFIG_USBHOST_PLATFORM_CDC_RNDIS
286
+ bool
287
+
288
+ config CONFIG_USBHOST_PLATFORM_CDC_NCM
289
+ bool
290
+
291
+ config CONFIG_USBHOST_PLATFORM_ASIX
292
+ bool
293
+
294
+ config CONFIG_USBHOST_PLATFORM_RTL8152
295
+ bool
296
+
271
297
config PKG_CHERRYUSB_HOST_TEMPLATE
272
298
bool
273
299
prompt "Use usb host template"
@@ -284,36 +310,6 @@ if PKG_USING_CHERRYUSB
284
310
prompt "demo for test hid"
285
311
default 0
286
312
depends on PKG_CHERRYUSB_HOST_HID
287
- config TEST_USBH_MSC
288
- int
289
- prompt "demo for test msc, do not enable because it has used dfs instead"
290
- default 0
291
- depends on PKG_CHERRYUSB_HOST_MSC
292
- config TEST_USBH_CDC_ECM
293
- int
294
- prompt "demo for test cdc ecm"
295
- default 0
296
- depends on PKG_CHERRYUSB_HOST_CDC_ECM
297
- config TEST_USBH_CDC_NCM
298
- int
299
- prompt "demo for test cdc ncm"
300
- default 0
301
- depends on PKG_CHERRYUSB_HOST_CDC_NCM
302
- config TEST_USBH_CDC_RNDIS
303
- int
304
- prompt "demo for test cdc rndis"
305
- default 0
306
- depends on PKG_CHERRYUSB_HOST_CDC_RNDIS
307
- config TEST_USBH_ASIX
308
- int
309
- prompt "demo for test asix"
310
- default 0
311
- depends on PKG_CHERRYUSB_HOST_ASIX
312
- config TEST_USBH_RTL8152
313
- int
314
- prompt "demo for test rtl8152"
315
- default 0
316
- depends on PKG_CHERRYUSB_HOST_RTL8152
317
313
endif
318
314
endif
319
315
@@ -323,12 +319,14 @@ if PKG_USING_CHERRYUSB
323
319
324
320
choice
325
321
prompt "Version"
326
- default PKG_USING_CHERRYUSB_V010300
322
+ default PKG_USING_CHERRYUSB_V010301
327
323
help
328
324
Select the package version
329
325
330
326
config PKG_USING_CHERRYUSB_LATEST_VERSION
331
327
bool "latest"
328
+ config PKG_USING_CHERRYUSB_V010301
329
+ bool "v1.3.1"
332
330
config PKG_USING_CHERRYUSB_V010300
333
331
bool "v1.3.0"
334
332
config PKG_USING_CHERRYUSB_V010200
@@ -340,6 +338,7 @@ if PKG_USING_CHERRYUSB
340
338
config PKG_CHERRYUSB_VER
341
339
string
342
340
default "latest" if PKG_USING_CHERRYUSB_LATEST_VERSION
341
+ default "v1.3.1" if PKG_USING_CHERRYUSB_V010301
343
342
default "v1.3.0" if PKG_USING_CHERRYUSB_V010300
344
343
default "v1.2.0" if PKG_USING_CHERRYUSB_V010200
345
344
default "v0.10.2" if PKG_USING_CHERRYUSB_V001002
0 commit comments