You could always tie this code to an i/o pin.Why don't Teensys have seperate "boot" and "reset" buttons like newer ESP32 products?
I find that much more convenient than having to reset the device by the Teensy Loader.
void doReboot() {
SCB_AIRCR = 0x05FA0004;
}
Why would one _have_ to reset a board anyway? Power-cycling can be used to reset for instance.
The question could be put another way, do the ESP32 products _need_ a reset button? Resetting can be done programmatically, or with a watchdog timer. Why would one _have_ to reset a board anyway? Power-cycling can be used to reset for instance.
One datapoint is that its a known phenomenon that in electrically noisy environments reset lines can trigger spuriously - especially with internal pull-ups only.
Another example is the RPi Pico - doesn't have a reset button either, just BOOTSEL.
These are awful to use. ESP32 doesn't have PJRC clean bootloader and needs two in combo to get it usable at times (forgot CDC on boot) - depending on which of the many MCU variants.2 tiny pushbuttons could be crammed in