Go Down

Topic: Where Does The Due Serial Source Code Live? (Read 129 times) previous topic - next topic

RayLivingston

The title says it all.  I need to modify Serial, to increase the Tx buffer size, but I can't find the source code....

Regards,
Ray L.

SurferTim

I don't know about Windows, but I think I found it in Linux. It is in a hidden folder.
home/user/.arduino15/packages/arduino/hardware/sam/1.6.4/cores/arduino/RingBuffer.h

Search for SERIAL_BUFFER_SIZE

RayLivingston

Tim,

Thanks!  In Windows it's in Users\username\Appdata\Roaming\.arduino15\packages\arduino\hardware\sam\1.6.4\cores\arduino\RingBuffer.h

I bumped it up to 1024.  It's not like I'll ever use all the available RAM....

Thanks much!

Regards,
Ray L.

Go Up