diff options
Diffstat (limited to 'src/stm32')
-rw-r--r-- | src/stm32/stm32h7.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stm32/stm32h7.c b/src/stm32/stm32h7.c index c98e0a15..387e47dd 100644 --- a/src/stm32/stm32h7.c +++ b/src/stm32/stm32h7.c @@ -234,6 +234,12 @@ armcm_main(void) RCC->D2CCIP1R = 0x00000000; RCC->D2CCIP2R = 0x00000000; RCC->D3CCIPR = 0x00000000; + RCC->APB1LENR = 0x00000000; + RCC->APB1HENR = 0x00000000; + RCC->APB2ENR = 0x00000000; + RCC->APB3ENR = 0x00000000; + RCC->APB4ENR = 0x00000000; + SCB->VTOR = (uint32_t)VectorTable; dfu_reboot_check(); |