Currently, SERIAL_BUFFER_SIZE in cores/nRF5/RingBuffer.h is defined to have a specific value (64 in this case) regardless of whether it is already defined or not. This means that there is no way to change the size of the UART buffers without editing this file manually by each person who wants a different value. With the proposed change, the definition can be passed to the compiler from the command line and the header will honor it.
Currently, SERIAL_BUFFER_SIZE in cores/nRF5/RingBuffer.h is defined to have a specific value (64 in this case) regardless of whether it is already defined or not. This means that there is no way to change the size of the UART buffers without editing this file manually by each person who wants a different value. With the proposed change, the definition can be passed to the compiler from the command line and the header will honor it.
The equivalent header for the SAMD core (https://github.com/adafruit/ArduinoCore-samd/blob/bdf5ac811733a9fdaf618fc61d8f5dcb8303ca00/cores/arduino/RingBuffer.h#L31-L33) already allows this, so I don't think this is likely to cause any major problems.