stm32f7: add support for stm32f7 and remram board

Signed-off-by: Frederic Morin <frederic.morin.8@gmail.com>
This commit is contained in:
Frederic Morin
2023-03-05 19:15:43 -05:00
committed by KevinOConnor
parent a3eebab4f2
commit 33b18fd62b
31 changed files with 247955 additions and 11 deletions

View File

@@ -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();