Leandro Lanzieri
afba3b1bd2
examples/usbus_minimal: Default to RIOT peripheral PID
2020-01-14 11:22:58 +01:00
Leandro Lanzieri
903909fa4e
examples/usbus_minimal: Add default Kconfig PID/VID values
2020-01-14 10:34:53 +01:00
Leandro Lanzieri
84c3676e36
examples/usb_minimal: Set PID/VID if Kconfig is not used
2020-01-14 10:34:53 +01:00
Leandro Lanzieri
15bd4897c1
usb: Move configuration macros to 'CONFIG_' namespace
...
Macros that changed:
USB_CONFIG_VID -> CONFIG_USB_VID
USB_CONFIG_PID -> CONFIG_USB_PID
USB_CONFIG_MANUF_STR -> CONFIG_USB_MANUF_STR
USB_CONFIG_PRODUCT_STR -> CONFIG_USB_PRODUCT_STR
USB_CONFIG_CONFIGURATION_STR -> CONFIG_USB_CONFIGURATION_STR
USB_CONFIG_PRODUCT_BCDVERSION -> CONFIG_USB_PRODUCT_BCDVERSION
USB_CONFIG_SPEC_BCDVERSION -> CONFIG_USB_SPEC_BCDVERSION
USB_CONFIG_SELF_POWERED -> CONFIG_USB_SELF_POWERED
USB_CONFIG_MAX_POWER -> CONFIG_USB_MAX_POWER
USB_CONFIG_DEFAULT_LANGID -> CONFIG_USB_DEFAULT_LANGID
2020-01-14 10:34:53 +01:00
Juan Carrano
8b88666f3d
tests,examples/usb: PID, VID warning only when building.
...
The warning issued when the PID and VID are set to the default values should
not be printed on `make clean` and other targets, only with `make all` and it
should be a proper target.
To do: replace shell echos with proper $(warning ..) calls.
2019-09-02 12:20:32 +02:00
8246b09f10
usbus_minimal: Adapt example to auto_init
2019-06-05 16:17:01 +02:00
537add6deb
USBUS: add minimal working example
2019-06-05 14:51:27 +02:00