aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/usbfs.c
diff options
context:
space:
mode:
authorMatt Baker <baker.matt.j@gmail.com>2022-09-21 21:45:51 -0700
committerKevinOConnor <kevin@koconnor.net>2022-12-02 11:31:42 -0500
commitc5d56f4438de4fd9b9a06948415eb5c8f3ecdbd7 (patch)
tree68a733022592bf8e671b27172b1d04f7740ea2bd /src/stm32/usbfs.c
parent9ab367d8136d059c14f0cc5e9ab0a198d744d5b4 (diff)
downloadkutter-c5d56f4438de4fd9b9a06948415eb5c8f3ecdbd7.tar.gz
kutter-c5d56f4438de4fd9b9a06948415eb5c8f3ecdbd7.tar.xz
kutter-c5d56f4438de4fd9b9a06948415eb5c8f3ecdbd7.zip
stm32g4: implement build,usb,can,i2c,spi,serial,adc.
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
Diffstat (limited to 'src/stm32/usbfs.c')
-rw-r--r--src/stm32/usbfs.c2
1 files changed, 1 insertions, 1 deletions
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