# Where Does The Due Serial Source Code Live?

**URL:** <https://forum.arduino.cc/t/where-does-the-due-serial-source-code-live/318722>\
**Category:** Due\
**Created:** [June 18, 2015, 2:15am UTC](https://forum.arduino.cc/t/where-does-the-due-serial-source-code-live/318722 "2015-06-18T02:15:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RayLivingston](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@RayLivingston](https://forum.arduino.cc/u/RayLivingston)\
**Post date:** [June 18, 2015, 2:15am UTC](https://forum.arduino.cc/t/where-does-the-due-serial-source-code-live/318722/1 "2015-06-18T02:15:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![SurferTim](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/surfertim/32/1072341_2.png) [@SurferTim](https://forum.arduino.cc/u/SurferTim)\
**Post date:** [June 18, 2015, 11:56pm UTC](https://forum.arduino.cc/t/where-does-the-due-serial-source-code-live/318722/2 "2015-06-18T23:56:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![RayLivingston](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@RayLivingston](https://forum.arduino.cc/u/RayLivingston)\
**Post date:** [June 19, 2015, 12:42am UTC](https://forum.arduino.cc/t/where-does-the-due-serial-source-code-live/318722/3 "2015-06-19T00:42:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 6, 2021, 5:40pm UTC](https://forum.arduino.cc/t/where-does-the-due-serial-source-code-live/318722/4 "2021-05-06T17:40:48Z")

</div>

Closed on May 6, 2021, 5:40pm UTC


