kasjer commented on issue #2944:
URL: https://github.com/apache/mynewt-core/issues/2944#issuecomment-1729331896

   With syscfg that you have try this code:
   ```c
       struct uart_conf uc = {
               .uc_speed = 115200,
               .uc_databits = 8,
               .uc_stopbits = 1,
               .uc_parity = UART_PARITY_NONE,
               .uc_flow_ctl = UART_FLOW_CTL_NONE,
               .uc_tx_char = NULL,
               .uc_rx_char = NULL,
       };
       struct uart_dev *uart = uart_open("uart1", &uc);
       uart_blocking_tx(uart, 'h');
   ```
   
   using hal_uart_blocking_tx() requires more configuration that is done here 
partially by syscfg `UART_1: 1` and by `uart_open()`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to