Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# DFU

The codebase supports DFU over USB implementation compliant with version 1.1 of Universal Serial Bus Device Class Specification for Device Firmware Upgrade.

Table 28 lists the DFU related configuration options.

Table 28 DFU defines
Define | Description | Default
--- | --- | ---
`XUA_DFU_EN` | Enable DFU functionality | `1` (Enabled)
`DFU_PID` | Product ID when enumerating in DFU mode. This is recommended to be different from the runtime device PID | `PID_AUDIO_2` or `PID_AUDIO_1` depending on whether the device is running Audio Class 2.0 or 1.0