mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-17 19:07:23 +00:00
apps/bttester: Use UART pipe by default
This commit is contained in:
@@ -40,12 +40,12 @@ struct uart_pipe_ring {
|
||||
|
||||
static struct uart_dev *uart_dev;
|
||||
static struct uart_pipe_ring cr_tx;
|
||||
static uint8_t cr_tx_buf[2048];
|
||||
static uint8_t cr_tx_buf[MYNEWT_VAL(BTTESTER_BTP_DATA_SIZE_MAX)];
|
||||
typedef void (*console_write_char)(struct uart_dev*, uint8_t);
|
||||
static console_write_char write_char_cb;
|
||||
|
||||
static struct uart_pipe_ring cr_rx;
|
||||
static uint8_t cr_rx_buf[2048];
|
||||
static uint8_t cr_rx_buf[MYNEWT_VAL(BTTESTER_BTP_DATA_SIZE_MAX)];
|
||||
static volatile bool uart_console_rx_stalled;
|
||||
|
||||
struct os_event rx_ev;
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
syscfg.defs:
|
||||
BTTESTER_PIPE_UART:
|
||||
description: 'Set communication pipe to UART'
|
||||
value: 0
|
||||
value: 1
|
||||
|
||||
BTTESTER_PIPE_RTT:
|
||||
description: 'Set communication pipe to RTT'
|
||||
value: 1
|
||||
value: 0
|
||||
|
||||
BTTESTER_RTT_BUFFER_NAME:
|
||||
description: Bttester rtt pipe buffer name
|
||||
@@ -53,7 +53,7 @@ syscfg.defs:
|
||||
|
||||
BTTESTER_DEBUG:
|
||||
description: Enable debug logging
|
||||
value: 0
|
||||
value: 1
|
||||
|
||||
syscfg.vals:
|
||||
OS_MAIN_STACK_SIZE: 12444
|
||||
|
||||
Reference in New Issue
Block a user