Kurt Eckhardt
305fb4da93
SPI1 on T3.4/3.5 - Add SPCR1
8 anni fa
Kurt Eckhardt
91f8f30c04
Add SPI1 to kinetis.h for T3.4 and T3.5
Added define for SPI1 registers
8 anni fa
Paul Stoffregen
3ab6f0380f
Merge pull request #144 from FrankBoesing/patch-1
add additonal F_TIMER (FTM_MOD)
8 anni fa
Frank
c0921e7b0d
add additonal F_TIMER (FTM_MOD)
...were missing :)
8 anni fa
PaulStoffregen
d79723c252
Easier F_BUS overclocking
8 anni fa
PaulStoffregen
be42e0574e
Fix DMA on K66
8 anni fa
Paul Stoffregen
ebc6460ff4
Merge pull request #142 from FrankBoesing/master
Add missing F_BUS
8 anni fa
Frank Bösing
dfd60bee72
add missing F_BUS to SPIFIFO
8 anni fa
Frank Bösing
8752969dbb
Add missing F_BUS
8 anni fa
PaulStoffregen
e2e07e5394
Fix DMAMUX for K66
8 anni fa
PaulStoffregen
ddb7fb0267
Add I2C clock divider names
8 anni fa
PaulStoffregen
575f309209
Fix EEPROM on K66
8 anni fa
PaulStoffregen
759ba1b417
Fix touchRead on K66
8 anni fa
PaulStoffregen
7a2c0037b8
Use IRC48M clock for USB when F_CPU is 180 or 216 MHz
8 anni fa
PaulStoffregen
6856d4eedc
Fix analogRead on K66
8 anni fa
PaulStoffregen
7c963d5269
Use SIM_SCGC6 for RNG to match register defs
8 anni fa
PaulStoffregen
5eab8dd0b8
Fix pin numbers for transmit opendrain on Serial4 & Serial5
8 anni fa
Paul Stoffregen
9f87a7b766
Merge pull request #139 from KurtE/T3-5-Serial1-new-TXRX-pins
Add support for pins 26 and 27
8 anni fa
Paul Stoffregen
cd8cd50f05
Merge pull request #140 from FrankBoesing/patch-1
Fix for crash @ 48 & 24MHz on K66
8 anni fa
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 anni fa
Frank
27f9bd8f0f
Frix for crash @ 48 & 24MHz
8 anni fa
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 anni fa
Kurt Eckhardt
491e1e21ca
Add support for pins 26 and 27
8 anni fa
PaulStoffregen
8b3d33689e
Add Serial4 & Serial5 for K64 & K66
8 anni fa
PaulStoffregen
6040145aac
More K66 overclocking options
8 anni fa
PaulStoffregen
663d7eaa7b
Fix Random Number Generator registers (thanks manitou)
fixes 136
8 anni fa
PaulStoffregen
06c8b9ceab
Fix sendRealTime (thanks capricorn-one)
fixes #138
8 anni fa
PaulStoffregen
7e25edcb86
Fix missing Print.h from Server.h
8 anni fa
PaulStoffregen
2f8709c6c9
Include WCharacter.h by default
8 anni fa
PaulStoffregen
04bc4d27a5
Remove unused testing code
8 anni fa
PaulStoffregen
005b35548f
Fix spelling error in comments
8 anni fa
PaulStoffregen
9b06bacb72
Fix millis corner case
https://forum.pjrc.com/threads/17469-millis%28%29-on-teensy-3?p=104924&viewfull=1#post104924
8 anni fa
PaulStoffregen
e7084a9906
Add other missing license headers
8 anni fa
PaulStoffregen
ce5692f9ff
Add license info for crc16.h
fixes #131
8 anni fa
PaulStoffregen
62ea3b9e5b
Allow SPI pin reassign while SPI is running
8 anni fa
PaulStoffregen
f5c6b36008
Support pins 24 & 25 in Serial1 setTX & setRX on Teensy LC
8 anni fa
Paul Stoffregen
07571183cc
Merge pull request #132 from jbliesener/master
Corrected typecast in usb_flightsim.cpp
8 anni fa
Jorg Neves Bliesener
372698e9ef
Corrected typecast in usb_flightsim.cpp
Signed-off-by: Jorg Neves Bliesener <jbliesener@bliesener.com>
8 anni fa
PaulStoffregen
336155e236
Merge digitalWriteFast for Teensy 2.0 (thanks KurtE)
fixes #130
8 anni fa
PaulStoffregen
82b74d9d3b
Add TouchscreenUSB keyword
8 anni fa
Paul Stoffregen
9ba39784bd
Merge pull request #129 from KurtE/T2-Serial1-Write-bypass
Teensy 2 - Serial1.write() - maybe bypass queue
8 anni fa
Kurt Eckhardt
9aa92c1c38
Avoid possible race condition
Remove possible race condition in setting and clearing transmitting.
Not from direct handling of this interrupt, but maybe another interrupt
happens right after we set UDR1, which by the time it finishes, the
transmit complete interrupt happens which clears it and returns and we
set transmitting.
8 anni fa
Paul Stoffregen
1946bfcfb8
Merge pull request #127 from duff2013/master
add compare and llwu register defs
8 anni fa
Paul Stoffregen
481e29955f
Merge pull request #128 from KurtE/Teensy3-Add-Serial-clear
Add Serial.clear() to Teensy 3.x
8 anni fa
Kurt Eckhardt
a4a65a44ed
Teensy 2 - Serial1.write() - maybe bypass queue
Add same speedup from Arduino core, that on Serial1.write, check to see
if output queue is empty and data register empty, if so simply stuff the
character out in the output queue, without needing to use interrupt to
start transmission. Helps speed up fast IO like 1MBS
Also, changed how UCSR1B is updated, to be like Arduino. In particular
it turns on and off specific bit(s) instead of complete set of register.
Needed if you wish to emulate half duplex with this uart.
8 anni fa
Kurt Eckhardt
6d3a261664
Add Serial.clear() to Teensy 3.x
On Teensy 3.x - we have Serial1.clear, Serial2.clear...
But not Serial.clear.
Serial.clear() exists for Teensy2, so thought I would try to add it for
Teensy 3s...
8 anni fa
duff2013
524efc02b4
add compare and llwu register defs
8 anni fa
PaulStoffregen
e31e49bc20
Add more USB Type combinations
8 anni fa
PaulStoffregen
e429e0ca03
Remove debug code & clean up white space formatting
8 anni fa
PaulStoffregen
051474da89
Report number of fingers supported by USB Touchscreen
8 anni fa