..\CORE\core_cm3.h(1569): error: #20: identifier “IRQn_Type“ is undefined
今天在用keil5编译的时候出现了这个错:…\CORE\core_cm3.h(1569): error:#20: identifier “IRQn_Type” is undefined;点到后,直接链接到core_cm3.h中的。网上搜索后,都是说因为没有加#include “stm3210x.h”,然后我就把#include "stm3210x.h"加到了core_cm3.h中。结果依然没有变化
·

今天在用keil5编译的时候出现了这个错:
…\CORE\core_cm3.h(1569): error: #20: identifier “IRQn_Type” is undefined;
点到后,直接链接到core_cm3.h中的。网上搜索后,都是说因为没有加#include “stm3210x.h”,然后我就把#include "stm3210x.h"加到了core_cm3.h中。结果依然没有变化。最后我将#include "stm3210x.h"加到我正在写的flash.h的头文件中,这个错误就不再提示了。
更多推荐




所有评论(0)