@@ -235,6 +235,7 @@ ZTEST(uart_elementary, test_uart_basic_transmission)
235235ZTEST (uart_elementary , test_uart_dual_port_transmission )
236236{
237237 int err ;
238+ #if 0
238239 struct uart_config test_uart_config = { .baudrate = UART_BAUDRATE ,
239240 .parity = UART_CFG_PARITY_EVEN ,
240241 .stop_bits = UART_CFG_STOP_BITS_2 ,
@@ -256,8 +257,8 @@ ZTEST(uart_elementary, test_uart_dual_port_transmission)
256257#else
257258 err = uart_configure (uart_dev_aux , & test_uart_config );
258259#endif
259-
260260 zassert_equal (err , 0 , "Unexpected error when configuring UART1: %d" , err );
261+ #endif
261262
262263 err = uart_irq_callback_set (uart_dev , interrupt_driven_uart_callback_main_uart );
263264 zassert_equal (err , 0 , "Unexpected error when setting callback for UART0 %d" , err );
@@ -317,6 +318,11 @@ ZTEST(uart_elementary, test_uart_dual_port_transmission)
317318 "UART configuration mismatch error not detected" );
318319
319320#else
321+ printf ("buffer: %02x %02x %02x %02x\n" ,
322+ test_buffer [0 ],
323+ test_buffer [1 ],
324+ test_buffer [2 ],
325+ test_buffer [3 ]);
320326 for (int index = 0 ; index < TEST_BUFFER_LEN ; index ++ ) {
321327 zassert_equal (test_buffer [index ], test_pattern [index ],
322328 "UART0 received data byte %d does not match pattern 0x%x != 0x%x" ,
0 commit comments