USB CDC ACM: match serial to STM32 bootloader
This commit is contained in:
parent
31079d95dd
commit
777fd7afb9
|
@ -2,7 +2,7 @@
|
||||||
* @file
|
* @file
|
||||||
* @author King Kévin <kingkevin@cuvoodoo.info>
|
* @author King Kévin <kingkevin@cuvoodoo.info>
|
||||||
* @copyright SPDX-License-Identifier: GPL-3.0-or-later
|
* @copyright SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
* @date 2016-2019
|
* @date 2016-2020
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* standard libraries */
|
/* standard libraries */
|
||||||
|
@ -222,14 +222,14 @@ static const struct usb_config_descriptor usb_cdcacm_configuration_descriptor =
|
||||||
};
|
};
|
||||||
|
|
||||||
/** device ID used as serial number */
|
/** device ID used as serial number */
|
||||||
static char usb_serial[] = "00112233445566778899aabb";
|
static char usb_serial[] = "0123456789ab";
|
||||||
|
|
||||||
/** USB string table
|
/** USB string table
|
||||||
* @note starting with index 1
|
* @note starting with index 1
|
||||||
*/
|
*/
|
||||||
static const char* usb_strings[] = {
|
static const char* usb_strings[] = {
|
||||||
"CuVoodoo", /**< manufacturer string */
|
"CuVoodoo", /**< manufacturer string */
|
||||||
"CuVoodoo STM32F1xx firmware", /**< product string */
|
"CuVoodoo STM32F4xx firmware", /**< product string */
|
||||||
(const char*)usb_serial, /**< device ID used as serial number */
|
(const char*)usb_serial, /**< device ID used as serial number */
|
||||||
"DFU bootloader (runtime mode)", /**< DFU interface string */
|
"DFU bootloader (runtime mode)", /**< DFU interface string */
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue