nrf/boards: Use 64 byte raw-paste buffer on PCA10028 and PCA10040.

To workaround issues with JLink CDC.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2025-04-22 11:54:13 +10:00
parent e676b58d9f
commit cc7eb1a535
2 changed files with 10 additions and 0 deletions

View file

@ -60,3 +60,8 @@
#define MICROPY_HW_SPI0_MISO (28)
#define HELP_TEXT_BOARD_LED "1,2,3,4"
// The JLink CDC on the PCA10028 cannot accept more than 64 incoming bytes at a time.
// That makes the UART REPL unreliable in general. But it can be improved to some
// extent by setting the raw-paste buffer size to that limit of 64.
#define MICROPY_REPL_STDIN_BUFFER_MAX (64)

View file

@ -64,3 +64,8 @@
#define MICROPY_HW_PWM2_NAME "PWM2"
#define HELP_TEXT_BOARD_LED "1,2,3,4"
// The JLink CDC on the PCA10040 cannot accept more than 64 incoming bytes at a time.
// That makes the UART REPL unreliable in general. But it can be improved to some
// extent by setting the raw-paste buffer size to that limit of 64.
#define MICROPY_REPL_STDIN_BUFFER_MAX (64)