diff options
| author | hathach <[email protected]> | 2026-06-11 20:14:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-11 20:14:31 +0700 |
| commit | 4f5be18911c4d5dd4c3b097cb4ff18e2b7bf2543 (patch) | |
| tree | 7215ed281d513583e23d3056231cc689dacd8eb0 /src/common | |
| parent | 264472e380bbca90aebabc6457fc53d372fcb66e (diff) | |
| parent | 629e805e08575398070d0a9ac2087a853c93d290 (diff) | |
Merge remote-tracking branch 'origin/master' into musb_ep0_race
# Conflicts:
# test/hil/hil_test.py
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_mcu.h | 6 | ||||
| -rw-r--r-- | src/common/tusb_types.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 413ac4850..cc9837dcd 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -206,6 +206,12 @@ #define TUP_USBIP_FSDEV_DRD #define CFG_TUSB_FSDEV_PMA_SIZE 2048u +#elif TU_CHECK_MCU(OPT_MCU_STM32C5) + #define TUP_USBIP_FSDEV + #define TUP_USBIP_FSDEV_STM32 + #define TUP_USBIP_FSDEV_DRD + #define CFG_TUSB_FSDEV_PMA_SIZE 2048u + #elif TU_CHECK_MCU(OPT_MCU_STM32F0) #define TUP_USBIP_FSDEV #define TUP_USBIP_FSDEV_STM32 diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 959fc129a..cb06b89bb 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -282,6 +282,7 @@ typedef enum { XFER_RESULT_FAILED, XFER_RESULT_STALLED, XFER_RESULT_TIMEOUT, + XFER_RESULT_ABORTED, XFER_RESULT_INVALID } xfer_result_t; |
