diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-01-25 19:02:01 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-01-25 19:04:14 -0500 |
commit | 932acd3048f7b171d5dc7829fcbcea63b5cc1bea (patch) | |
tree | 1db78de166d6f728b3c30cdfe8b506ddc705e804 /src/Kconfig | |
parent | 1ad1ed573a8b68a0554a73615f80dd37655f401e (diff) | |
download | kutter-932acd3048f7b171d5dc7829fcbcea63b5cc1bea.tar.gz kutter-932acd3048f7b171d5dc7829fcbcea63b5cc1bea.tar.xz kutter-932acd3048f7b171d5dc7829fcbcea63b5cc1bea.zip |
usbserial: Allow USB ids to be specified via Kconfig
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index f667dae4..6f98b8c8 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -47,6 +47,22 @@ config SERIAL_BAUD Specify the baud rate of the serial port. This should be set to 250000. Read the FAQ before changing this value. +# Generic configuration options for USB +menu "USB ids" + depends on USBSERIAL + +config USB_VENDOR_ID + hex "USB vendor ID" + default 0x2341 +config USB_DEVICE_ID + hex "USB device ID" + default 0xabcd +config USB_SERIAL_NUMBER + string "USB serial number" + default "12345" + +endmenu + # Step timing customization config CUSTOM_STEP_DELAY bool "Specify a custom step pulse duration" |