From c5d56f4438de4fd9b9a06948415eb5c8f3ecdbd7 Mon Sep 17 00:00:00 2001 From: Matt Baker Date: Wed, 21 Sep 2022 21:45:51 -0700 Subject: stm32g4: implement build,usb,can,i2c,spi,serial,adc. Signed-off-by: Matt Baker --- src/stm32/usbfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stm32/usbfs.c') diff --git a/src/stm32/usbfs.c b/src/stm32/usbfs.c index cfe70951..f144b2c9 100644 --- a/src/stm32/usbfs.c +++ b/src/stm32/usbfs.c @@ -15,7 +15,7 @@ #include "internal.h" // GPIO #include "sched.h" // DECL_INIT -#if CONFIG_MACH_STM32F103 +#if CONFIG_MACH_STM32F103 || CONFIG_MACH_STM32G4 // Transfer memory is accessed with 32bits, but contains only 16bits of data typedef volatile uint32_t epmword_t; #define WSIZE 2 -- cgit v1.2.3-70-g09d2