Cannot send VIRT_UART_Transmit as dst is RPMSG_ADDR_ANY
I'm following the OpenAMP_TTY_echo example.
To do a Tx it basically uses two functions: VIRT_UART_Init and VIRT_UART_Transmit
After I use VIRT_UART_Init, I can see in the Linux terminal a log message something that suggests the initialization is working.
However, VIRT_UART_Transmit returns error.
I was debugging and found that rpmsg_send_offchannel_raw function is returning because "dst == RPMSG_ADDR_ANY"
However, VIRT_UART_Init, is initializing destiny as RPMSG_ADDR_ANY
status = OPENAMP_create_endpoint(&huart->ept, RPMSG_SERVICE_NAME, RPMSG_ADDR_ANY, VIRT_UART_read_cb, NULL);These are automatic generated functions by STM32CubeMX.
Am I missing something? Should I set the dest address somehow?
Note this is code generated with STM32CubeMX, I only added the call to VIRT_UART functions.
