PaulStoffregen
f496103194
Always define the SD card pins - do it like we mean it!
8 år sedan
Kurt Eckhardt
eef956bb2d
Update Board Names
8 år sedan
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
8 år sedan
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 år sedan
Kurt Eckhardt
a8c467f5e6
Fix Compile error for Teensy LC
8 år sedan
Kurt Eckhardt
1067caf0ba
Beta Board names Change
8 år sedan
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
8 år sedan
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)
8 år sedan
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
8 år sedan
PaulStoffregen
1e5260347f
Add opendrain option to Serial#.setTX
8 år sedan
PaulStoffregen
e3989b19f3
Add HardwareSerial setRX(pin) & setTX(pin)
8 år sedan
PaulStoffregen
0254d93d95
Teensy-LC doesn't support CTS, so disable its code
9 år sedan
PaulStoffregen
6e0dd8ab39
Use software-based RTS on Serial2 and Serial3
9 år sedan
PaulStoffregen
c6e6060c48
whitespace reformat in serial code
9 år sedan
PaulStoffregen
c2f550d378
Add serial flow control C functions
https://forum.pjrc.com/threads/29446-Teensy-Hardware-Flow-Control-RTS-CTS?p=80425#post80425
9 år sedan
PaulStoffregen
6ed0c5f01f
Fix Hardware Serial transmitterEnable() on Teensy-LC
9 år sedan
PaulStoffregen
e2bf6d44e0
Avoid kinetis.h name conflicts with simple Arduino names
9 år sedan
PaulStoffregen
182037caea
Fix 9 bit hardware serial receive
https://forum.pjrc.com/threads/27093-Fix-for-9-bit-serial-receive-bug
9 år sedan
PaulStoffregen
9b8d74c089
Initial support for Teensy-LC
9 år sedan
PaulStoffregen
19ee965759
Add transmitterEnable on Serial2 & Serial3
10 år sedan
PaulStoffregen
36fc4f599e
Use Serial2's FIFO on Teensy 3.1
10 år sedan
PaulStoffregen
9c1e41e70e
Change room() to writeBufferFree()
https://groups.google.com/a/arduino.cc/d/msg/developers/ls3hkviFYM4/XWT2LbfzNcgJ
10 år sedan
PaulStoffregen
479bde6866
Use enum for IRQ numbers, rename mk20dx128.h to kinetis.h
10 år sedan
PaulStoffregen
603afcc984
Fix off-by-1 error in new Serial#.room()
10 år sedan
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 år sedan
PaulStoffregen
7ba1cbccc6
Add NVIC priority handling in Serial2 & Serial3
11 år sedan
PaulStoffregen
29168b784d
Add serial formats and 9 bit modes (disabled by default) to HardwareSerial
11 år sedan
PaulStoffregen
5cecdee933
Initial commit, version 1.17-rc1
11 år sedan