1、中断处理,添加一下宏定义。如果不添加,中断服务函数不会链接到下载文件中;发生中断后,会停留在xxx.s文件的 "B ."语句。
#ifdef __cplusplus extern "C" {#endif
#ifdef __cplusplus}#endif