/* Function ota_app_vtor_reconfig Description Set Vector Table base location to the start addr of app(RT_APP_PART_ADDR).  */
static int ota_app_vtor_reconfig(void)
/* Function ota_app_vtor_reconfig Description Set Vector Table base location to the start addr of app(RT_APP_PART_ADDR).  */
static int ota_app_vtor_reconfig(void)
{
    #define RT_APP_PART_ADDR 0x08020000
    #define NVIC_VTOR_MASK   0x3FFFFF80
    SCB->VTOR = RT_APP_PART_ADDR & NVIC_VTOR_MASK;
    return 0;
}