summaryrefslogtreecommitdiffstats
path: root/radiator-plc/stm32/app/project.h
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2020-09-09 11:53:37 +0100
committerfishsoupisgood <github@madingley.org>2020-09-09 11:53:37 +0100
commit9d87c925a9eaa4fc256be3173c14a20d1469472d (patch)
tree50d63f87a47a0eac3f5b8058850184bcd4e6ee95 /radiator-plc/stm32/app/project.h
parentdafd8cf2fdcdd637cc06f760d318cf8391b1a294 (diff)
downloadheating-9d87c925a9eaa4fc256be3173c14a20d1469472d.tar.gz
heating-9d87c925a9eaa4fc256be3173c14a20d1469472d.tar.bz2
heating-9d87c925a9eaa4fc256be3173c14a20d1469472d.zip
everything, mostly, working
Diffstat (limited to 'radiator-plc/stm32/app/project.h')
-rw-r--r--radiator-plc/stm32/app/project.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/radiator-plc/stm32/app/project.h b/radiator-plc/stm32/app/project.h
new file mode 100644
index 0000000..85f14b9
--- /dev/null
+++ b/radiator-plc/stm32/app/project.h
@@ -0,0 +1,29 @@
+#include <stdlib.h>
+#include <string.h>
+#include <strings.h>
+#include <libopencm3/stm32/rcc.h>
+#include <libopencm3/stm32/gpio.h>
+#include <libopencm3/stm32/usart.h>
+#include <libopencm3/stm32/iwdg.h>
+#include <libopencm3/stm32/dma.h>
+#include <libopencm3/stm32/i2c.h>
+#include <libopencm3/cm3/systick.h>
+#include <libopencm3/cm3/nvic.h>
+#include <libopencm3/cm3/cortex.h>
+#include <libopencm3/cm3/scs.h>
+
+
+
+#include <stdio.h>
+#include <errno.h>
+
+#include "pins.h"
+#include "ring.h"
+#include "1wire.h"
+
+#include "prototypes.h"
+
+#define MEH do { printf("Z: %s:%d\r\n",__FUNCTION__,__LINE__); } while (0)
+
+#define CLOCK_HZ 72000000
+