From 5950acfb05fb3e172fa5710f1cda6ab347f51f2f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 13 Nov 2014 17:39:18 +0000 Subject: leds --- boot/Makefile | 2 +- boot/usbdfu.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'boot') diff --git a/boot/Makefile b/boot/Makefile index 679662b..86d4d2c 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -28,5 +28,5 @@ OBJS = ${CSRCS:%.c=%.o} include ../Makefile.include -CFLAGS += -g +CFLAGS += -I.. diff --git a/boot/usbdfu.c b/boot/usbdfu.c index 33d48ec..b1d1b6d 100644 --- a/boot/usbdfu.c +++ b/boot/usbdfu.c @@ -25,6 +25,8 @@ #include #include +#include + #define APP_ADDRESS 0x08002000 /* Commands sent with wBlockNum == 0 as per ST implementation. */ @@ -56,7 +58,7 @@ const struct usb_device_descriptor dev = { .bDeviceProtocol = 0, .bMaxPacketSize0 = 64, .idVendor = 0x1d6b, - .idProduct = 0x0ee3, + .idProduct = ID_PRODUCT, .bcdDevice = 0x0200, .iManufacturer = 1, .iProduct = 2, -- cgit v1.2.3