summaryrefslogtreecommitdiffstats
path: root/app/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/project.h')
-rw-r--r--app/project.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/app/project.h b/app/project.h
index 5785628..ca623de 100644
--- a/app/project.h
+++ b/app/project.h
@@ -27,14 +27,16 @@
#include <libopencm3/stm32/syscfg.h>
#include <libopencm3/stm32/otg_common.h>
#include <libopencm3/stm32/otg_fs.h>
+#include <libopencm3/stm32/desig.h>
/* Drivers */
#include <libopencm3/ethernet/mac_stm32fxx7.h>
#include <libopencm3/ethernet/phy.h>
#include <libopencm3/usb/usbd.h>
#include <libopencm3/usb/cdc.h>
-#ifdef INCLUDE_DFU_INTERFACE
#include <libopencm3/usb/dfu.h>
-#endif
+
+#include "id.h"
+
@@ -44,7 +46,7 @@
#include <lwip/mem.h>
#include <lwip/memp.h>
#include <lwip/timers.h>
-#include <lwip/timers.h>
+#include <lwip/dhcp.h>
#include <netif/etharp.h>
#include "time_fn.h"
@@ -84,5 +86,6 @@
extern const unsigned char almanac_alp[];
extern unsigned int almanac_alp_len;
-#define ID_VENDOR 0x0483
-#define ID_PRODUCT 0x5740
+extern uint32_t dfu_flag;
+
+