summaryrefslogtreecommitdiffstats
path: root/app/project.h
diff options
context:
space:
mode:
authorroot <root@lab.ourano.james.local>2021-02-26 12:12:38 +0000
committerroot <root@lab.ourano.james.local>2021-02-26 12:12:38 +0000
commit3d48137c00511b3f2d35511482d1a76f8d06382d (patch)
treed75c88220cc847007869b0795a240c5077948262 /app/project.h
parent6d3a824e1cdae6e28146b7de380724b49488f3c2 (diff)
downloadclock-3d48137c00511b3f2d35511482d1a76f8d06382d.tar.gz
clock-3d48137c00511b3f2d35511482d1a76f8d06382d.tar.bz2
clock-3d48137c00511b3f2d35511482d1a76f8d06382d.zip
works
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;
+
+