Browse Source

resize buffers

MKS_UI
Sergey 3 years ago
parent
commit
f54767ec21
  1. 4
      Marlin/Configuration_adv.h
  2. 2
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h

4
Marlin/Configuration_adv.h

@ -2173,13 +2173,13 @@
// For debug-echo: 128 bytes for the optimal speed.
// Other output doesn't need to be that speedy.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256]
#define TX_BUFFER_SIZE 256
#define TX_BUFFER_SIZE 32
// Host Receive Buffer Size
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// To use flow control, set this buffer size to at least 1024 bytes.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
#define RX_BUFFER_SIZE 2048
#define RX_BUFFER_SIZE 32
#if RX_BUFFER_SIZE >= 1024
// Enable to have the controller send XON/XOFF control characters to

2
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_NANO.h

@ -47,5 +47,5 @@
#include "pins_MKS_ROBIN_NANO_common.h"
#if HAS_TFT_LVGL_UI
#define BUF_SIZE_KB 6
#define BUF_SIZE_KB 12
#endif

Loading…
Cancel
Save