This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USART Functions Cannot be Found

I am trying to set up UART on a LPC54102J512BD64, when I try to call RingBuffer_init, Chip_UART_SendRB or Chip_UART_ClearStatus I get the error "No Mathcing function for call to 'RingBuffer_Init' etc. There appears to be errors in ring_buffer.h and uart_5410x.h but I cannot edit these headers. Why would this be happening and how can I fix it? Thank you for any help!

Parents
  • Thank you for responding :)

    I used "manage run-time environment" to include the drivers which I am trying to use so I assumed that it would add any libraries and source code that I need?

    There is an error in "ring_buffer.h": "Unknown type name '__STATIC_INLINE', when "UART_5410x.h" tries to inlcide "ring_buffer.h" it produces the error: "error in include chain(ring_buffer.h)"

    Could these errors result in main being unable to find the function?

Reply
  • Thank you for responding :)

    I used "manage run-time environment" to include the drivers which I am trying to use so I assumed that it would add any libraries and source code that I need?

    There is an error in "ring_buffer.h": "Unknown type name '__STATIC_INLINE', when "UART_5410x.h" tries to inlcide "ring_buffer.h" it produces the error: "error in include chain(ring_buffer.h)"

    Could these errors result in main being unable to find the function?

Children