PaulStoffregen
f496103194
Always define the SD card pins - do it like we mean it!
pirms 8 gadiem
Kurt Eckhardt
eef956bb2d
Update Board Names
pirms 8 gadiem
Kurt Eckhardt
db1e687b18
T3.5/T3.6 Beta: Optional Allow SDCard pins
With the new beta boards, for those users who don't need an SDCard for
their project, it would be great to allow them to use the 6 IO pins
associated with the SDCARD for other purposes. This would probably
require a cheap adapter, but these are nice signals to be able to be
used. They include:
SPI1: SCK, MISO, MOSI, CS0-2
Serail2: TX/RX
Serial4: TX/RX
I2C1: SCL/SDA
This change adds support for GPIO, SPI, Serial2 and Serial4
pirms 8 gadiem
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.
pirms 8 gadiem
Kurt Eckhardt
a8c467f5e6
Fix Compile error for Teensy LC
pirms 8 gadiem
Kurt Eckhardt
1067caf0ba
Beta Board names Change
pirms 8 gadiem
Kurt Eckhardt
da4b27c0db
T3.2 Serial2.end - handle alternate pins
On T3.2 if you do something like:
Serial2.setTX(31);
Serial2.setRX(26);
Serial2.begin(.9600);
...
Serial2.end();
It will on the end call will always reconfigure pins 9 and 10 to be
digital pins MUX = 1
pirms 8 gadiem
Kurt Eckhardt
1bb20b3b61
Serial2.setTx and Serial2.setRX should check Uart1
These two functions were checking (SIM_SCGC4 & SIM_SCGC4_UART2)
and should be testing (SIM_SCGC4 & SIM_SCGC4_UART1)
pirms 8 gadiem
Kurt Eckhardt
c9bec4c380
Serial2 - !TX(31) !RX(26) on T3.5
Updated Serial2.
It had valid TX for T3.2 of 10 and 31, but 31 on T3.5 is RX4
Likewise RX for T3.2 of 9 and 26, but on T3.5 26 is RX1
pirms 8 gadiem
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
pirms 8 gadiem
PaulStoffregen
e3989b19f3
Add HardwareSerial setRX(pin) & setTX(pin)
pirms 8 gadiem
PaulStoffregen
0254d93d95
Teensy-LC doesn't support CTS, so disable its code
pirms 9 gadiem
PaulStoffregen
6e0dd8ab39
Use software-based RTS on Serial2 and Serial3
pirms 9 gadiem
PaulStoffregen
c6e6060c48
whitespace reformat in serial code
pirms 9 gadiem
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
pirms 9 gadiem
PaulStoffregen
6ed0c5f01f
Fix Hardware Serial transmitterEnable() on Teensy-LC
pirms 9 gadiem
PaulStoffregen
e2bf6d44e0
Avoid kinetis.h name conflicts with simple Arduino names
pirms 9 gadiem
PaulStoffregen
182037caea
Fix 9 bit hardware serial receive
https://forum.pjrc.com/threads/27093-Fix-for-9-bit-serial-receive-bug
pirms 9 gadiem
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
pirms 9 gadiem
PaulStoffregen
19ee965759
Add transmitterEnable on Serial2 & Serial3
pirms 10 gadiem
PaulStoffregen
36fc4f599e
Use Serial2's FIFO on Teensy 3.1
pirms 10 gadiem
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
pirms 10 gadiem
PaulStoffregen
479bde6866
Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h
pirms 10 gadiem
PaulStoffregen
603afcc984
Fix off-by-1 error in new Serial#.room()
pirms 10 gadiem
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
pirms 10 gadiem
PaulStoffregen
7ba1cbccc6
Add NVIC priority handling in Serial2 & Serial3
pirms 11 gadiem
PaulStoffregen
29168b784d
Add serial formats and 9 bit modes (disabled by default) to HardwareSerial
pirms 11 gadiem
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
pirms 11 gadiem