diff options
author | Uros Majstorovic <majstor@majstor.org> | 2018-01-17 07:45:32 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2018-01-17 07:45:32 +0100 |
commit | 97a7e6617f8ad06b7bff495603200b853766ecc8 (patch) | |
tree | 9e8a4aaa5b3ef366c595595871db43eae2facdc2 /code/fe310/eos/spi.h | |
parent | 01c3e3af2394f863323b846fa304ff7e0a30e9df (diff) |
basic test for eos & fe310 passed
Diffstat (limited to 'code/fe310/eos/spi.h')
-rw-r--r-- | code/fe310/eos/spi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/spi.h b/code/fe310/eos/spi.h index 88e54bb..7e281b8 100644 --- a/code/fe310/eos/spi.h +++ b/code/fe310/eos/spi.h @@ -11,8 +11,8 @@ #define SPI_SIZE_BUF 1500 #define SPI_SIZE_CHUNK 4 #define SPI_SIZE_BUFQ 4 -#define SPI_GPIO_CTS_OFFSET PIN_2_OFFSET -#define SPI_GPIO_RTS_OFFSET PIN_3_OFFSET +#define SPI_GPIO_RTS_OFFSET PIN_8_OFFSET +#define SPI_GPIO_CTS_OFFSET PIN_7_OFFSET #define SPI_IOF_MASK (((uint32_t)1 << IOF_SPI1_SCK) | ((uint32_t)1 << IOF_SPI1_MOSI) | ((uint32_t)1 << IOF_SPI1_MISO)) typedef struct SPIBuffer { |