static void VectorBase_Config(void)
{
/* The constant array with vectors of the vector table is declared externally in the
* c-startup code.
*/
extern const unsigned long __Vectors[];
/* Remap the vector table to where the vector table is located for this program. */
SCB->VTOR = (unsigned long)&__Vectors[0];
} /*** end of VectorBase_Config ***/
在app代码开头添加VectorBase_Config函数开机无法正常运行