If your Teensy is already in bootloader mode you can read out the USB-HID usage constant with (probably) any HID library. The HID-Usage then defines the Board. See here for a list...
Hi,
I have a custom program that knocks Teensy 4.1 into bootloader mode then programs it from a hex file.
Is there a way to detect which teensy I am connected to while in the bootloader?
There is a chance people will try to use it to program a...