Does anyone know a good/easy/efficient way to increase the size of only the Serial1 receive buffer on the Zero?
I am using the Adafruit Feather M0:
When I edit RingBuffer.h and increase the SERIAL_BUFFER_SIZE to (e.g.) 6144, it uses up four times as much RAM as it needs to as it increases both the receive and transmit buffers for both Serial1 and Serial5.
If I edit variant.h and variant.cpp and comment out the Serial5 definitions, I can reduce this to a factor of two.
Ideally, I would like to increase the size of the Serial1 receive RingBuffer only - without having to create my own variant.
Many thanks in advance,