-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit a51e1c4
Added support for different size of TX and RX buffer sizes.
Added support for buffer sizes bigger than 256 bytes.
Added possibility to overrule the default size.
Added support for different size of TX and RX buffer sizes.
The default values remain the same. You can however specify a different
value for TX and RX buffer
Added possibility to overrule the default size.
If you want to have different values
define SERIAL_TX_BUFFER_SIZE and SERIAL_RX_BUFFER_SIZE on the command
line
Added support for buffer sizes bigger than 256 bytes.
Because of the possibility to change the size of the buffer sizes longer
than 256 must be supported.
The type of the indexes is decided upon the size of the buffers. So
there is no increase in program/data size when the buffers are smaller
than 2571 parent fd5f479 commit a51e1c4
File tree
2 files changed
+15
-10
lines changed- hardware/arduino/avr/cores/arduino
2 files changed
+15
-10
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
174 | - | ||
174 | + | ||
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
| |||
207 | 207 |
| |
208 | 208 |
| |
209 | 209 |
| |
210 | - | ||
210 | + | ||
211 | 211 |
| |
212 | 212 |
| |
213 | 213 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 | - | ||
35 | + | ||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 | - | ||
45 | - | ||
44 | + | ||
45 | + | ||
46 | 46 |
| |
47 | - | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
48 | 53 |
| |
49 | 54 |
| |
50 | 55 |
| |
| |||
85 | 90 |
| |
86 | 91 |
| |
87 | 92 |
| |
88 | - | ||
89 | - | ||
90 | - | ||
91 | - | ||
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
92 | 97 |
| |
93 | 98 |
| |
94 | 99 |
| |
|
0 commit comments