samples: wpanusb: assign next free sample PID

Assign next free sample PID to wpanusb sample.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
This commit is contained in:
Johann Fischer 2020-05-25 16:22:55 +02:00 committed by Carles Cufí
parent 2710c188ad
commit 3ce80c4d7a
4 changed files with 12 additions and 3 deletions

View file

@ -0,0 +1,7 @@
# Copyright (c) 2020 PHYTEC Messtechnik GmbH
# SPDX-License-Identifier: Apache-2.0
config USB_DEVICE_PID
default USB_PID_WPANUSB_SAMPLE
source "Kconfig.zephyr"

View file

@ -58,7 +58,7 @@ When connected to Linux with wpanusb kernel driver, it is recognized as:
...
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=2fe3 ProdID=0101 Rev=01.00
P: Vendor=2fe3 ProdID=000d Rev=01.00
C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=wpanusb
...

View file

@ -1,5 +1,3 @@
CONFIG_USB_DEVICE_PID=0x101
CONFIG_GPIO=y
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y

View file

@ -48,3 +48,7 @@ config USB_PID_BLE_HCI_SAMPLE
config USB_PID_BLE_HCI_H4_SAMPLE
hex
default 0x000C
config USB_PID_WPANUSB_SAMPLE
hex
default 0x000D