Error[Li005]: no definition for "UART_InString"
Error[Li005]: no definition for "UART_InUDec"
Error[Li005]: no definition for "UART_OutUDec"
Error[Li005]: no definition for "UART_InUHex"
Error[Li005]: no definition for "UART_OutUHex"
This is my Errors and my code is
#include <stdint.h>
#include "PLL.h"
#include "UART.h"
//---------------------OutCRLF---------------------
// Output a CR,LF to UART to go to a new line
// Input: none
// Output: none
void OutCRLF(void){
UART_OutChar(CR);
UART_OutChar(LF);
}
int main(void){
char i;
char string[20]; // global to assist in debugging
uint32_t n;
PLL_Init(); // set system clock to 120 MHz
UART_Init(); // initialize UART
OutCRLF();
for(i='A'; i<='Z'; i=i+1){// print the uppercase alphabet
UART_OutChar(i);
}
OutCRLF();
UART_OutChar(' ');
for(i='a'; i<='z'; i=i+1){// print the lowercase alphabet
UART_OutChar(i);
}
OutCRLF();
UART_OutChar('-');
UART_OutChar('-');
UART_OutChar('>');
while(1){
UART_OutString("InString: ");
UART_InString(string,19);
UART_OutString(" OutString="); UART_OutString(string); OutCRLF();
UART_OutString("InUDec: "); n=UART_InUDec();
UART_OutString(" OutUDec="); UART_OutUDec(n); OutCRLF();
UART_OutString("InUHex: "); n=UART_InUHex();
UART_OutString(" OutUHex="); UART_OutUHex(n); OutCRLF();
}
}
AND my files are
And one last Question should I add startup.s file also and is I added the startup file it give me more than 300 error + warrings extra
What should I do please help. its urgent