Open
Description
If this buffer gets full then incoming bytes are discarded until space is free in the buffer again, which may account for some of our serial communication issues. The default size is a mere 16 bytes.
This can be implemented by adding a compiler flag. For example, to set the buffer size to 256 bytes, you can pass -DSERIAL_RX_BUFFER_SIZE=256
.
The reason why I'm holding off making the change right now is that we're currently very memory-hungry already and I get the impression that we're pushing the limits of the microcontroller's SRAM capacity. Increasing the amount of SRAM dedicated to the serial buffer will almost certainly worsen the situation, so we should fix those issues first (I'm slowly working out a good way to approach this).
Metadata
Assignees
Labels
No labels