PaulStoffregen
e599c1acc7
Fix USB descriptors for Windows
vor 4 Jahren
PaulStoffregen
553538cebb
Add external memory allocation functions
vor 4 Jahren
PaulStoffregen
e207bcff0a
Add extmem_smalloc_pool for PSRAM on Teensy 4.1
vor 4 Jahren
PaulStoffregen
98eef46654
smalloc headers safe for C++
vor 4 Jahren
PaulStoffregen
37333a6779
Add smalloc from https://github.com/electrorys/smalloc
vor 4 Jahren
PaulStoffregen
ba177b0d22
Disable printf format warnings - too pedantic
vor 4 Jahren
PaulStoffregen
7a458043ea
Add experimental interface
vor 4 Jahren
Paul Stoffregen
4da51c16fd
Merge pull request #495 from WMXZ-EU/patch-1
Update DMAChannel.h
vor 4 Jahren
PaulStoffregen
914219ed98
Avoid isascii() & toascii() on Teensy 3.x too
vor 4 Jahren
PaulStoffregen
a8046bbbad
Avoid isascii() & toascii()
vor 4 Jahren
PaulStoffregen
ea276ee57a
Add _extram_start & _extram_end for Teensy 4.1
vor 4 Jahren
PaulStoffregen
f908f0b70d
Add comments to new map() implementation
vor 4 Jahren
PaulStoffregen
a2246a5a02
Don't use naked attribute on startup code
vor 4 Jahren
PaulStoffregen
92b126da26
Improve map() function
https://forum.pjrc.com/threads/63230-map()-returns-different-values-on-arduino-vs-teensy
vor 4 Jahren
PaulStoffregen
0bd7c42af1
Enable Serial.printf format warnings, fixes #485
vor 4 Jahren
PaulStoffregen
8d7efafde5
MicroMod support
vor 4 Jahren
PaulStoffregen
077f18e123
Allow programs to preserve HAB logged events without taking 8K from everyone
vor 4 Jahren
PaulStoffregen
dc56788048
Changes to support HAB (thanks dresden-fx)
vor 4 Jahren
WMXZ-EU
7118ab94af
Update DMAChannel.h
Allow specific interrupt level for DMA ISR.
vor 4 Jahren
PaulStoffregen
fa1c5a1bca
Add dummy DCD to IVT bootdata
vor 4 Jahren
PaulStoffregen
d2a8c6e0ff
Don't clobber HAB logfile in OCRAM
vor 4 Jahren
PaulStoffregen
08b835afb8
Update imxrt.h comments for latest reference manual
vor 4 Jahren
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
vor 4 Jahren
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
vor 4 Jahren
Paul Stoffregen
784bf775c8
Merge pull request #483 from jonbakke/patch-1
usb.c: ISR(USB_COM_vect): unused variable removed
vor 4 Jahren
jonbakke
18edc30616
usb.c: ISR(USB_COM_vect): unused variable removed
vor 4 Jahren
PaulStoffregen
d0d1177153
Fix AudioProcessorUsage() on Teensy LC
vor 4 Jahren
PaulStoffregen
b1ece93f8b
Default to using 44.1 kHz sample rate on Teensy LC
vor 4 Jahren
PaulStoffregen
9357593567
Fix USB BDT clear at startup on Teensy 3.x
https://forum.pjrc.com/threads/61410
vor 4 Jahren
PaulStoffregen
a7d9bac652
Fix compiler warning
vor 4 Jahren
PaulStoffregen
9c0f703625
Add digitalToggle support on Teensy 2.0
vor 4 Jahren
PaulStoffregen
2edf137d51
Add pin toggle defines for Teensy LC, 3.0, 3.1, 3.2
vor 4 Jahren
PaulStoffregen
ec13d5b31a
Remane addStorage to addMemory
vor 4 Jahren
PaulStoffregen
48d2f63b04
Fix compile error on Teensy 4.0
vor 4 Jahren
Paul Stoffregen
f57a0b9296
Merge pull request #479 from KurtE/T4x-digitalToggleFast
Add digitalToggleFast for T4.x...
vor 4 Jahren
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
vor 4 Jahren
Paul Stoffregen
d9f3766d7c
Merge pull request #221 from awesomenesser/master
Adds support for digital pin toggling digitalToggle(uint8_t pin)
vor 4 Jahren
PaulStoffregen
b7343056e1
Add comment with known usage of timers
vor 4 Jahren
PaulStoffregen
fdb45e3fe3
Add comment about known incompatibility with smaller audio block size
vor 4 Jahren
PaulStoffregen
232ace26ff
Fix numerical overflow in audio CPU usage measurement
https://forum.pjrc.com/threads/61412
vor 4 Jahren
PaulStoffregen
c9e3cc0dae
Add TRNG defines
vor 4 Jahren
Paul Stoffregen
cc025d05bd
Merge pull request #477 from KurtE/serialEventUSB1_serialEventUSB2
Fix/Add seralEventUSB1 and serialEventUSB2
vor 4 Jahren
Paul Stoffregen
c087b19215
Merge pull request #426 from KurtE/T4_HardwareSerial_Grab_from_fifo
T4-HardwareSerial - RX look at FIFO
vor 4 Jahren
PaulStoffregen
2f8568659c
Improve C++ STL support on Teensy 4.x
vor 4 Jahren
PaulStoffregen
607f4bd229
Add MIDIUSB.h compatibility for Teensy 4.0
vor 4 Jahren
PaulStoffregen
0db1c3b2da
Add include pgmspace.h compatability for Teensy 4.0
vor 4 Jahren
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.
vor 4 Jahren
Paul Stoffregen
b1f56c7d54
Merge pull request #474 from KurtE/eventResponder_reduce_overhead
T4.x Reduce EventResponder overhead on systic and yield
vor 4 Jahren
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.
vor 4 Jahren
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
vor 4 Jahren