Hi
I am using ADSP 21369 and using command line interface to build the project.
I am getting the following link error(see below) when I tried using the UART
example. It is due to the macro SRU2 defined in sru21369.h.
[Error li1021] The following symbols referenced in processor 'p0'
could not be resolved:
'A2_ [_A2_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'A_ [_A_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'B2_ [_B2_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'B_ [_B_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'C2_ [_C2_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'C_ [_C_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'D_ [_D_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'E_ [_E_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'F_ [_F_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
'G_ [_G_]' referenced from
'..\..\lib\dsi.dlb[dsi.c.doj]'
The starnge thing is that it does NOT give any error for the following lines
SRU2(UART0_TX_O,DPI_PB09_I); // UART transmit signal is connected to DPI pin
9
SRU2(DPI_PB10_O,UART0_RX_I); // connect the pin buffer output signal to the
UART0 receive
But it gives error for these lines
SRU2(HIGH,DPI_PBEN09_I);
SRU2(LOW,DPI_PB10_I);
SRU2(LOW,DPI_PBEN10_I); // disables DPI pin10 as input
I can supress the errors by defining dummies like
#define A_
#define B_
#define C_
#define D_
#define E_
#define F_
#define G_
#define A2_
#define B2_
#define C2_
Can anyone please explain whats happenning.
Regards,
SM
Link Error "The following symbols referenced in processor 'p0' could not be resolved:"
Started by ●March 27, 2009