You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by gi...@git.apache.org on 2017/07/18 03:10:45 UTC

[GitHub] cwanda commented on a change in pull request #255: Documented Console 1.1 Improvements.

cwanda commented on a change in pull request #255: Documented Console 1.1 Improvements.
URL: https://github.com/apache/mynewt-site/pull/255#discussion_r127874176
 
 

 ##########
 File path: docs/os/modules/console/console.md
 ##########
 @@ -1,14 +1,23 @@
-#Console
+## Console
 
+The console is an operating system window where users interact with the OS subsystems or a console application.  A user typically inputs text from a keyboard and reads the OS output text on a computer monitor.  The text is  sent as a sequence of characters between the user and the OS. 
 
-The console is an operating system window where users interact with the OS subsystems or a console 
-application.  A user typically inputs text from a keyboard and reads the OS output text on a computer
-monitor.  The text are sent as a sequence of characters between the user and the OS. 
- 
-Support is currently available for console access via the serial port on the hardware board.
+You can configure the console to communicate via a UART or the SEGGER Real Time Terminal (RTT) .  The `CONSOLE_UART` syscfg setting enables the communication via a UART and is enabled by default. The `CONSOLE_RTT` setting enables the communication via the RTT and is disabled by default. When the `CONSOLE_UART` setting is enabled, the following settings apply:
 
+* `CONSOLE_UART_DEV`: Specifies the UART device to use. The default is `uart0`.  
+* `CONSOLE_UART_BAUD`: Specifies the UART baud rate. The default is 115200.
+* `CONSOLE_UART_FLOW_CONTROL`: Specifies the UART flow control. The default is `UART_FLOW_CONTROL_NONE`.
+* ` CONSOLE_UART_TX_BUF_SIZE`: Specifies the transmit buffer size and must be a power of 2. The default is 32.
+<br>
+
+The `CONSOLE_TICKS` setting enables the console to print the current OS ticks in each output line. 
+
+**Notes:** 
+
+* SEGGER RTT support is not available in the Mynewt 1.0 console package .
 
 Review comment:
   Fixed. Thanks
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services