aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/usbfs.c
diff options
context:
space:
mode:
authorMatt Baker <baker.matt.j@gmail.com>2021-04-22 13:44:39 -0700
committerKevinOConnor <kevin@koconnor.net>2022-09-15 11:51:26 -0400
commitd9c917b95099617b32dfaca4ae90c9e2dd641fff (patch)
treea6a7adb3fec7d84a5fa0bbb75432a229b1ee7699 /src/stm32/usbfs.c
parent57b0eb5d43e4324c2c52282925ddc63fc36df783 (diff)
downloadkutter-d9c917b95099617b32dfaca4ae90c9e2dd641fff.tar.gz
kutter-d9c917b95099617b32dfaca4ae90c9e2dd641fff.tar.xz
kutter-d9c917b95099617b32dfaca4ae90c9e2dd641fff.zip
stm32l4: add stm32l412 support with adc,i2c,spi,usb
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 1302d523..cfe70951 100644
--- a/src/stm32/usbfs.c
+++ b/src/stm32/usbfs.c
@@ -20,7 +20,7 @@
typedef volatile uint32_t epmword_t;
#define WSIZE 2
#define USBx_IRQn USB_LP_IRQn
-#elif CONFIG_MACH_STM32F0
+#elif CONFIG_MACH_STM32F0 || CONFIG_MACH_STM32L4
// Transfer memory is accessed with 16bits and contains 16bits of data
typedef volatile uint16_t epmword_t;
#define WSIZE 2