No memory for tty_prepare_flip_string
Hello,
I'm using the OpenAMP_TTY_echo example with some modification.
if (VirtUart0RxMsg) {
VirtUart0RxMsg = RESET;
while (data < 65535) {
itoa(data, buf, 10);
if(VIRT_UART_Transmit(&huart0, (uint8_t *)buf, 10) != VIRT_UART_OK){
Error_Handler();
}
data ++;
}
data = 0;
}On Linux side I'm use write on ttyRPMSG0.
But if I don't read, the log give me the message:
rpmsg_tty virtio0.rpmsg-tty-channel.-1.0: No memory for tty_prepare_flip_string
I think that I'm understand the problem, but what can I do to prevent this problem?
