apps/bttester: Use UART pipe by default

This commit is contained in:
Michał Narajowski
2019-02-25 14:40:37 +01:00
parent 81bc4d0e87
commit cdb0398414
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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;
+3 -3
View File
@@ -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