From a67f35abdb7ef55c062c26251b7354d9968d385b Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 29 Jul 2018 10:03:46 +0200 Subject: pin numbers fixed --- code/fe310/eos/spi_def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'code/fe310/eos/spi_def.h') diff --git a/code/fe310/eos/spi_def.h b/code/fe310/eos/spi_def.h index 69ca168..1f63d38 100644 --- a/code/fe310/eos/spi_def.h +++ b/code/fe310/eos/spi_def.h @@ -12,6 +12,7 @@ #define SPI_PIN_RTS 0 // pin 8 #define SPI_PIN_CTS 23 // pin 7 +#define SPI_PIN_CS IOF_SPI1_SS0 // pin 10 #define SPI_FLAG_RDY 0x01 #define SPI_FLAG_RST 0x02 -- cgit v1.2.3