Iam trying to add UART0 funtionality to the I_O_repeater code by doing the following:
adding the Include file on the top ,
#include <uart0.h> // for UART 0
then within main function i’m adding,
void main(void)
{
void uart1Init(); //initializes the Uart1
//now let us set the baud rate at 9600
uart1SetBaudRate(9600);
//now let us set the parity
uart1SetPariy(PARITY_NONE);
//now let us set the number of stop bits to 1
uart0SetStopBits(STOP_BITS_1);
*/
// pointers to link packets
uint8 XDATA * txBuf;
uint8 XDATA * rxBuf;
uint8 lastTx = 0;
uint8 txInterval = 0;
systemInit();
usbInit();
uart0Init();
radioQueueInit();
configurePins();
when i compile the compiler throws
?ASlink-Warning-Undefined Global ‘_ISR_URX0’ referenced by module ‘io_repeater’
?ASlink-Warning-Undefined Global ‘_ISR_UTX0’ referenced by module ‘io_repeater’
?ASlink-Warning-Undefined Global ‘_uart0Init’ referenced by module ‘io_repeater’
make: *** [apps/io_repeater/io_repeater.hex] Error 1
What am i doing wrong here or am i missing something fundamental here…Kindly help
Thanks,
Vikram