diff options
author | Matt Baker <baker.matt.j@gmail.com> | 2019-11-21 08:54:20 -0800 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2019-11-21 11:54:20 -0500 |
commit | bab27651a1cda4897f307e9bd5198774f4efad45 (patch) | |
tree | 91aeb970907b8f56572f24d5617cc796bf223e13 /src/Kconfig | |
parent | b0a158c27118468beaecc185fb55fd457c764f5d (diff) | |
download | kutter-bab27651a1cda4897f307e9bd5198774f4efad45.tar.gz kutter-bab27651a1cda4897f307e9bd5198774f4efad45.tar.xz kutter-bab27651a1cda4897f307e9bd5198774f4efad45.zip |
lpc176x: read chip id and use as usb serial. (#2184)
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig index be6e7246..36cb7c12 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -50,6 +50,10 @@ config SERIAL_BAUD Specify the baud rate of the serial port. This should be set to 250000. Read the FAQ before changing this value. +config HAVE_CHIPID + bool + default n + # Generic configuration options for USB menu "USB ids" depends on USBSERIAL @@ -61,8 +65,12 @@ config USB_DEVICE_ID hex "USB device ID" default 0xabcd config USB_SERIAL_NUMBER - string "USB serial number" + string "USB serial number" if !USB_SERIAL_NUMBER_CHIPID default "12345" +config USB_SERIAL_NUMBER_CHIPID + depends on HAVE_CHIPID + bool "USB serial number from CHIPID" + default y endmenu |