| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| # |
| |
| # Package: sys/console/full |
| |
| syscfg.defs: |
| CONSOLE_UART: |
| description: 'Set console output to UART' |
| value: 1 |
| CONSOLE_RTT: |
| description: 'Set console output to RTT' |
| value: 0 |
| CONSOLE_BLE_MONITOR: |
| description: 'Set console output to BLE Monitor' |
| value: 0 |
| CONSOLE_INPUT: |
| description: 'Enable console input' |
| value: 1 |
| CONSOLE_TICKS: |
| description: 'Print OS Ticks' |
| value: 1 |
| CONSOLE_ECHO: |
| description: 'Default console echo' |
| value: 1 |
| CONSOLE_COMPAT: |
| description: 'Console backward compatibility' |
| value: 1 |
| CONSOLE_MAX_INPUT_LEN: |
| description: 'Maximum input line length' |
| value: 256 |
| CONSOLE_HISTORY_SIZE: |
| description: > |
| Number of lines to be stored in console history. |
| Set to "0" to disable console history. |
| value: 0 |
| |
| CONSOLE_UART_BAUD: |
| description: 'Console UART baud rate.' |
| value: '115200' |
| CONSOLE_UART_FLOW_CONTROL: |
| description: 'Console UART flow control.' |
| value: 'UART_FLOW_CTL_NONE' |
| CONSOLE_UART_TX_BUF_SIZE: |
| description: 'UART console transmit buffer size; must be power of 2.' |
| value: 32 |
| CONSOLE_UART_RX_BUF_SIZE: |
| description: > |
| UART console receive buffer size; must be power of 2. |
| When enabled, data are received to intermediate ringbuffer and |
| processed in task context instead of interrupt. This prevents |
| from possible deadlocking when trying to output large amount of |
| data directly from RX handler (e.g. when echoing data back). |
| Set to 0 to disable (received data are handled in interrupt context) |
| value: 32 |
| |
| CONSOLE_UART_DEV: |
| description: 'Console UART device.' |
| value: '"uart0"' |
| |
| CONSOLE_RTT_RETRY_COUNT: |
| description: > |
| Number of retries to write data in case buffer is full. This allows |
| to wait for host to read data from buffer in case there's a lot of |
| data to write which do not fit in buffer. |
| value: 2 |
| CONSOLE_RTT_RETRY_DELAY_MS: |
| description: > |
| Delay (in miliseconds) between each write retry. |
| value: 2 |
| CONSOLE_RTT_RETRY_IN_ISR: |
| description: > |
| Set to non-zero to enable write retries also in ISR. |
| value: 0 |
| CONSOLE_RTT_INPUT_POLL_INTERVAL_MAX: |
| description: > |
| Maximum interval (milliseconds) to poll for RTT input. |
| With no new data on RTT input, interval to poll for new data will |
| be gradually increased up to specified value. Using high interval |
| value may affect RTT console responsiveness, using small value may |
| affect device performance due to more frequent polling. |
| value: 250 |