rp2040: add usb settings

This commit is contained in:
sago35
2022-06-27 22:13:38 +09:00
committed by Ron Evans
parent 07049b87b6
commit 1766746c60
8 changed files with 48 additions and 0 deletions
+11
View File
@@ -64,3 +64,14 @@ const (
// Default Serial In Bus 1 for SPI communications
SPI1_SDI_PIN = GPIO12 // Rx
)
// USB identifiers
const (
usb_STRING_PRODUCT = "Pico"
usb_STRING_MANUFACTURER = "Raspberry Pi"
)
var (
usb_VID uint16 = 0x2E8A
usb_PID uint16 = 0x000A
)