summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve_platform.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-08-23 22:37:16 +0200
committerUros Majstorovic <majstor@majstor.org>2020-08-23 22:37:16 +0200
commit1e5eb7cb910e6f23c69c2c986b6373e9f9abb980 (patch)
tree5e8ed0ad6b2fcba747c626c1c51afebbf76b3b9d /fw/fe310/eos/eve/eve_platform.h
parent57c1824affca858023c65c84e188ea7dc6c0a5f2 (diff)
dynamic memory alloc for gui added; page navigation added
Diffstat (limited to 'fw/fe310/eos/eve/eve_platform.h')
-rw-r--r--fw/fe310/eos/eve/eve_platform.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fw/fe310/eos/eve/eve_platform.h b/fw/fe310/eos/eve/eve_platform.h
index 41ec6b4..514c4ee 100644
--- a/fw/fe310/eos/eve/eve_platform.h
+++ b/fw/fe310/eos/eve/eve_platform.h
@@ -1,7 +1,7 @@
#include <stdint.h>
-#include "../spi.h"
-#include "../timer.h"
+#include "spi.h"
+#include "timer.h"
#define EVE_ETYPE_INTR 1
#define EVE_PIN_INTR 0
@@ -19,6 +19,9 @@
#define eve_spi_xchg24 eos_spi_xchg24
#define eve_spi_xchg32 eos_spi_xchg32
+#define eve_malloc malloc
+#define eve_free free
+
void eve_time_sleep(uint32_t ms);
void eve_timer_set(uint32_t ms);
void eve_timer_clear(void);