在调试motorware的lab时发现都是默认在RAM中运行的!一般proj_labxx.c中都有下面这段代码:
#ifdef FLASH
// Used for running BackGround in flash, and ISR in RAM
extern uint16_t *RamfuncsLoadStart, *RamfuncsLoadEnd, *RamfuncsRunStart;
#endif
于是我就自己在main.h中定义个一个FALSH
#define FLASH
但是编译会出错,怎么回事?难道还需要修改.cmd文件吗?
