updated dsy_system with better but not working deinit
@@ -63,6 +63,8 @@ void dsy_system_jumpto(uint32_t addr)
// SET_REG(RCC_CFGR, GET_REG(RCC_CFGR) & 0xFF80FFFF);
// SET_REG(RCC_CIR, 0x00000000);
//
+ SysTick->CTRL &= ~(SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk);
+ __disable_irq();
uint32_t application_address = addr + 4;
EntryPoint application = (EntryPoint)(application_address);
__set_MSP(*(__IO uint32_t*)addr);
