AnsweredAssumed Answered

Problem with compiling BeMicro Labs for cn0216

Question asked by Andy-123 on May 24, 2012
Latest reply on May 26, 2012 by DragosB

Hello,

 

I try to compile the BeMicro lab for the CN0216. http://wiki.analog.com/resources/fpga/altera/bemicro/cn0216

I'm able to compile the BSP, but I'll get the following errors when I try to compile the application

 

ADI_Driver/cn0216.c: In function 'AD7791_Read':

ADI_Driver/cn0216.c:85: error: 'SYNC_SIGNALS_BASE' undeclared (first use in this function)

ADI_Driver/cn0216.c:85: error: (Each undeclared identifier is reported only once

ADI_Driver/cn0216.c:85: error: for each function it appears in.)

ADI_Driver/cn0216.c: In function 'AD7791_Write':

ADI_Driver/cn0216.c:129: error: 'SYNC_SIGNALS_BASE' undeclared (first use in this function)

ADI_Driver/cn0216.c: In function 'AD7791_Convertion':

ADI_Driver/cn0216.c:166: error: 'SYNC_SIGNALS_BASE' undeclared (first use in this function)

ADI_Driver/cn0216.c:175: error: 'ADC_DATA_READY_BASE' undeclared (first use in this function)

ADI_Driver/cn0216.c: In function 'CN0216_Init':

ADI_Driver/cn0216.c:214: error: 'SYNC_SIGNALS_BASE' undeclared (first use in this function)

make: *** [obj/default/ADI_Driver/cn0216.o] Error 1

 

The 'SYNC_SIGNALS_BASE' undeclared error also occurs with the CN0194 lab. I haven't tested other CN... labs yet.

I've tested some AD... labs, which have worked without any problems so far.

Outcomes