USB CDC ACM: match serial to STM32 bootloader

This commit is contained in:
King Kévin 2020-11-27 16:41:19 +01:00
parent 31079d95dd
commit 777fd7afb9
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @file
* @author King Kévin <kingkevin@cuvoodoo.info>
* @copyright SPDX-License-Identifier: GPL-3.0-or-later
* @date 2016-2019
* @date 2016-2020
*/
/* standard libraries */
@ -222,14 +222,14 @@ static const struct usb_config_descriptor usb_cdcacm_configuration_descriptor =
};
/** device ID used as serial number */
static char usb_serial[] = "00112233445566778899aabb";
static char usb_serial[] = "0123456789ab";
/** USB string table
* @note starting with index 1
*/
static const char* usb_strings[] = {
"CuVoodoo", /**< manufacturer string */
"CuVoodoo STM32F1xx firmware", /**< product string */
"CuVoodoo STM32F4xx firmware", /**< product string */
(const char*)usb_serial, /**< device ID used as serial number */
"DFU bootloader (runtime mode)", /**< DFU interface string */
};