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:
parent
e676b58d9f
commit
cc7eb1a535
2 changed files with 10 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue