app: set project name in welcome
This commit is contained in:
parent
ccd87b4342
commit
f8fe5c07e2
|
@ -378,7 +378,7 @@ void main(void)
|
||||||
usb_cdcacm_setup(); // setup USB CDC ACM (for printing)
|
usb_cdcacm_setup(); // setup USB CDC ACM (for printing)
|
||||||
OTG_FS_GCCFG |= OTG_GCCFG_NOVBUSSENS | OTG_GCCFG_PWRDWN; // disable VBUS sensing
|
OTG_FS_GCCFG |= OTG_GCCFG_NOVBUSSENS | OTG_GCCFG_PWRDWN; // disable VBUS sensing
|
||||||
OTG_FS_GCCFG &= ~(OTG_GCCFG_VBUSBSEN | OTG_GCCFG_VBUSASEN); // force USB device mode
|
OTG_FS_GCCFG &= ~(OTG_GCCFG_VBUSBSEN | OTG_GCCFG_VBUSASEN); // force USB device mode
|
||||||
puts("\nwelcome to the CuVoodoo STM32F4 example firmware\n"); // print welcome message
|
puts("\nwelcome to the CuVoodoo cap counter\n"); // print welcome message
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
// show reset cause
|
// show reset cause
|
||||||
|
|
|
@ -229,7 +229,7 @@ static char usb_serial[] = "0123456789ab";
|
||||||
*/
|
*/
|
||||||
static const char* usb_strings[] = {
|
static const char* usb_strings[] = {
|
||||||
"CuVoodoo", /**< manufacturer string */
|
"CuVoodoo", /**< manufacturer string */
|
||||||
"CuVoodoo STM32F4xx firmware", /**< product string */
|
"CuVoodoo cap counter", /**< 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