From f90f5ea3699facfd5681c3bf21e0500f169f8f07 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 4 Nov 2021 16:16:51 +0700 Subject: adding g4 family with g474nucleo, able to blink led and button --- src/device/dcd_attr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/device') 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 -- cgit v1.3.1