mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 13:21:56 +00:00
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>
11 lines
170 B
Plaintext
11 lines
170 B
Plaintext
#
|
|
# Copyright (c) 2019 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
config USB_DEVICE_PID
|
|
default USB_PID_CDC_ACM_SAMPLE
|
|
|
|
source "Kconfig.zephyr"
|