Yes, I know and there are some things better done in MTP-Teensy, but that is what progress is about and I'm happy that Paul, who kickstarted my interest in MTP, finally found some time to work on it to get rid of the experimental tag (@Paul: we...
MPT.loop() simply communicates with PC and handles USB-MTP-requests. Each call to MTP.loop() handles a single MTP request by PC.
Other USB requests by PC and Teensy (e.g. USB-Serial) are handled in parallel (transparently).
USB per se is...
run MTP.loop() in loop() (lowest priority) and if ADC is running on elevated priority then there is no issue, Anyhow, I, myself, only call MTP.loop() when ADC is stopped, or I'm not interested in captured data. MTP_teensy may run MTP.loop using...
I had an elusive problem show up after months of testing on three units in parallel. As luck would have it, only at a customer (Beta) test site. CPU halting, letting go of IO pins, and not resetting despite using watchdog timer(s).
Power...
That is a good point. Detecting disk removal/insertion is one aspect, but content management on responder (teensy) is another one. The original MTP version had the index file on the disk, so it was easy to synchronize index file with disk related...
OK,
the actual derived class (in common/ArduinoFiles.h) is
/**
* \class PrintFile
* \brief PrintFile class.
*/
template<class BaseFile>
class PrintFile : public print_t, public BaseFile {
public:
using BaseFile::clearWriteError;
using...
So, I get this warning (using Makefile and GCC 13.3.1 ) :
In file included from \Users\zimme\AppData\Local\Arduino15\packages\teensy/hardware/avr/0.60.2/cores/teensy4/Stream.h:24,
from...
figure out the interrupt level and check if more important task are processed at higher interrupt level. Interrupt level processing requires considerations of all other tasks. Also, ANY interrupt level processing will block main setup() and...
but a reprogramming and factory-reset button.
short press: reload program from PC (must be connected to Teensy)
15 s press: erase all flash and copy original blink program into correct flash position and restart
To shutdown Teensy connect...