diff options
| author | hathach <[email protected]> | 2021-11-04 16:16:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-11-04 16:16:51 +0700 |
| commit | f90f5ea3699facfd5681c3bf21e0500f169f8f07 (patch) | |
| tree | 564b78118eb331072a31162d579f19a3119937c5 /src/device | |
| parent | 8b3708b44f69a50817ffa9e8a5360e587f3e3fe2 (diff) | |
adding g4 family with g474nucleo, able to blink led and button
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/dcd_attr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/dcd_attr.h b/src/device/dcd_attr.h index 952a8b8c8..1d34b94ba 100644 --- a/src/device/dcd_attr.h +++ b/src/device/dcd_attr.h @@ -119,6 +119,9 @@ #define DCD_ATTR_ENDPOINT_MAX 9 #define DCD_ATTR_DWC2_STM32 +#elif TU_CHECK_MCU(OPT_MCU_STM32G4) + #define DCD_ATTR_ENDPOINT_MAX 8 + #elif TU_CHECK_MCU(OPT_MCU_STM32L0, OPT_MCU_STM32L1) #define DCD_ATTR_ENDPOINT_MAX 8 |
