Paul Stoffregen
3ede33c0b2
Merge pull request #256 from duff2013/master
TeensyLC does not have CMP1 and CMP2
7 years ago
duff2013
94346adeac
TeensyLC does not have CMP1 and CMP2
7 years ago
Paul Stoffregen
924b3ec3d9
Merge pull request #255 from crteensy/patch-1
Update kinetis.h
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
dba739077b
Stream find functions const pointers are Teensy 2.0
7 years ago
PaulStoffregen
bc36bfebdd
Update Print on Teensy 2.0 & Teensy++ 2.0
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
Paul Stoffregen
c36297726a
Merge pull request #252 from KurtE/MillisTimer_fix_timings
Event Responder - fix _ms when adding items
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
Paul Stoffregen
632f311db1
Merge pull request #250 from FrankBoesing/patch-9
end() never disables interrupts
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
6d54d5eac3
Keywords use LITERAL1, not LITERAL2
7 years ago
PaulStoffregen
5932ae8c6c
Add EventResponder & MillisTimer keywords
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
PaulStoffregen
57d3c69a6b
Update comment
7 years ago