diff options
| author | Ha Thach <[email protected]> | 2021-08-15 18:50:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-15 18:50:00 +0700 |
| commit | 2bb63406e997189a329f223136b183084f90fa7d (patch) | |
| tree | e3a86832926448a8afb4d93f1009b8a0a7e3bd69 /src/device | |
| parent | 48f17efa77b84ed7c977b3655b7a067385fffcc1 (diff) | |
| parent | c4a6a5ccb710828111eda25b98704ae489fc63ab (diff) | |
Merge pull request #959 from KarlK90/gd32vf103-support-tiny-usb
[PORT] Add GD32VF103 support and Sipeed Longan Nano Board support
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/dcd_attr.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/dcd_attr.h b/src/device/dcd_attr.h index 18f369332..7772a6d96 100644 --- a/src/device/dcd_attr.h +++ b/src/device/dcd_attr.h @@ -147,6 +147,10 @@ //#elif TU_CHECK_MCU(MM32F327X) // #define DCD_ATTR_ENDPOINT_MAX not known yet +//------------- GigaDevice -------------// +#elif TU_CHECK_MCU(GD32VF103) + #define DCD_ATTR_ENDPOINT_MAX 4 + #else #warning "DCD_ATTR_ENDPOINT_MAX is not defined for this MCU, default to 8" #define DCD_ATTR_ENDPOINT_MAX 8 |
