Skip to content

CherryUSB v1.3.0

Compare
Choose a tag to compare
@sakumisu sakumisu released this 21 May 12:31
· 226 commits to master since this release

Common

  • change rt_ssize_t to ssize_t, compatible with older rtthread version
  • osal: freeRTOS: fix enter/exit critical @chenzhihong007
  • update missing license
  • update config template, add some comments
  • add USB_DEVICE_QUALIFIER_DESCRIPTOR_INIT and USB_OTHER_SPEED_CONFIG_DESCRIPTOR_INIT macros
  • add cherryrb and cherry pool
  • add nuttx osal
  • update : disable keep timer and change eth name in host demo

Device

  • support speed get when enables CONFIG_USBDEV_ADVANCE_DESC and select different desc with different speed
  • support using string like "cherryusb" for string desc
  • add usbd_get_ep_mps api and use in class and demo
  • add usbd_get_ep_mult api
  • copy data into ep0 buffer at a unified location in order to make code nice, add CONFIG_USBDEV_EP0_INDATA_NO_COPY macro
  • change CONFIG_USBDEV_RNDIS_ETH_MAX_FRAME_SIZE to 1580 default

Host

  • add config index to select multi configs
  • add hid host report api
  • add user_data param in host class for users
  • support id table for multi vid pid
  • support pl2303 driver
  • fix rndis send dummy
  • fix rndis receive with dummy
  • fix rndis msg when mss is larger than rndis rx size
  • fix missing busid in hub buffer
  • support zero copy when enables LWIP_TCPIP_CORE_LOCKING_INPUT=1
  • update rndis/ecm/ncm/asix/rtl8152 eth size
  • update demo, support multi class

Port

  • import bouffalo dcd
  • import aic dcd
  • musb: add sunxi glue for check
  • ehci: read ehci hcor offset from hccr caplength
  • ehci: enable ohci for ehci
  • ehci: enable iaad in usbh_kill_urb
  • dwc2: change CONFIG_USB_DWC2_ULPI_PHY to CONFIG_USB_HS, support stm32f723
  • dwc2: enable bit21(VBUSSIG) in gd chips @zhaofx1234
  • dwc2: change rx fifo to 1024/4 as default
  • update(port/dwc2): rename struct name to avoid duplicate definitions
  • fix: clear urb timeout after take sem, do not clear in irq, urb init will sometime call irq before take sem
  • remove port param in usbd_get_port_speed

Security Check

  • add check for dwc2 fifo with ep mps
  • add check for dwc2 fifo with 1.25KB
  • add check for rtt config
  • add check for hpm config
  • add check for eth rx size
  • add check for wTotalLength
  • add check for musb