summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/board.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-11-25 01:59:07 +0100
committerUros Majstorovic <majstor@majstor.org>2021-11-25 01:59:07 +0100
commit6a31936e80ae2743376dcbf9d39cd92461c4deca (patch)
treef6dedd2cbf3aee9bb8135c7a4ff874c066a6d072 /fw/fe310/eos/board.h
parentc44897fda572cf8837b4535a6d1aaad4605c14af (diff)
i2s init/start/running fixed; i2c start returns error if i2s is running
Diffstat (limited to 'fw/fe310/eos/board.h')
-rw-r--r--fw/fe310/eos/board.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fw/fe310/eos/board.h b/fw/fe310/eos/board.h
index 611751b..b92d500 100644
--- a/fw/fe310/eos/board.h
+++ b/fw/fe310/eos/board.h
@@ -1,6 +1,5 @@
#define SPI_DIV_NET 16
#define SPI_DIV_EVE 4
-#define SPI_DIV_EVE_SLOW 16
#define SPI_DIV_SDC 1024
#define SPI_DIV_CAM 24
@@ -14,7 +13,7 @@
#define SPI_CSPIN_SDC 0
#define SPI_CSPIN_CAM SPI_CSPIN_NONE
-#define SPI_IOF_MASK_CS (((uint32_t)1 << IOF_SPI1_SS0) | ((uint32_t)1 << IOF_SPI1_SS3))
+#define SPI_IOF_MASK_CS (((uint32_t)1 << IOF_SPI1_SS0) | ((uint32_t)1 << IOF_SPI1_SS2) | ((uint32_t)1 << IOF_SPI1_SS3))
#define NET_PIN_RTS 20
#define NET_PIN_CTS 22
@@ -41,5 +40,6 @@
#define EVE_GPIO_DIR 0xf
#define EVE_GPIO_CAM 0
-#define EVE_GPIO_EXT 1
-#define EVE_GPIO_MOTOR 3
+#define EVE_GPIO_DISP_EN 1
+#define EVE_GPIO_GAIN_SEL 2
+#define EVE_GPIO_HAPT 3