stm32f7: add support for stm32f7 and remram board
Signed-off-by: Frederic Morin <frederic.morin.8@gmail.com>
This commit is contained in:
committed by
KevinOConnor
parent
a3eebab4f2
commit
33b18fd62b
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user