添加函数:
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 __vector_table[];
/* Remap the vector table to where the vector table is located for this program. */
SCB->VTOR = (unsigned long)&__vector_table[0];
}