mborgerson
Well-known member
I'm working on the development of a USB Serial Bus Test and Measurement Class (USBTMC) device as a way for a T41 Host to have one or more other Teensies as data collection devices which send their data to the host for analysis, display, and storage. The USBTMC interface is fairly simple: a control interface and one each of USB Bulk IN and Bulk OUT interfaces. I modified usb_desc.h to add a simple interface with just the minimum USBTMC interface as described.
However, on compilation of a basic blink program with the new interface, it fails with an error that indicates "Serial was not declared" and the error originates in the core Print.cpp file. If I compile with other USB interfaces, such as joystick, mouse, etc., the program compiles successfully.
If I add the USBTMC interface in place of Sertial2 in the USB Dual Serial interface, the blink program compiles properly.
I wanted to use only the USBTMC interface to simplify the descriptors required for the device, as adding a CDC interface greatly complicates the descriptors I have to sort through when enumerating and claiming the device at the host driver level.
My initial guess is that every Teensy device has to have either a SEREMU or CDC interface so that the boot loader can connect over USB.
However, on compilation of a basic blink program with the new interface, it fails with an error that indicates "Serial was not declared" and the error originates in the core Print.cpp file. If I compile with other USB interfaces, such as joystick, mouse, etc., the program compiles successfully.
If I add the USBTMC interface in place of Sertial2 in the USB Dual Serial interface, the blink program compiles properly.
I wanted to use only the USBTMC interface to simplify the descriptors required for the device, as adding a CDC interface greatly complicates the descriptors I have to sort through when enumerating and claiming the device at the host driver level.
My initial guess is that every Teensy device has to have either a SEREMU or CDC interface so that the boot loader can connect over USB.