It certainly got interesting but from a hardware perspective on the processor the two ports are identical so it is possible. It's mainly a case of working around the assumptions in the teensy libraries.
The final implimentation is mixed in with...
One solution we have used is to hack the libraries and configure the USB host port to instead be a second USB device. That then made for an easy connection to a nice solid PCB mounted socket. This had the added advantage (for us, maybe not for...
Switching the USB pins between the two ports is probably the easiest way to do things. Depending on the selected mode you switch the external port between the two Teensy ports.
USB2 signals are fairly forgiving, I've used a TMUX1574DYY to swap...
Not what you want to do directly but it is possible to have teensy firmware that upgrades itself with code off an SD card.
So you could have an SD card with a large collection of different firmware modules / operating modes, on power up the...
I agree this probably isn't productive for anyone, but for now I'm going to allow this thread to continue.
However, I'm absolutely drawing the line at creating more duplicate threads promoting Adafruit's new competitive product or RP2350...
The irony of someone with an account less than a week old, which was specifically created to announce a competitor to PJRC's products on their own forum, complaining about new accounts being used to "dunk" on them...
To expand on jmasrh's comment - Have you checked through the code looking for any potential memory leaks?
Anything allocated using malloc or new should be released using free or delete.
If you call either of those and then either the variable...
Yes. You are using a 32 bit processor. The compiler will generally align all variables to a 32 bit bounaries unless you explicitly force it not to. Anything from 9 to 12 bytes of memory will generally take up 12 bytes. This will include items...