aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/board_particle_xenon.go
diff options
context:
space:
mode:
authorRon Evans <[email protected]>2020-03-16 20:07:40 +0100
committerAyke <[email protected]>2020-03-18 12:08:15 +0100
commit9f597bbbc3204fb7185a6d4718f83c93f127fd49 (patch)
tree950b476c6c087290222e6e90df20bb50c760aaa8 /src/machine/board_particle_xenon.go
parentc03e3616a27fe094f9c06b1394c1ebae4476eaeb (diff)
downloadtinygo-9f597bbbc3204fb7185a6d4718f83c93f127fd49.tar.gz
tinygo-9f597bbbc3204fb7185a6d4718f83c93f127fd49.zip
machine/nrf52840: add correct USB VID and PID for all nrf52840 based boards
Signed-off-by: Ron Evans <[email protected]>
Diffstat (limited to 'src/machine/board_particle_xenon.go')
-rw-r--r--src/machine/board_particle_xenon.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/machine/board_particle_xenon.go b/src/machine/board_particle_xenon.go
index ffdc66324..014c087f6 100644
--- a/src/machine/board_particle_xenon.go
+++ b/src/machine/board_particle_xenon.go
@@ -83,3 +83,14 @@ const (
NFC1_PIN Pin = 9
NFC2_PIN Pin = 10
)
+
+// USB CDC identifiers
+const (
+ usb_STRING_PRODUCT = "Particle Xenon"
+ usb_STRING_MANUFACTURER = "Particle"
+)
+
+var (
+ usb_VID uint16 = 0x239A
+ usb_PID uint16 = 0x8029
+)