1The purpose of this test is to validate that uart_poll_out call is resilient to 2being interrupted by another uart API call. That includes uart_poll_out called 3from higher priority context, uart_fifo_fill called from UART interrupt context 4and uart_tx called from higher priority context. Preemptions shall not lead to 5any bytes being dropped. 6 7This test is establishing 3 context from which uart_poll_out is called: 8- main thread 9- higher priority thread 10- k_timer timeout context 11 12From each context stream of data is being sent. Bytes in streams are encoded as 13following: 4 MSB bits contains stream ID, 4 LSB bits are incremented. 14 15Test requires that two pairs of pins are shortened: TX with RX and CTS with RTS. 16UART receives loopback data and validates if for each stream (identified by ID) 17data is consistent. 18