Fix DFU descriptor version from 1.0.1 (0x0101) to 1.1.0 (0x0110)

Co-authored-by: hathach <249515+hathach@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-03 08:20:18 +00:00
parent de30818e22
commit fa2e076d72
9 changed files with 10 additions and 2 deletions

Submodule hw/mcu/raspberry_pi/Pico-PIO-USB added at 675543bcc9

Submodule hw/mcu/st/cmsis_device_f4 added at 3c77349ce0

Submodule hw/mcu/st/stm32f4xx_hal_driver added at b6f0ed3829

1
lib/CMSIS_5 Submodule

Submodule lib/CMSIS_5 added at 2b7495b853

1
lib/FreeRTOS-Kernel Submodule

Submodule lib/FreeRTOS-Kernel added at cc0e0707c0

1
lib/lwip Submodule

Submodule lib/lwip added at 159e31b689

View File

@ -819,7 +819,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ
/* Interface */ \
9, TUSB_DESC_INTERFACE, _itfnum, 0, 0, TUD_DFU_APP_CLASS, TUD_DFU_APP_SUBCLASS, DFU_PROTOCOL_RT, _stridx, \
/* Function */ \
9, DFU_DESC_FUNCTIONAL, _attr, U16_TO_U8S_LE(_timeout), U16_TO_U8S_LE(_xfer_size), U16_TO_U8S_LE(0x0101)
9, DFU_DESC_FUNCTIONAL, _attr, U16_TO_U8S_LE(_timeout), U16_TO_U8S_LE(_xfer_size), U16_TO_U8S_LE(0x0110)
//--------------------------------------------------------------------+
// DFU Descriptor Templates
@ -833,7 +833,7 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ
#define TUD_DFU_DESCRIPTOR(_itfnum, _alt_count, _stridx, _attr, _timeout, _xfer_size) \
TU_XSTRCAT(TUD_DFU_ALT_,_alt_count)(_itfnum, 0, _stridx), \
/* Function */ \
9, DFU_DESC_FUNCTIONAL, _attr, U16_TO_U8S_LE(_timeout), U16_TO_U8S_LE(_xfer_size), U16_TO_U8S_LE(0x0101)
9, DFU_DESC_FUNCTIONAL, _attr, U16_TO_U8S_LE(_timeout), U16_TO_U8S_LE(_xfer_size), U16_TO_U8S_LE(0x0110)
#define TUD_DFU_ALT(_itfnum, _alt, _stridx) \
/* Interface */ \

1
tools/linkermap Submodule

Submodule tools/linkermap added at 8e1f440fa1

1
tools/uf2 Submodule

Submodule tools/uf2 added at c594542b2f