cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
marvinscheinbart
Explorer
Explorer
536 Views
Registered: ‎05-09-2014

Problem using XUartLite_RecvByte (UINTPTR)

Jump to solution

All:

     In my previous project I used the function XUartLite_RecvByte(BASEADDRESS) to read the UART attached to my uBlaze.  BASEADDRESS was defined as a u32.  In Vivado 2019.1 BASEADDRESS is now a UINTPTR.

    My original sytax was: c = XUartLite_RecvByte (XPAR_AXI_UARTLITE_0_BASEADDR);

    How do I convert the above XUartLite_RecvByte statement to be compatible with a UINTPTR.

    The message I get is as follows:

../src/cli.c: In function 'cli_get_command':
../src/cli.c:569:13: warning: implicit declaration of function 'XUartLite_RecvByte' [-Wimplicit-function-declaration]
c = XUartLite_RecvByte (XPAR_AXI_UARTLITE_0_BASEADDR);

     Thanks,

        Marv

 

0 Kudos
Reply
1 Solution

Accepted Solutions
marvinscheinbart
Explorer
Explorer
514 Views
Registered: ‎05-09-2014

All:

 

     The problem has been solved.  I had to ask a software person for help.  Thanks,

 

        Marv

 

View solution in original post

0 Kudos
Reply
1 Reply
marvinscheinbart
Explorer
Explorer
515 Views
Registered: ‎05-09-2014

All:

 

     The problem has been solved.  I had to ask a software person for help.  Thanks,

 

        Marv

 

View solution in original post

0 Kudos
Reply