PaulStoffregen
1cf5d3bbef
Add soft pin config to AVR SPI emulation
6 years ago
PaulStoffregen
8f137ff3ff
Implement missing AVR SPI register emulation on Teensy 3.x
6 years ago
PaulStoffregen
d51854082b
Fix serail stall when too-fast baud rates attempted
7 years ago
Kurt Eckhardt
75686fe6ad
Anther changed need to support CS on 45
Changed needed to support pin 45 on C3.5/6 as it is CS5 which encodes as 0x20...
7 years ago
Kurt Eckhardt
8ce0b58c33
T3.5/6 - Has PCS5
As per liljaywalker member
Teensy 3.5/6 on Pin 45 have PCS5,
which the current Macro
SPI-PUSHR_PCS(n) will not work with.
7 years ago
PaulStoffregen
717916e64d
Fix SERIAL_8N2 mode on Teensy LC
7 years ago
PaulStoffregen
2f5d2979f5
Update sample Makefile
7 years ago
PaulStoffregen
6db7bb2073
Default abort() function - needed for Pozyx library
7 years ago
PaulStoffregen
a40c49c9ce
Fix typo
7 years ago
duff2013
94346adeac
TeensyLC does not have CMP1 and CMP2
7 years ago
crteensy
f8a71be463
Update kinetis.h
Add VREF_SC_MODE_LV constants
7 years ago
PaulStoffregen
4e180ad26e
Fix numerical rollover in audio memory management
7 years ago
PaulStoffregen
2d7cf7acdd
Fix systick when yield overridden
7 years ago
PaulStoffregen
07906c1091
Teensy LC doesn't support 9 bits on Serial2 & Serial3
7 years ago
PaulStoffregen
d5139195b4
Fix srandom
7 years ago
PaulStoffregen
96a7ab14dd
Opps, fix pgm_read_ptr_near & pgm_read_ptr_far
7 years ago
PaulStoffregen
d63777ac8a
Emulate AVR pgm_read_ptr() on 32 bit Teensy
7 years ago
PaulStoffregen
d2d4bfcfc1
Only define BYTE (ancient Arduino) if not conflicting with other headers
7 years ago
PaulStoffregen
97c8395f33
Add pgmspace.h (no avr prefix), for compatibility with some ESP8266 programs
7 years ago
PaulStoffregen
71740491ed
Fix IntervalTimer on Teensy LC
7 years ago
PaulStoffregen
a8ed95773a
Audio memory usage tracking for more than 255 blocks
7 years ago
PaulStoffregen
bf8b9137df
Fix AudioOutputUSB handling of null data
7 years ago
PaulStoffregen
e5006127db
Fix compiler warning, unused variable
7 years ago
PaulStoffregen
0792b03a85
Remove USB Serial.begin 2.5 second wait for connection
7 years ago
PaulStoffregen
70e7c62a7d
Add comment to HardwareSerial.h for editing SERIAL_9BIT_SUPPORT
7 years ago
Kurt Eckhardt
36958c5243
MillisTimer off by 2ms...
When you do a timer.begin(650) it actually triggered 652 ms from your current time. Did minimal update to see if delay time < 2 set to zero else decrement by 2...
7 years ago
Kurt Eckhardt
5638ec5417
MillisTimer - handle begin when active
Two issues:
if you called begin or begingRepeating while still in waiting queue, it would create circular state (code did not set state to waiting)
If you called begin on one in active list, it would first remove it from list, but did not update the timings for items left as the timing all rely on items before it
7 years ago
Kurt Eckhardt
a8f0ab474f
Event Responder - fix _ms when adding items
When the run time issue adds an item back in to the list, it adds the item at the appropriate time, however it does not decrease the time of the item after where it was to take in account how much time the new item will take before we that next item starts to process it's _ms time
7 years ago
Frank
4a0aebb783
end() never disables interrupts
attention, patch for KINETISK only
7 years ago
PaulStoffregen
5218b19603
Make EventResponder attach functions atomic
7 years ago
PaulStoffregen
c34cbcf074
Add priority levels to EventResponder
7 years ago
PaulStoffregen
8ee4381890
Reduce MillisTimer interrupt disable time
7 years ago
PaulStoffregen
8796d748b9
Remane repeat function MillisTimer to beginRepeating
7 years ago
PaulStoffregen
9b8892856f
Disable interrupts in MillisTimer critical sections
7 years ago
PaulStoffregen
07ac3cb4ea
Disable interrupts in EventResponder critical sections
7 years ago
PaulStoffregen
c9a8bb6379
EventResponder cosmetic internal name change for consistency
7 years ago
PaulStoffregen
84e8810ccd
Never run normal EventResponder function from interrupt context
7 years ago
PaulStoffregen
e77b120f7b
Use PendSV for EventResponder attachInterrupt
7 years ago
PaulStoffregen
ea70a67f44
Add a couple more EventResponder comments
7 years ago
PaulStoffregen
aa5e833b04
Fix EventResponder append to triggered list
7 years ago
PaulStoffregen
54d1f35ddf
Add EventResponder documentation (as comments)
7 years ago
PaulStoffregen
a587b3dd1e
MillisTimer - initial commit
7 years ago
PaulStoffregen
f0d263c540
EventResponder - initial commit
7 years ago
PaulStoffregen
1de7c7993d
clean up clang case
7 years ago
PaulStoffregen
24a7e39a8d
Avoid startup section overflow with pure-core or no optimize compile
7 years ago
PaulStoffregen
2b616722cc
Scale audio memory management with chip & block size
7 years ago
PaulStoffregen
392c93cb87
Fix analogReadAveraging with ADC1
7 years ago
PaulStoffregen
e35811cd41
Fix for C++14 delete operator
7 years ago
PaulStoffregen
7099935c0e
Update open source license info
7 years ago
PaulStoffregen
243f48ce7a
USB Serial.begin wait to 2.5 seconds (hopefully enough)
7 years ago