summaryrefslogtreecommitdiff
path: root/fw
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-04-10 13:09:03 +0200
committerUros Majstorovic <majstor@majstor.org>2021-04-10 13:09:03 +0200
commit3dfc13a30a7262beb653dab6194480e0a9b76f11 (patch)
tree4bac456aa523ec7b55bc151265d5e28af6276acb /fw
parent09ec728b88499f7d6553432c2655954ec4788e16 (diff)
added gpio management
Diffstat (limited to 'fw')
-rw-r--r--fw/fe310/eos/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fw/fe310/eos/board.h b/fw/fe310/eos/board.h
index 1299bb6..787828e 100644
--- a/fw/fe310/eos/board.h
+++ b/fw/fe310/eos/board.h
@@ -34,3 +34,9 @@
#define I2S_CTRL_ADDR_WS_SPK PWM2_CTRL_ADDR
#define I2S_IDLE_CYCLES 8
+
+#define EVE_GPIO_DIR 0x0f
+
+#define EVE_GPIO_CAM 0
+#define EVE_GPIO_EXT 1
+#define EVE_GPIO_MOTOR 3