diff --git a/src/platforms/f4discovery/platform.h b/src/platforms/f4discovery/platform.h index b19aa11..e7565f2 100644 --- a/src/platforms/f4discovery/platform.h +++ b/src/platforms/f4discovery/platform.h @@ -35,7 +35,7 @@ #define INLINE_GPIO #define CDCACM_PACKET_SIZE 64 #define PLATFORM_HAS_TRACESWO -#define BOARD_IDENT "Black Magic Probe (F4Discovery)" +#define BOARD_IDENT "Black Magic Probe (F4Discovery), (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")" #define DFU_IDENT "Black Magic Firmware Upgrade (F4Discovery" extern usbd_device *usbdev; diff --git a/src/platforms/native/platform.h b/src/platforms/native/platform.h index 4a0f273..de40927 100644 --- a/src/platforms/native/platform.h +++ b/src/platforms/native/platform.h @@ -35,7 +35,7 @@ #define INLINE_GPIO #define CDCACM_PACKET_SIZE 64 #define PLATFORM_HAS_TRACESWO -#define BOARD_IDENT "Black Magic Probe" +#define BOARD_IDENT "Black Magic Probe, (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")" #define DFU_IDENT "Black Magic Firmware Upgrade" extern usbd_device *usbdev; diff --git a/src/platforms/stlink/platform.h b/src/platforms/stlink/platform.h index a5eee6c..9b765fb 100644 --- a/src/platforms/stlink/platform.h +++ b/src/platforms/stlink/platform.h @@ -34,7 +34,7 @@ #define INLINE_GPIO #define CDCACM_PACKET_SIZE 64 -#define BOARD_IDENT "Black Magic Probe (STLINK)" +#define BOARD_IDENT "Black Magic Probe (STLINK), (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")" #define DFU_IDENT "Black Magic Firmware Upgrade (STLINK)" extern usbd_device *usbdev; diff --git a/src/platforms/stm32/usbdfu.c b/src/platforms/stm32/usbdfu.c index 212b88e..d2ae2a9 100644 --- a/src/platforms/stm32/usbdfu.c +++ b/src/platforms/stm32/usbdfu.c @@ -191,13 +191,13 @@ static char serial_no[9]; static const char *usb_strings[] = { "Black Sphere Technologies", #if defined(BLACKMAGIC) - "Black Magic Probe (Upgrade)", + "Black Magic Probe (Upgrade), (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")", #elif defined(DISCOVERY_STLINK) - "Black Magic (Upgrade) for STLink/Discovery", + "Black Magic (Upgrade) for STLink/Discovery, (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")", #elif defined(STM32_CAN) - "Black Magic (Upgrade) for STM32_CAN", + "Black Magic (Upgrade) for STM32_CAN, (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")", #elif defined(F4DISCOVERY) - "Black Magic (Upgrade) for F4Discovery", + "Black Magic (Upgrade) for F4Discovery, (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")", #else #warning "Unhandled board" #endif diff --git a/src/platforms/stm32_can/platform.h b/src/platforms/stm32_can/platform.h index 8b0d567..b91ddac 100644 --- a/src/platforms/stm32_can/platform.h +++ b/src/platforms/stm32_can/platform.h @@ -39,7 +39,7 @@ extern usbd_device *usbdev; #define CDCACM_GDB_ENDPOINT 1 #define CDCACM_UART_ENDPOINT 3 -#define BOARD_IDENT "Black Magic Probe (STM32_CAN)" +#define BOARD_IDENT "Black Magic Probe (STM32_CAN), (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")" #define DFU_IDENT "Black Magic Firmware Upgrade (STM32_CAN)" /* Important pin mappings for STM32 implementation: