Skip to content

Commit

Permalink
Delete #define SPI_DMA -> use wronged address
Browse files Browse the repository at this point in the history
  • Loading branch information
irina committed Apr 16, 2019
1 parent bee0cbd commit 1a2cb29
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Ethernet/wizchip_conf.h
Expand Up @@ -148,11 +148,7 @@ extern "C" {
#if _WIZCHIP_IO_MODE_ & _WIZCHIP_IO_MODE_BUS_
#define _WIZCHIP_IO_BASE_ 0x60000000 // for W6100 BUS
#elif _WIZCHIP_IO_MODE_ & _WIZCHIP_IO_MODE_SPI_
#ifdef SPI_DMA
#define _WIZCHIP_IO_BASE_ 0x60000000 // for W6100 SPI DMA
#else
#define _WIZCHIP_IO_BASE_ 0x00000000 // for W6100 SPI
#endif
#else
#error "You should define _WIZCHIP_IO_BASE_ to fit your system memory map."
#endif
Expand Down

0 comments on commit 1a2cb29

Please sign in to comment.