Go Down

Topic: Where Does The Due Serial Source Code Live? (Read 171 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy