From 3dfc13a30a7262beb653dab6194480e0a9b76f11 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 10 Apr 2021 13:09:03 +0200 Subject: added gpio management --- fw/fe310/eos/board.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fw/fe310/eos/board.h') 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 -- cgit v1.2.3