From 45ffefd8a79598900ea288c726a29aa145d46bb2 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Tue, 27 Mar 2018 04:37:16 +0200 Subject: fixed wm param for spi; added cond compile for spi handlers in asm; refactored i2s --- code/fe310/eos/spi_def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 4c558fb..69ca168 100644 --- a/code/fe310/eos/spi_def.h +++ b/code/fe310/eos/spi_def.h @@ -6,8 +6,9 @@ #define SPI_MODE2 0x02 #define SPI_MODE3 0x03 +/* DO NOT TOUCH THEESE */ #define SPI_SIZE_CHUNK 4 -#define SPI_SIZE_WM 4 +#define SPI_SIZE_WM 2 #define SPI_PIN_RTS 0 // pin 8 #define SPI_PIN_CTS 23 // pin 7 -- cgit v1.2.3