diff options
| author | copilot-swe-agent[bot] <[email protected]> | 2026-02-03 08:20:18 +0000 |
|---|---|---|
| committer | copilot-swe-agent[bot] <[email protected]> | 2026-02-03 08:20:18 +0000 |
| commit | fa2e076d723c50bb8f361b491126393cf33f2508 (patch) | |
| tree | c7388adbc092adfad3ded0c8cb12de9fc57a7ef9 | |
| parent | de30818e223e8dba4abfbb299727904ed61de16a (diff) | |
Fix DFU descriptor version from 1.0.1 (0x0101) to 1.1.0 (0x0110)
Co-authored-by: hathach <[email protected]>
| m--------- | hw/mcu/raspberry_pi/Pico-PIO-USB | 0 | ||||
| m--------- | hw/mcu/st/cmsis_device_f4 | 0 | ||||
| m--------- | hw/mcu/st/stm32f4xx_hal_driver | 0 | ||||
| m--------- | lib/CMSIS_5 | 0 | ||||
| m--------- | lib/FreeRTOS-Kernel | 0 | ||||
| m--------- | lib/lwip | 0 | ||||
| -rw-r--r-- | src/device/usbd.h | 4 | ||||
| m--------- | tools/linkermap | 0 | ||||
| m--------- | tools/uf2 | 0 |
9 files changed, 2 insertions, 2 deletions
diff --git a/hw/mcu/raspberry_pi/Pico-PIO-USB b/hw/mcu/raspberry_pi/Pico-PIO-USB new file mode 160000 +Subproject 675543bcc9baa8170f868ab7ba316d418dbcf41 diff --git a/hw/mcu/st/cmsis_device_f4 b/hw/mcu/st/cmsis_device_f4 new file mode 160000 +Subproject 3c77349ce04c8af401454cc51f85ea9a50e34fc diff --git a/hw/mcu/st/stm32f4xx_hal_driver b/hw/mcu/st/stm32f4xx_hal_driver new file mode 160000 +Subproject b6f0ed3829f3829eb358a2e7417d80bba1a42db diff --git a/lib/CMSIS_5 b/lib/CMSIS_5 new file mode 160000 +Subproject 2b7495b8535bdcb306dac29b9ded4cfb679d7e5 diff --git a/lib/FreeRTOS-Kernel b/lib/FreeRTOS-Kernel new file mode 160000 +Subproject cc0e0707c0c748713485b870bb980852b210877 diff --git a/lib/lwip b/lib/lwip new file mode 160000 +Subproject 159e31b689577dbf69cf0683bbaffbd71fa5ee1 diff --git a/src/device/usbd.h b/src/device/usbd.h index bd5a3c395..4016a45a4 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -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 */ \ diff --git a/tools/linkermap b/tools/linkermap new file mode 160000 +Subproject 8e1f440fa15c567aceb5aa0d14f6d18c329cc67 diff --git a/tools/uf2 b/tools/uf2 new file mode 160000 +Subproject c594542b2faa01cc33a2b97c9fbebc38549df80 |
