Kurt Eckhardt
2954ed6425
T3.x(LC) - yield and eventResponder speedups if not used
Code is setup that if there are no eventResponders that have registered to do interrupt calls, don't have the systic code in place to look for it.
Also yield code. Now figures out if the user has any code that installs their own serialEventX methods, to call them, but if they have left the default weak pointer versions, to not call them in yield. Likewise will only look for eventRespnder events if the sketch has actually attached any events. If none of these conditions are true, yield will just check one flag and return.
T3.x Serial events cleanup
4 anni fa
PaulStoffregen
717916e64d
Fix SERIAL_8N2 mode on Teensy LC
7 anni fa
PaulStoffregen
07906c1091
Teensy LC doesn't support 9 bits on Serial2 & Serial3
7 anni fa
PaulStoffregen
70e7c62a7d
Add comment to HardwareSerial.h for editing SERIAL_9BIT_SUPPORT
7 anni fa
PaulStoffregen
7099935c0e
Update open source license info
7 anni fa
PaulStoffregen
768926244c
Use constexpr constructors for all Serial classes
7 anni fa
PaulStoffregen
d30f8ccab8
Add using Print::write to hardware serial
7 anni fa
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 anni fa
Kurt Eckhardt
7352ea7791
Add Serial6 - T3.4 Uart5, T3.5 LPUart0
This is a WIP, But I have now been able to create Serial6 on T3.4 beta,
and so far have tested Send/Receive basic stuff at 115200 and have tried
at several CPU speeds in MHZ (192, 216, 180, 120, 96)
8 anni fa
PaulStoffregen
8b3d33689e
Add Serial4 & Serial5 for K64 & K66
8 anni fa
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
8 anni fa
PaulStoffregen
8dbe007acc
Fix incorrect baud rate on Serial2 when used with format option
8 anni fa
PaulStoffregen
e3989b19f3
Add HardwareSerial setRX(pin) & setTX(pin)
8 anni fa
PaulStoffregen
2c726eae11
RTS/CTS support for Serial1 on Teensy LC & 3.x (experimental)
9 anni fa
PaulStoffregen
7a6898b59d
Add bool operator to HardwareSerial
9 anni fa
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
9 anni fa
duff2013
06f4defa2d
(MKL26Z64) update for F_PLL <= 16MHz
10 anni fa
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
10 anni fa
PaulStoffregen
19ee965759
Add transmitterEnable on Serial2 & Serial3
10 anni fa
PaulStoffregen
3b9ae1513b
rename writeBufferFree() to availableForWrite()
10 anni fa
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
10 anni fa
PaulStoffregen
479bde6866
Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h
10 anni fa
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 anni fa
PaulStoffregen
4c047eea2b
Add serialEvent (USB) and serialEvent1-3 (serial)
10 anni fa
PaulStoffregen
d783be33c1
Clean up trailing whitespace
10 anni fa
PaulStoffregen
98737f890f
HardwareSerial write functions need to be virtual
http://forum.pjrc.com/threads/25494-Problems-with-HardwareSerial-Pointer-and-write
10 anni fa
PaulStoffregen
bff3488fd1
Add Serial1.transmitterEnable(pin) for RS-485
11 anni fa
PaulStoffregen
29168b784d
Add serial formats and 9 bit modes (disabled by default) to HardwareSerial
11 anni fa
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 anni fa