machine/usb: set the vid and pid to valid values supplied by Adafruit and Arduino for boards that support USB CDC

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2020-01-28 23:31:35 +01:00
committed by Ayke
parent fbb8efd24c
commit 0312f12696
11 changed files with 111 additions and 6 deletions
+11
View File
@@ -93,3 +93,14 @@ const (
I2S_SD_PIN = PA08
I2S_WS_PIN = NoPin // TODO: figure out what this is on Trinket M0.
)
// USB CDC identifiers
const (
usb_STRING_PRODUCT = "Trinket M0"
usb_STRING_MANUFACTURER = "Adafruit"
)
var (
usb_VID uint16 = 0x239A
usb_PID uint16 = 0x801E
)