Skip to content

CherryUSB v1.3.1

Compare
Choose a tag to compare
@sakumisu sakumisu released this 28 Jun 13:42
· 167 commits to master since this release

Common

  • fix(demo/hid_custom_inout_template): fix missing macros
  • fix(demo): fix missing usbh_int_urb_fill, musb will modify urb->transfer_buffer_length, this is a patch for musb
  • fix(class/video): fix vc header descriptor definition @yjun123
  • fix(class/video/usb_video): fix missing bDescriptorSubType in vc header descriptor
  • fix(demo): device tcp/ip stack mac can't be the same as host for cdc_ecm and cdc rndis template @aozima
  • update(class/video): add xu descriptor definition @yjun123
  • feat: use fast memcpy for net
  • feat(demo): add uvc_uac_hid template
  • feat: add dhcp-server and dns-server module

Device

  • fix(class/wireless/usbd_rndis): change total size to 1558
  • fix(class/cdc/usbd_cdc_ecm): fix build error for missing busid
  • fix(class/cdc/usbd_cdc_ecm): fix wMaxSegmentSize in cdc ecm descriptor, fix cdc_ecm_tx api @yukelab
  • update(video): add more video desc macros, like h264, yuv, add vc endpoint to choose, add yuv, h264 template
  • update: remove print log for device, because we do not allow printf in isr
  • update(core/usbd_core): increase intf array from 8 to 16
  • update(class/video/usbd_video): make payload fill api common

Host

  • refactor(platform): update platform support, refactor net class rx process, support len > 16K for ncm/rndis/asix/rtl8152
  • fix(core/usbh_core): fix get mult
  • fix(class/audio/usbh_audio): fix sample frequence
  • fix memcpy to strncpy
  • remove xhci patch
  • update(core/usbh_core): do not use slist, we use recursion to traverse hub
  • update(class/hub/usbh_hub): enumerate in order
  • update(class/msc/usbh_msc): add MSC_INQUIRY_TIMEOUT to break quickly in inquiry stage

Port

  • fix(port/ch32): Unify the number of endpoint names and fix a data receiving bug @HaiMianBBao
  • feat(port/dwc2): add hc32 glue
  • feat(port/musb): config fifo from fifo table, add beken and es32 glue
  • fix(port/musb/usb_hc_musb): fix missing leave critical when return with error
  • update(port/ehci): use static iso pool for iso urb to reduce alloc time
  • remove old xhci version
  • fix(port): enter section before alloc pipe

Security Check

  • update(port/dwc2/usb_hc_dwc2): add check for fifo with ep mps
  • update: check class->hport validity