Skip to content

Commit 365122e

Browse files
dshcherbDmitrii Shcherbakov
authored andcommitted
Increase UART buffer size
1 parent ce57327 commit 365122e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

api/RingBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace arduino {
3030
// using a ring buffer (I think), in which head is the index of the location
3131
// to which to write the next incoming character and tail is the index of the
3232
// location from which to read.
33-
#define SERIAL_BUFFER_SIZE 64
33+
#define SERIAL_BUFFER_SIZE 1024
3434

3535
template <int N>
3636
class RingBufferN

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "framework-arduino-api",
3+
"description": "Hardware independent layer of the Arduino cores",
4+
"version": "2025.1.4"
5+
}

0 commit comments

Comments
 (0)