diff options
author | Alexey <stas2z@users.noreply.github.com> | 2023-04-07 19:20:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 12:20:14 -0400 |
commit | 23e82d37f14b79a164234361a01b893443b5a34d (patch) | |
tree | dae422decc5305668daa70ac891c97f913b3072f /src/stm32/usbfs.c | |
parent | 27dab0ee517a6ab8197faa19e12c2911f67b712c (diff) | |
download | kutter-23e82d37f14b79a164234361a01b893443b5a34d.tar.gz kutter-23e82d37f14b79a164234361a01b893443b5a34d.tar.xz kutter-23e82d37f14b79a164234361a01b893443b5a34d.zip |
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 <stas2z@gmail.com>
Diffstat (limited to 'src/stm32/usbfs.c')
-rw-r--r-- | src/stm32/usbfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |