Kurt Eckhardt
d48359fc2c
T3.x/LC-SerialX addMemoryFor...
An experiement to see how much work again it would take to add the T4 methods to allow user sketches to increase the size of Serial ports RX and TX buffers, without having to edit the Source code which does it then for all sketches.
T3.x SerialN Add extra memory capabilities for Serial1-6
Also
Fixed serialEventX yield handling when you call begin multiple times
There is an issue that if you are not using the serialEvent type code and you call SerialX.begin multiple times, it will add that item to the process list multiple times, which can overrun the memory and cause crash or the like.
Fix was to check the list first and see if we are already in the list.
4 years ago
PaulStoffregen
571493c10e
Allow huge serial buffers on Teensy 3.x
5 years ago
PaulStoffregen
c425ecbd0a
Fix serial end() when errors are received but final interrupt never runs
6 years ago
PaulStoffregen
d51854082b
Fix serail stall when too-fast baud rates attempted
7 years ago
PaulStoffregen
07906c1091
Teensy LC doesn't support 9 bits on Serial2 & Serial3
7 years ago
PaulStoffregen
7099935c0e
Update open source license info
7 years ago
thewknd
91bef221c2
Check for used pins in serial_end and serial3_end
7 years ago
Frank Bösing
cecfe51276
Set RTS Watermarks dependend of rx-buffersize
8 years ago
Frank Bösing
6dd6073c2c
serialX buffersizes
Additional PR for SERIALX_DISABLE follows
8 years ago
Kurt Eckhardt
899cbecc02
Enable Uart 2 stop bit capabilities
The T-LC and the new beta boards T3.6 and soon T3.5 hardware uarts have
ability to turn on 2 stop bits. So enabled on these boards.
8 years ago
Kurt Eckhardt
7458590a29
Allow SetTX on Serial3/4/5 ...
On Serial 3 this addition is for all 3.x. Before it was ifdefed to only
do work on Teensy_LC as there is only one valid TX pin. But we now pass
in open drain as an option so this code should allow you to not turn it
on/off on Serial3 on all of these boards
and on Serial4 and Serial5 on the new boards.
8 years ago
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
8 years ago
PaulStoffregen
e3989b19f3
Add HardwareSerial setRX(pin) & setTX(pin)
8 years ago
PaulStoffregen
0254d93d95
Teensy-LC doesn't support CTS, so disable its code
9 years ago
PaulStoffregen
6e0dd8ab39
Use software-based RTS on Serial2 and Serial3
9 years ago
PaulStoffregen
c6e6060c48
whitespace reformat in serial code
9 years ago
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
9 years ago
PaulStoffregen
6ed0c5f01f
Fix Hardware Serial transmitterEnable() on Teensy-LC
9 years ago
PaulStoffregen
5c9ccd8412
Fix 9 bit transmit mode on Serial3
9 years ago
PaulStoffregen
e2bf6d44e0
Avoid kinetis.h name conflicts with simple Arduino names
9 years ago
PaulStoffregen
182037caea
Fix 9 bit hardware serial receive
https://forum.pjrc.com/threads/27093-Fix-for-9-bit-serial-receive-bug
9 years ago
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
10 years ago
PaulStoffregen
19ee965759
Add transmitterEnable on Serial2 & Serial3
10 years ago
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
10 years ago
PaulStoffregen
479bde6866
Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h
10 years ago
PaulStoffregen
603afcc984
Fix off-by-1 error in new Serial#.room()
10 years ago
PaulStoffregen
d289954223
Add Serial1-3.room()
http://forum.pjrc.com/threads/26064-Large-transfers-over-serial-on-Teensy-3-1
http://forum.arduino.cc/index.php/topic,165574.0.html
10 years ago
PaulStoffregen
f2cecda077
Use IRQ_PRIORITY (not hard-coded number) in Serial3
10 years ago
PaulStoffregen
7ba1cbccc6
Add NVIC priority handling in Serial2 & Serial3
11 years ago
PaulStoffregen
29168b784d
Add serial formats and 9 bit modes (disabled by default) to HardwareSerial
11 years ago
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 years ago