mirror of
https://github.com/hathach/tinyusb.git
synced 2026-03-05 23:26:49 +00:00
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:
1
hw/mcu/raspberry_pi/Pico-PIO-USB
Submodule
1
hw/mcu/raspberry_pi/Pico-PIO-USB
Submodule
Submodule hw/mcu/raspberry_pi/Pico-PIO-USB added at 675543bcc9
1
hw/mcu/st/cmsis_device_f4
Submodule
1
hw/mcu/st/cmsis_device_f4
Submodule
Submodule hw/mcu/st/cmsis_device_f4 added at 3c77349ce0
1
hw/mcu/st/stm32f4xx_hal_driver
Submodule
1
hw/mcu/st/stm32f4xx_hal_driver
Submodule
Submodule hw/mcu/st/stm32f4xx_hal_driver added at b6f0ed3829
1
lib/CMSIS_5
Submodule
1
lib/CMSIS_5
Submodule
Submodule lib/CMSIS_5 added at 2b7495b853
1
lib/FreeRTOS-Kernel
Submodule
1
lib/FreeRTOS-Kernel
Submodule
Submodule lib/FreeRTOS-Kernel added at cc0e0707c0
1
lib/lwip
Submodule
1
lib/lwip
Submodule
Submodule lib/lwip added at 159e31b689
@ -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
1
tools/linkermap
Submodule
Submodule tools/linkermap added at 8e1f440fa1
1
tools/uf2
Submodule
1
tools/uf2
Submodule
Submodule tools/uf2 added at c594542b2f
Reference in New Issue
Block a user