aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/gpioperiph.c
diff options
context:
space:
mode:
authorFrederic Morin <frederic.morin.8@gmail.com>2023-03-05 19:15:43 -0500
committerKevinOConnor <kevin@koconnor.net>2023-05-07 11:15:05 -0400
commit33b18fd62ba73c90054a7b94b68c341bb3f40d9a (patch)
tree8a2b11edeaa52ffffa2891412a5f7d6978b8f959 /src/stm32/gpioperiph.c
parenta3eebab4f2b90822f76de91487ff3d4158b80494 (diff)
downloadkutter-33b18fd62ba73c90054a7b94b68c341bb3f40d9a.tar.gz
kutter-33b18fd62ba73c90054a7b94b68c341bb3f40d9a.tar.xz
kutter-33b18fd62ba73c90054a7b94b68c341bb3f40d9a.zip
stm32f7: add support for stm32f7 and remram board
Signed-off-by: Frederic Morin <frederic.morin.8@gmail.com>
Diffstat (limited to 'src/stm32/gpioperiph.c')
-rw-r--r--src/stm32/gpioperiph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm32/gpioperiph.c b/src/stm32/gpioperiph.c
index ef421c77..10d03738 100644
--- a/src/stm32/gpioperiph.c
+++ b/src/stm32/gpioperiph.c
@@ -32,6 +32,7 @@ gpio_peripheral(uint32_t gpio, uint32_t mode, int pullup)
// stm32f0 is ~10Mhz at 50pF
// stm32f2 is ~25Mhz at 40pF
// stm32f4 is ~50Mhz at 40pF
+ // stm32f7 is ~50Mhz at 40pF
// stm32g0 is ~30Mhz at 50pF
// stm32h7 is ~85Mhz at 50pF
uint32_t ospeed = hs ? 0x03 : (CONFIG_MACH_STM32F0 ? 0x01 : 0x02);