Arduino Forum

Products => Arduino Due => Topic started by: RayLivingston on Jun 18, 2015, 04:15 am

Title: Where Does The Due Serial Source Code Live?
Post by: RayLivingston on Jun 18, 2015, 04:15 am
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.
Title: Re: Where Does The Due Serial Source Code Live?
Post by: SurferTim on Jun 19, 2015, 01:56 am
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
Title: Re: Where Does The Due Serial Source Code Live?
Post by: RayLivingston on Jun 19, 2015, 02:42 am
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.