PaulStoffregen
e599c1acc7
Fix USB descriptors for Windows
4 years ago
PaulStoffregen
553538cebb
Add external memory allocation functions
4 years ago
PaulStoffregen
e207bcff0a
Add extmem_smalloc_pool for PSRAM on Teensy 4.1
4 years ago
PaulStoffregen
98eef46654
smalloc headers safe for C++
4 years ago
PaulStoffregen
37333a6779
Add smalloc from https://github.com/electrorys/smalloc
4 years ago
PaulStoffregen
ba177b0d22
Disable printf format warnings - too pedantic
4 years ago
PaulStoffregen
7a458043ea
Add experimental interface
4 years ago
Paul Stoffregen
4da51c16fd
Merge pull request #495 from WMXZ-EU/patch-1
Update DMAChannel.h
4 years ago
PaulStoffregen
914219ed98
Avoid isascii() & toascii() on Teensy 3.x too
4 years ago
PaulStoffregen
a8046bbbad
Avoid isascii() & toascii()
4 years ago
PaulStoffregen
ea276ee57a
Add _extram_start & _extram_end for Teensy 4.1
4 years ago
PaulStoffregen
f908f0b70d
Add comments to new map() implementation
4 years ago
PaulStoffregen
a2246a5a02
Don't use naked attribute on startup code
4 years ago
PaulStoffregen
92b126da26
Improve map() function
https://forum.pjrc.com/threads/63230-map()-returns-different-values-on-arduino-vs-teensy
4 years ago
PaulStoffregen
0bd7c42af1
Enable Serial.printf format warnings, fixes #485
4 years ago
PaulStoffregen
8d7efafde5
MicroMod support
4 years ago
PaulStoffregen
077f18e123
Allow programs to preserve HAB logged events without taking 8K from everyone
4 years ago
PaulStoffregen
dc56788048
Changes to support HAB (thanks dresden-fx)
4 years ago
WMXZ-EU
7118ab94af
Update DMAChannel.h
Allow specific interrupt level for DMA ISR.
4 years ago
PaulStoffregen
fa1c5a1bca
Add dummy DCD to IVT bootdata
4 years ago
PaulStoffregen
d2a8c6e0ff
Don't clobber HAB logfile in OCRAM
4 years ago
PaulStoffregen
08b835afb8
Update imxrt.h comments for latest reference manual
4 years ago
Paul Stoffregen
b1ba387580
Merge pull request #486 from KurtE/rawhid_cache_delete_size
Fix size of arm_dcache_flush_delte on T4.x USB RAWHID
4 years ago
Kurt Eckhardt
6de57f23e8
Fix size of arm_dcache_flush_delte on T4.x USB RAWHID
Was using SEREMU_TX_SIZE should use RAWHID_TX_SIZE
4 years ago
Paul Stoffregen
784bf775c8
Merge pull request #483 from jonbakke/patch-1
usb.c: ISR(USB_COM_vect): unused variable removed
4 years ago
jonbakke
18edc30616
usb.c: ISR(USB_COM_vect): unused variable removed
4 years ago
PaulStoffregen
d0d1177153
Fix AudioProcessorUsage() on Teensy LC
4 years ago
PaulStoffregen
b1ece93f8b
Default to using 44.1 kHz sample rate on Teensy LC
4 years ago
PaulStoffregen
9357593567
Fix USB BDT clear at startup on Teensy 3.x
https://forum.pjrc.com/threads/61410
4 years ago
PaulStoffregen
a7d9bac652
Fix compiler warning
4 years ago
PaulStoffregen
9c0f703625
Add digitalToggle support on Teensy 2.0
4 years ago
PaulStoffregen
2edf137d51
Add pin toggle defines for Teensy LC, 3.0, 3.1, 3.2
4 years ago
PaulStoffregen
ec13d5b31a
Remane addStorage to addMemory
4 years ago
PaulStoffregen
48d2f63b04
Fix compile error on Teensy 4.0
4 years ago
Paul Stoffregen
f57a0b9296
Merge pull request #479 from KurtE/T4x-digitalToggleFast
Add digitalToggleFast for T4.x...
4 years ago
Kurt Eckhardt
7785c42ace
Add digitalToggleFast for T4.x...
Like what was added for T3.x with that 3 yeard PR, I added the same support to T4.x
Added the PORT TOGGLE defines. I copied the _PORTSET blocks and then simply used block editing in Sublime text to then change the SET to Toggle.
Also added in the code...
Test sketch:
```
void setup() {
pinMode(13, OUTPUT);
}
int led = 13;
void loop() {
digitalToggleFast(led);
delay(500);
digitalToggleFast(13);
delay(250);
digitalToggle(13);
delay(1000);
digitalToggle(led);
delay(250);
}
```
Also added values to keywords.txt
4 years ago
Paul Stoffregen
d9f3766d7c
Merge pull request #221 from awesomenesser/master
Adds support for digital pin toggling digitalToggle(uint8_t pin)
4 years ago
PaulStoffregen
b7343056e1
Add comment with known usage of timers
4 years ago
PaulStoffregen
fdb45e3fe3
Add comment about known incompatibility with smaller audio block size
4 years ago
PaulStoffregen
232ace26ff
Fix numerical overflow in audio CPU usage measurement
https://forum.pjrc.com/threads/61412
4 years ago
PaulStoffregen
c9e3cc0dae
Add TRNG defines
4 years ago
Paul Stoffregen
cc025d05bd
Merge pull request #477 from KurtE/serialEventUSB1_serialEventUSB2
Fix/Add seralEventUSB1 and serialEventUSB2
4 years ago
Paul Stoffregen
c087b19215
Merge pull request #426 from KurtE/T4_HardwareSerial_Grab_from_fifo
T4-HardwareSerial - RX look at FIFO
4 years ago
PaulStoffregen
2f8568659c
Improve C++ STL support on Teensy 4.x
4 years ago
PaulStoffregen
607f4bd229
Add MIDIUSB.h compatibility for Teensy 4.0
4 years ago
PaulStoffregen
0db1c3b2da
Add include pgmspace.h compatability for Teensy 4.0
4 years ago
Kurt Eckhardt
9a54ab1fde
Fix/Add seralEventUSB1 and serialEventUSB2
The code for T3.x was broken, especially for USB2...
And the code was not setup for T4.x. So added it.
4 years ago
Paul Stoffregen
b1f56c7d54
Merge pull request #474 from KurtE/eventResponder_reduce_overhead
T4.x Reduce EventResponder overhead on systic and yield
4 years ago
Kurt Eckhardt
0bf9e0f55c
T4 HardwareSerial - Fix SerialEventX code
I forgot to remove the default eventhandlers from some of the HardwareSerial files as such the ones in the serialEventX files was not used and why my flags were not set properly.
Could have done simple fix, but decide to make it more consistent with what I did in T3.x/LC code and not look through all the NULLS, but simply have list of active ones and count of active.
Appears to fix the issue so far.
4 years ago
Kurt Eckhardt
2954ed6425
T3.x(LC) - yield and eventResponder speedups if not used
Code is setup that if there are no eventResponders that have registered to do interrupt calls, don't have the systic code in place to look for it.
Also yield code. Now figures out if the user has any code that installs their own serialEventX methods, to call them, but if they have left the default weak pointer versions, to not call them in yield. Likewise will only look for eventRespnder events if the sketch has actually attached any events. If none of these conditions are true, yield will just check one flag and return.
T3.x Serial events cleanup
4 years ago