Part Number: CC2652R
Other Parts Discussed in Thread: SYSCONFIG
Hello all,
I am currently working on a project that uses the rtls_master, rtls_slave, and rtls_passive. Within the rtls_passive project, I want to send some data through UART over to another device. I have looked at the uart2echo example project to see how it is set up and added the code to the rtls_passive project. The issue that I am having is that whenever I build my project, I get linking errors, see attached screenshot.
The code added to the file:
#include <ti/drivers/UART2.h>
const char echoPrompt[] = "testing";
UART2_Handle uart;
UART2_Params uartParams;
size_t bytesWritten = 0;
UART2_Params_init(&uartParams);
uartParams.baudRate = 115200;
uart = UART2_open(0, &uartParams);
if(uart == NULL)
{
/* UART2_open() failed */
while (1);
}
UART2_write(uart, echoPrompt, sizeof(echoPrompt), &bytesWritten);
Errors:
Is there another UART driver library that I should be using? I have looked through the driver files, but there aren't any actual .c files within them. If anyone knows a solution to this, I would greatly appreciate it.
Thank you in advance,
Adan
