Skip to content

Commit 238c269

Browse files
committed
Use pin 15 and 16 for SS and INT respectivly
The Wifio is not supported for now
1 parent 3157086 commit 238c269

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ Currently the following boards are supported by the library:
124124
* STM32F4
125125
* Currently the [NUCLEO-F446RE](http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF262063) is supported featuring the STM32F446. Take a look at the following example code: <https://github.com/Lauszus/Nucleo_F446RE_USBHost>.
126126
* ESP8266 is supported using the [ESP8266 Arduino core](https://github.com/esp8266/Arduino)
127+
* Note it uses pin 15 and 16 for SS and INT respectively
127128
128129
The following boards need to be activated manually in [settings.h](settings.h):
129130

UsbCore.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ typedef MAX3421e<P53, P54> MAX3421E; // Arduino Mega ADK
3939
typedef MAX3421e<P20, P19> MAX3421E; // Balanduino
4040
#elif defined(__ARDUINO_X86__) && PLATFORM_ID == 0x06
4141
typedef MAX3421e<P3, P2> MAX3421E; // The Intel Galileo supports much faster read and write speed at pin 2 and 3
42+
#elif defined(ESP8266)
43+
typedef MAX3421e<P15, P16> MAX3421E; // ESP8266 boards
4244
#else
4345
typedef MAX3421e<P10, P9> MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo, Due etc.), Intel Edison, Intel Galileo 2 or Teensy 2.0 and 3.0
4446
#endif

settings.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,8 @@ extern SPI_HandleTypeDef SPI_Handle; // Needed to be declared in your main.cpp
189189
#define pgm_read_word(addr) (*reinterpret_cast<const uint16_t*>(addr))
190190
#endif
191191

192+
#ifdef ARDUINO_ESP8266_WIFIO
193+
#error "This board is currently not supported"
194+
#endif
195+
192196
#endif /* SETTINGS_H */

0 commit comments

Comments
 (0)