summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve_platform.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-11-28 23:53:05 +0100
committerUros Majstorovic <majstor@majstor.org>2021-11-28 23:53:05 +0100
commitacce7d8e05ac38776d6340342f6a7868df4f7f28 (patch)
treec0e2f3934b82967e4c2aff4a3dfcc5802bc94232 /fw/fe310/eos/eve/eve_platform.h
parent0b0972ce96a59fb9b59c0b166e0174ba4d8dd198 (diff)
lcd driver added; fixed startup code;
Diffstat (limited to 'fw/fe310/eos/eve/eve_platform.h')
-rw-r--r--fw/fe310/eos/eve/eve_platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fw/fe310/eos/eve/eve_platform.h b/fw/fe310/eos/eve/eve_platform.h
index 83c1799..587e1cf 100644
--- a/fw/fe310/eos/eve/eve_platform.h
+++ b/fw/fe310/eos/eve/eve_platform.h
@@ -2,6 +2,7 @@
#include "spi.h"
#include "spi_dev.h"
+#include "power.h"
#include "timer.h"
#define EVE_ETYPE_INTR 1
@@ -11,6 +12,10 @@
#define EVE_SPI_FLAG_BSWAP EOS_SPI_FLAG_BSWAP
#define EVE_SPI_FLAG_TX EOS_SPI_FLAG_TX
+#define EVE_INIT_RST EOS_INIT_RST
+#define EVE_INIT_RTC EOS_INIT_RTC
+#define EVE_INIT_BTN EOS_INIT_BTN
+
void *eve_malloc(size_t);
void eve_free(void *);