diff options
author | root <root@lamia.panaceas.james.local> | 2016-08-20 14:04:59 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2016-08-20 14:04:59 +0100 |
commit | b063a2da3024a2e3175e1ba9b0a87cb6c7470765 (patch) | |
tree | f5c90c4119b091876a3f53acf4e581316eec4926 /boot | |
parent | bc832d6d342922a828aebb997d1d9c6626898487 (diff) | |
download | candlestick-b063a2da3024a2e3175e1ba9b0a87cb6c7470765.tar.gz candlestick-b063a2da3024a2e3175e1ba9b0a87cb6c7470765.tar.bz2 candlestick-b063a2da3024a2e3175e1ba9b0a87cb6c7470765.zip |
candlestick
Diffstat (limited to 'boot')
-rw-r--r-- | boot/usbdfu.c | 8 | ||||
-rw-r--r-- | boot/usbdfu.ld | 4 |
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 } |