diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-04-08 21:30:12 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-04-08 21:30:12 +0200 |
commit | fc7c7130fee73c5aad2d7a774d5a7712eb3e8e6a (patch) | |
tree | f4ecb67c0594abfcca6d62cbc8c35895babf0d8d /fw/fe310/eos/board.h | |
parent | 5c4ad4969514b82285ef37922f7acf61600c70de (diff) |
sdcard driver
Diffstat (limited to 'fw/fe310/eos/board.h')
-rw-r--r-- | fw/fe310/eos/board.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fw/fe310/eos/board.h b/fw/fe310/eos/board.h index e663f62..1299bb6 100644 --- a/fw/fe310/eos/board.h +++ b/fw/fe310/eos/board.h @@ -1,19 +1,19 @@ #define SPI_DIV_NET 16 #define SPI_DIV_EVE 16 -#define SPI_DIV_SDC 16 +#define SPI_DIV_SDC 1024 #define SPI_DIV_CAM 16 #define SPI_CSID_NET 3 #define SPI_CSID_EVE 2 -#define SPI_CSID_SDC 0 +#define SPI_CSID_SDC SPI_CSID_NONE #define SPI_CSID_CAM SPI_CSID_NONE #define SPI_CSPIN_NET SPI_CSPIN_NONE #define SPI_CSPIN_EVE SPI_CSPIN_NONE -#define SPI_CSPIN_SDC SPI_CSPIN_NONE +#define SPI_CSPIN_SDC 2 #define SPI_CSPIN_CAM 23 -#define SPI_IOF_MASK_CS (((uint32_t)1 << IOF_SPI1_SS0) | ((uint32_t)1 << IOF_SPI1_SS2) | ((uint32_t)1 << IOF_SPI1_SS3)) +#define SPI_IOF_MASK_CS (((uint32_t)1 << IOF_SPI1_SS2) | ((uint32_t)1 << IOF_SPI1_SS3)) #define NET_PIN_RTS 20 #define NET_PIN_CTS 22 |