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.
Question
rmccormack1
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.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now