Skip to content

TinyUSB in Device Mode

lbuild module: modm:tinyusb:device

Configuration options:

  • CFG_TUD_ENDPOINT0_SIZE = 64
  • CFG_TUD_EP_MAX = 9
  • CFG_TUD_TASK_QUEUE_SZ = 16

Options

port

USB Port selection

This option is only available for stm32{f2,f4,f7,h7}.

Default: fs
Inputs: [fs, hs]
Input Dependency: fs -> modm:platform:usb:fs
Input Dependency: hs -> modm:platform:usb:hs

Dependencies

modm:tinyusb:device modm_tinyusb_device modm: tinyusb: device modm_platform_usb_fs modm: platform: usb: fs modm_tinyusb_device->modm_platform_usb_fs modm_platform_usb_hs modm: platform: usb: hs modm_tinyusb_device->modm_platform_usb_hs

Limited availability: Check with 'lbuild discover' if this module is available for your target!