From 23e82d37f14b79a164234361a01b893443b5a34d Mon Sep 17 00:00:00 2001 From: Alexey Date: Fri, 7 Apr 2023 19:20:14 +0300 Subject: stm32: Add support for Nation N32G45x mcus (#6116) N32G452/G455 are mostly compatible with STM32F103 but have M4 core and different ADC. Signed-off-by: Alexey Golyshin --- 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 f7559efd..f2c3057f 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 || CONFIG_MACH_STM32G4 +#if CONFIG_MACH_STM32F103 || CONFIG_MACH_STM32G4 || CONFIG_MACH_N32G45x // 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