From b063a2da3024a2e3175e1ba9b0a87cb6c7470765 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 20 Aug 2016 14:04:59 +0100 Subject: candlestick --- boot/usbdfu.c | 8 ++++---- boot/usbdfu.ld | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'boot') diff --git a/boot/usbdfu.c b/boot/usbdfu.c index 400fc7c..1898fc3 100644 --- a/boot/usbdfu.c +++ b/boot/usbdfu.c @@ -57,7 +57,7 @@ const struct usb_device_descriptor dev = { .bDeviceProtocol = 0, .bMaxPacketSize0 = 64, .idVendor = 0x1d6b, - .idProduct = 0x1932, + .idProduct = 0xcad5, .bcdDevice = 0x0200, .iManufacturer = 1, .iProduct = 2, @@ -111,9 +111,9 @@ const struct usb_config_descriptor config = { }; static const char *usb_strings[] = { - "bootpad", - "bootpad", - "bootpad", + "candlestick", + "candlestick", + "candlestick", /* This string is used by ST Microelectronics' DfuSe utility. */ "@Internal Flash /0x08000000/8*001Ka,56*001Kg", }; diff --git a/boot/usbdfu.ld b/boot/usbdfu.ld index 8680dc9..d8ea622 100644 --- a/boot/usbdfu.ld +++ b/boot/usbdfu.ld @@ -17,12 +17,10 @@ * along with this library. If not, see . */ -/* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */ - /* Define memory regions. */ MEMORY { - rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K + rom (rx) : ORIGIN = 0x08000000, LENGTH = 64K ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K } -- cgit v1.2.3