summaryrefslogtreecommitdiffstats
path: root/app/project.h
diff options
context:
space:
mode:
authorroot <root@new-selene.erebei.org>2015-12-01 02:10:53 +0000
committerroot <root@new-selene.erebei.org>2015-12-01 02:10:53 +0000
commitb55240eb43a92c552003b8b324a385e041f84f12 (patch)
treeab932136ecfaa42e1e417e0253aebcc5b5f178aa /app/project.h
parent061430973e82995368d27ff9081391f9475da3c7 (diff)
downloadcandlestick-b55240eb43a92c552003b8b324a385e041f84f12.tar.gz
candlestick-b55240eb43a92c552003b8b324a385e041f84f12.tar.bz2
candlestick-b55240eb43a92c552003b8b324a385e041f84f12.zip
fish
Diffstat (limited to 'app/project.h')
-rw-r--r--app/project.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/project.h b/app/project.h
index 19bb5b2..3b34853 100644
--- a/app/project.h
+++ b/app/project.h
@@ -1,7 +1,10 @@
#include <stdlib.h>
#include <libopencm3/stm32/rcc.h>
+#include <libopencm3/stm32/pwr.h>
+#include <libopencm3/stm32/f1/bkp.h>
#include <libopencm3/stm32/flash.h>
#include <libopencm3/stm32/gpio.h>
+#include <libopencm3/stm32/adc.h>
#include <libopencm3/stm32/usart.h>
#include <libopencm3/stm32/usb.h>
#include <libopencm3/cm3/systick.h>
@@ -20,7 +23,14 @@
#include <errno.h>
+#ifndef SLIM
#include "i2c.h"
+#endif
+#define RETENTION_TIME 10000
+
+#ifndef USB_REQ_TYPE_OUT
+#define USB_REQ_TYPE_OUT 0x0
+#endif
#include "prototypes.h"