1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

usb Kconfig: Provide explicit defaults

See-Also: https://github.com/RIOT-OS/RIOT/pull/13382#discussion_r380506106
This commit is contained in:
chrysn 2020-02-18 09:57:04 +01:00
parent fbd7b66f33
commit 85d7042732
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@ else
endif
# Exported for the benefit of Kconfig
export USB_VID_TESTING = 1209
export USB_PID_TESTING = 7D01
USB_VID_TESTING = 1209
USB_PID_TESTING = 7D01
usb_id_check:
@if grep --quiet --ignore-case "^$(USB_VID) $(USB_PID)$$" $(RIOTBASE)/dist/usb_id_testing; then \
$(COLOR_ECHO) "$(COLOR_RED)Private testing pid.codes USB VID/PID used!, do not use it outside of test environments!$(COLOR_RESET)" 1>&2 ; \

View File

@ -45,14 +45,14 @@ endchoice
config USB_PID
hex "Product ID"
range 0x0000 0xFFFF
default 0x$(USB_PID_TESTING)
default 0x7D01
help
You must provide your own PID.
config USB_VID
hex "Vendor ID"
range 0x0000 0xFFFF
default 0x$(USB_VID_TESTING)
default 0x1209
help
You must provide your own VID.