diff options
author | Frederic Morin <frederic.morin.8@gmail.com> | 2023-03-05 19:15:43 -0500 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2023-05-07 11:15:05 -0400 |
commit | 33b18fd62ba73c90054a7b94b68c341bb3f40d9a (patch) | |
tree | 8a2b11edeaa52ffffa2891412a5f7d6978b8f959 /src/stm32/dfu_reboot.c | |
parent | a3eebab4f2b90822f76de91487ff3d4158b80494 (diff) | |
download | kutter-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/dfu_reboot.c')
-rw-r--r-- | src/stm32/dfu_reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/dfu_reboot.c b/src/stm32/dfu_reboot.c index 68f023d1..2b98e0da 100644 --- a/src/stm32/dfu_reboot.c +++ b/src/stm32/dfu_reboot.c @@ -36,7 +36,7 @@ dfu_reboot(void) irq_disable(); uint64_t *bflag = (void*)USB_BOOT_FLAG_ADDR; *bflag = USB_BOOT_FLAG; -#if CONFIG_MACH_STM32H7 +#if __CORTEX_M >= 7 SCB_CleanDCache_by_Addr((void*)bflag, sizeof(*bflag)); #endif NVIC_SystemReset(); |