Merge branch 'ultra-usb-id'

copilot/add-multi-platform-rf-scan-exports
erikkaashoek 2 weeks ago
commit ffd75d8872

@ -1,3 +1,6 @@
V1.4273 2026-11-02 For all tinySA Ultra models
- The tinySA Ultra has its own USB IDs: VID 0x1781 PID 0x0A44 (was 0x0483 0x5740, the ST virtual COM port). Windows assigns a new COM port once, programs that look for the tinySA by its USB IDs need an update (tinySA-App accepts both)
V1.4270 2026-11-01 For all tinySA models
- Trigger lines can be dragged with the touch screen, in multi band mode the trigger line of each band (multi band Ultra only)
- The trigger LEVEL button shows the level in the selected unit instead of the dBm value

@ -30,6 +30,18 @@ SerialUSBDriver SDU1;
#define USBD1_DATA_AVAILABLE_EP 1
#define USBD1_INTERRUPT_REQUEST_EP 2
/*
* USB vendor and product ID: the tinySA ULTRA has its own, the tinySA keeps
* the ST virtual COM port pair.
*/
#ifdef TINYSA4
#define USB_VID 0x1781
#define USB_PID 0x0A44
#else
#define USB_VID 0x0483 /* ST */
#define USB_PID 0x5740
#endif
/*
* USB Device Descriptor.
*/
@ -41,8 +53,8 @@ static const uint8_t vcom_device_descriptor_data[18] = {
0x02, /* bDeviceSubClass (Common Class). */
0x01, /* bDeviceProtocol (IAD). */
0x40, /* bMaxPacketSize. */
0x0483, /* idVendor (ST). */
0x5740, /* idProduct. */
USB_VID, /* idVendor. */
USB_PID, /* idProduct. */
0x0201, /* bcdDevice, changed with the
composite layout so that Windows
selects the drivers again. */
@ -56,8 +68,8 @@ static const uint8_t vcom_device_descriptor_data[18] = {
0x00, /* bDeviceSubClass. */
0x00, /* bDeviceProtocol. */
0x40, /* bMaxPacketSize. */
0x0483, /* idVendor (ST). */
0x5740, /* idProduct. */
USB_VID, /* idVendor. */
USB_PID, /* idProduct. */
0x0200, /* bcdDevice. */
1, /* iManufacturer. */
2, /* iProduct. */

Loading…
Cancel
Save

Powered by TurnKey Linux.