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.
指针变量 *ADCDRV_4ch_RltPtrA,我直接在自己工程里声明,提示说没定义。
* ADCDRV_4ch_RltPtrA在inculde文件中已经定义过了。
DCDRV_4ch_INIT .macro m,n,p,q
;=============================
_ADCDRV_4ch_RltPtrA .usect "ADCDRV_4ch_Section",2,1,1 ; output terminal 1
_ADCDRV_4ch_RltPtrB .usect "ADCDRV_4ch_Section",2,1,1 ; output terminal 2
_ADCDRV_4ch_RltPtrC .usect "ADCDRV_4ch_Section",2,1,1 ; output terminal 3
_ADCDRV_4ch_RltPtrD .usect "ADCDRV_4ch_Section",2,1,1 ; output terminal 4
; publish Terminal Pointers for access from the C environment
.def _ADCDRV_4ch_RltPtrA
.def _ADCDRV_4ch_RltPtrB
.def _ADCDRV_4ch_RltPtrC
.def _ADCDRV_4ch_RltPtrD
ADCDRV_4ch_RltPtrA = &IphA;
编译不能通过。详细看截图。