找到IAR中".h"文件的位置,报错是下面一大堆 找到文件context_iar.o或者是n32l40_it.o的函数中HardFalut_Handler的函数声明void前面加static,实在没办法可以这样做。