usbserial: Allow USB ids to be specified via Kconfig
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
16
src/Kconfig
16
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"
|
||||
|
||||
Reference in New Issue
Block a user