ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
usb_device.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::zephyr
 

Functions

 esphome::zephyr::USBD_DEVICE_DEFINE (esphome_usbd, DEVICE_DT_GET(DT_NODELABEL(zephyr_udc0)), USB_VID, USB_PID)
 
 esphome::zephyr::USBD_DESC_LANG_DEFINE (esphome_usbd_lang)
 
 esphome::zephyr::USBD_DESC_MANUFACTURER_DEFINE (esphome_usbd_mfr, "ZEPHYR")
 
 esphome::zephyr::USBD_DESC_PRODUCT_DEFINE (esphome_usbd_product, "USB-DEV")
 
 esphome::zephyr::USBD_DESC_SERIAL_NUMBER_DEFINE (esphome_usbd_sn)
 
 esphome::zephyr::USBD_CONFIGURATION_DEFINE (esphome_usbd_fs_config, USB_SCD_SELF_POWERED, USB_MAX_POWER, nullptr)
 
 esphome::zephyr::USBD_CONFIGURATION_DEFINE (esphome_usbd_hs_config, USB_SCD_SELF_POWERED, USB_MAX_POWER, nullptr)
 
int esphome::zephyr::usb_device_enable ()
 Start the USB device on whichever Zephyr USB device stack the build uses (the legacy one or device_next).