This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

想用中断的方式来进行串口发送,更改HAL_DMA=FALSE,编译之后为什么有好多错误?

Other Parts Discussed in Thread: Z-STACK

错误如下:

Error[Pe020]: identifier "halDMADesc_t" is undefined D:\IAR_lianxi\Z_Stack\T_V_collect_7\ZStack-CC2530-2.3.0-1.4.0\Components\hal\target\CC2530EB\hal_flash.c 209

Error[Pe020]: identifier "HAL_DMA_VLEN_USE_LEN" is undefined D:\IAR_lianxi\Z_Stack\T_V_collect_7\ZStack-CC2530-2.3.0-1.4.0\Components\hal\target\CC2530EB\hal_flash.c 213

好像都是oid HalFlashWrite(uint16 addr, uint8 *buf, uint16 cnt)函数里面的参数都为DMA,要怎么改成ISR?