nios ii EDS中出现Type 'xxxx_base' could not be resolved的解决方法

在nios II中,明明system.h中定义了#define xxx_base 0x00000010,可是在编写程序时,调用IORD(xxx_base)或IOWR(xxx_base)时,总是提示Type 'xxxx_base' could not be resolved错误,重新编译不行,重新生成BSP也不行,今天终于发现了解决办法,具体见下图操作。

nios ii EDS中出现Type 'xxxx_base' could not be resolved的解决方法