Jump to content
  • 0

UART Function Problems


rmccormack1

Question

So I have a program to use the UART on the Digilent USB104A7 board. Here is my code:

#include <stdio.h>
#include "platform.h"
#include "xil_printf.h"
#include "xil_types.h"
#include "xil_assert.h"
#include "xil_io.h"
#include "xparameters.h"
#include "xuartlite.h"
#include "xintc.h"
#include "xil_exception.h"

int main(void)
{
int Status;
Status = UartLiteIntrExample(UARTLITE_DEVICE_ID);
if (Status != XST_SUCCESS) {
xil_printf("UART Example Failed\r\n");
return XST_FAILURE;
}

xil_printf("Successfully ran UART Example\r\n");
return XST_SUCCESS;
}

I will also attach errors but it looks like I am getting multiple errors with these functions. 

merror.PNG

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...