Skip to content

Commit ca61d2e

Browse files
committed
zephyr: Enable sync events and increase UART buffer for BLE.
Enable synchronous BLE events and increase UART RX buffer to 512 bytes for reliable raw-paste operation on the nRF52840 DK. Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
1 parent e4fd94c commit ca61d2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ports/zephyr/src/zephyr_getchar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extern int mp_interrupt_char;
2424
void mp_sched_keyboard_interrupt(void);
2525
void mp_hal_signal_event(void);
2626

27-
#define UART_BUFSIZE (512)
27+
#define UART_BUFSIZE (4096)
2828
static uint8_t uart_ringbuf[UART_BUFSIZE];
2929
static uint16_t i_get, i_put;
3030

0 commit comments

Comments
 (0)