adding g4 family with g474nucleo, able to blink led and button

This commit is contained in:
hathach
2021-11-04 16:16:51 +07:00
parent 8b3708b44f
commit f90f5ea369
11 changed files with 927 additions and 11 deletions

View File

@@ -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