summaryrefslogtreecommitdiff
path: root/code/fe310/eos/spi_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/spi_def.h')
-rw-r--r--code/fe310/eos/spi_def.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/code/fe310/eos/spi_def.h b/code/fe310/eos/spi_def.h
index c49a73b..e73b5e3 100644
--- a/code/fe310/eos/spi_def.h
+++ b/code/fe310/eos/spi_def.h
@@ -10,9 +10,10 @@
#define SPI_SIZE_CHUNK 4
#define SPI_SIZE_WM 2
-#define SPI_PIN_RTS 0
-#define SPI_PIN_CTS 23
-#define SPI_PIN_CS IOF_SPI1_SS0
+#define SPI_PIN_RTS 21
+#define SPI_PIN_CTS 22
+#define SPI_PIN_CS 10
+#define SPI_IDX_SS 3
#define SPI_FLAG_RDY 0x01
#define SPI_FLAG_RST 0x02