Hi,everyone,
I use C6678EVM and I have changed IBL code in the path of ibl/src/device/c66x/c66xinit.c and use MinGW to build it ,the code I have changed is added the UART function,as following:
#include "platform.h"
#define BOOT_UART_BAUDRATE 115200
void
write_uart
(
char* msg
)
{
uint32_t i;
uint32_t msg_len = strlen(msg);
/* Write the message to the UART */
for (i = 0; i < msg_len; i++)
{
platform_uart_write(msg[i]);
}
}
platform_uart_init();
platform_uart_set_baudrate(BOOT_UART_BAUDRATE);
write_uart("simon");
The purpose I do this change is I want to set C6678 as pcie boot ,and I know after I power on compiler c6678,it will first execute IBL code,so I want to verify the conclusion according to the print information in UART.
The error have occurred when I build the code as following :
How can I solve the problem ?Or there is another idea to send messages to UART when execute ibl code ?
Regards,
Simon



