Paul Stoffregen
cc1641263d
Merge pull request #169 from KurtE/T3.5-Serial6-Fix
Fix Serial6 for Teensy 3.5
il y a 8 ans
Kurt Eckhardt
426a53c281
Fix Serial6 for Teensy 3.5
Needed to add new Define for clock gate
Plus defines to use the new clock gate, plus correct case name for the
serial6 isr to match what is in system isr table
il y a 8 ans
Kurt Eckhardt
8fdabf68ed
One less compare
il y a 8 ans
Kurt Eckhardt
cf6bf5863a
Add A23 and A24 for T3.5 and T3.6 board
I added pins 49 and 50 as analog pins A23 and A24. I still left in the
special casing for pins 44 and 45 being used for Temp and analog
reference
il y a 8 ans
Kurt Eckhardt
eef956bb2d
Update Board Names
il y a 8 ans
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
il y a 8 ans
PaulStoffregen
0ed6ba9a96
Fix USB serial number on K64 & K66
il y a 8 ans
PaulStoffregen
ce27c4c50b
Add misc SDHC register bitfield defs
il y a 8 ans
Paul Stoffregen
9d48a9507d
Merge pull request #165 from Defragster/master
When concat is same string to string, use memcpy
il y a 8 ans
Defragster
00438a66ed
When concat is same string to string, use memcpy, allows for re-alloc to move string on growth
https://forum.pjrc.com/threads/35688-Something-wrong-with-Adding-a-String-to-itself!?p=111109#post111109
il y a 8 ans
Paul Stoffregen
823df112c5
Merge pull request #164 from KurtE/T35-T36-TLC-UART-2StopBits
Enable Uart 2 stop bit capabilities
il y a 8 ans
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.
il y a 8 ans
Paul Stoffregen
6fd523990e
Merge pull request #163 from KurtE/Board-names-changed
Beta Board names Change
il y a 8 ans
Kurt Eckhardt
a8c467f5e6
Fix Compile error for Teensy LC
il y a 8 ans
Kurt Eckhardt
1067caf0ba
Beta Board names Change
il y a 8 ans
Paul Stoffregen
1b6770959b
Merge pull request #162 from KurtE/Ser2/Ser4-fixes
Ser2 ser4 fixes
il y a 8 ans
Kurt Eckhardt
78189d6f15
Serial4.setTX - used wrong SIm_SCGC4 test
Was using UART2, should be UART3
il y a 8 ans
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
il y a 8 ans
PaulStoffregen
4d925d3a1c
Improve async sample rate feedback, add optional mac limit
il y a 8 ans
Paul Stoffregen
bc6e2a87f3
Merge pull request #160 from KurtE/SerialEvent6
Add serialEvent6 to yield
il y a 8 ans
Kurt Eckhardt
44027e2115
Add serialEvent6 to yield
il y a 8 ans
PaulStoffregen
12421ba5a9
Add new Arduino pin defines
il y a 8 ans
PaulStoffregen
731d9123f6
Keycode for Non-US backslash (thanks parsnip42)
fixes #159
il y a 8 ans
PaulStoffregen
d46a56a811
Fix USB audio feedback endpoint attributes
il y a 8 ans
Paul Stoffregen
7735f1dd8b
Merge pull request #158 from KurtE/T3.5-Beta-Serial6
T3 5 beta serial6
il y a 8 ans
Kurt Eckhardt
89d92016c1
Pass at serial6_format
il y a 8 ans
Paul Stoffregen
f315eb80f5
Merge pull request #155 from sumotoy/master
missed pin 26 in SPIFIFO
il y a 8 ans
Kurt Eckhardt
d2f9acc78c
Try using BITBAND to turn on/off TIE and TCIE
Make update of these flags be hopefully interrupt safe
il y a 8 ans
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)
il y a 8 ans
Paul Stoffregen
d69a3aa053
Merge pull request #157 from KurtE/SPI2-Support
T T3.4 T3.5 SPI2 support
il y a 8 ans
Kurt Eckhardt
c79a667e31
T T3.4 T3.5 SPI2 support
il y a 8 ans
PaulStoffregen
50c805926f
Improve flash security documentation
il y a 8 ans
sumotoy
892d07181d
missed pin 26
il y a 8 ans
Paul Stoffregen
2a7c289045
Merge pull request #154 from duff2013/master
trigger mode enable cmp register def
il y a 8 ans
duff2013
c5c14007bb
trigger mode enable cmp register def
il y a 8 ans
PaulStoffregen
88dce04d81
Add extra K66 pin defines
il y a 8 ans
Paul Stoffregen
42b873097e
Merge pull request #153 from KurtE/Serial2-SetTx/Rx-error
Serial2.setTx and Serial2.setRX should check Uart1
il y a 8 ans
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)
il y a 8 ans
PaulStoffregen
bb95e546fe
Increase startup delay slightly
il y a 8 ans
PaulStoffregen
aeff63583d
Document flash security locking technique
il y a 8 ans
PaulStoffregen
39d9fdc386
Fix compiler warnings with USB audio
il y a 8 ans
Paul Stoffregen
77411348a4
Merge pull request #152 from FrankBoesing/patch-1
fix SDHC_XFERTYP_RSPTYP
il y a 8 ans
Frank
61dce339b0
fix SDHC_XFERTYP_RSPTYP
il y a 8 ans
PaulStoffregen
de0677a6e0
Enable VREF on K66
fixes #145
il y a 8 ans
Paul Stoffregen
6002a8710c
Merge pull request #146 from KurtE/SPI1-defined
Spi1 defined
il y a 8 ans
Paul Stoffregen
3ab443fd1a
Merge pull request #151 from KurtE/PulseIn-LC
PulseIn on LC issue
il y a 8 ans
Kurt Eckhardt
eb97df1ffe
PulseIn on LC issue
PulseIn may fail on LC as it is using *reg to test the value for on or
off, but on LC register is a bitmask associated with several IO pins.
So split off for LC to use the MASK value for the pin to test high and
low.
Warning did not update timings for this, which may be necessary as adds
an & in the loop. However when I tried TLC for 5000us timeout, it timed
out with 5138us, if I decremented the PULSEIN_LOOPS_PER_USEC by one,
then it timed out at 4398... This was at 49mhz.
il y a 8 ans
PaulStoffregen
4b7151d0e0
Fix compiler warning with Keyboard.set_modifier
il y a 8 ans
Kurt Eckhardt
57be6914a5
Serial1 - New pins work with begin
il y a 8 ans
Kurt Eckhardt
94ce960eef
SPCR1 operations now defined
il y a 8 ans