summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/usbdfu.c8
-rw-r--r--boot/usbdfu.ld4
2 files changed, 5 insertions, 7 deletions
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 <http://www.gnu.org/licenses/>.
*/
-/* 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
}