zephyr/samples/subsys/usb/usb_pid.Kconfig
Marcin Szymczyk e5cbe6a9e7 usb: cdc: Add unique PIDs for each sample
Unique PID is required for each sample in order
to be recognized by host.

When creating a new sample:
- Add USB_PID_<SAMPLE_NAME>_SAMPLE
  in samples/subsys/usb/usb_pid.Kconfig
- Create Kconfig file in your sample's subdirectory, containing:
  config USB_DEVICE_PID
	default USB_PID_<SAMPLE_NAME>_SAMPLE

  source "Kconfig.zephyr"

Signed-off-by: Marcin Szymczyk <Marcin.Szymczyk@nordicsemi.no>
2019-05-09 08:20:34 -04:00

50 lines
662 B
Plaintext

#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
config USB_PID_CDC_ACM_SAMPLE
hex
default 0x0001
config USB_PID_CDC_ACM_COMPOSITE_SAMPLE
hex
default 0x0002
config USB_PID_HID_CDC_SAMPLE
hex
default 0x0003
config USB_PID_CONSOLE_SAMPLE
hex
default 0x0004
config USB_PID_DFU_SAMPLE
hex
default 0x0005
config USB_PID_HID_SAMPLE
hex
default 0x0006
config USB_PID_HID_MOUSE_SAMPLE
hex
default 0x0007
config USB_PID_MASS_SAMPLE
hex
default 0x0008
config USB_PID_TESTUSB_SAMPLE
hex
default 0x0009
config USB_PID_WEBUSB_SAMPLE
hex
default 0x000A
config USB_PID_BLE_HCI_SAMPLE
hex
default 0x000B