Skip to content

Commit 925578d

Browse files
committed
Default ESP32 config uses pin 17 for INT, which conflicts with TX2. Instead use Pin 4.
1 parent 9500a00 commit 925578d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Currently the following boards are supported by the library:
124124
* GPIO16 is **NOT** usable, as it will be used for some other purposes. For example, reset the SoC itself from sleep mode.
125125
* GPIO6 to 11 is also **NOT** usable, as they are used to connect SPI flash chip and it is used for storing the executable binary content.
126126
* ESP32 is supported using the [arduino-esp32](https://github.com/espressif/arduino-esp32/)
127-
* GPIO5 : SS, GPIO17 : INT, GPIO18 : SCK, GPIO19 : MISO, GPIO23 : MOSI
127+
* GPIO5 : SS, GPIO4 : INT, GPIO18 : SCK, GPIO19 : MISO, GPIO23 : MOSI
128128
129129
The following boards need to be activated manually in [settings.h](settings.h):
130130

UsbCore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ typedef MAX3421e<P3, P2> MAX3421E; // The Intel Galileo supports much faster rea
4949
#elif defined(ESP8266)
5050
typedef MAX3421e<P15, P5> MAX3421E; // ESP8266 boards
5151
#elif defined(ESP32)
52-
typedef MAX3421e<P5, P17> MAX3421E; // ESP32 boards
52+
typedef MAX3421e<P5, P4> MAX3421E; // ESP32 boards
5353
#elif (defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__))
5454
typedef MAX3421e<Pb4, Pb3> MAX3421E; // Sanguino
5555
#else

avrpins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,8 +1474,8 @@ MAKE_PIN(P22, 22); // SCL
14741474
MAKE_PIN(P19, 19); // MISO
14751475
MAKE_PIN(P23, 23); // MOSI
14761476
MAKE_PIN(P18, 18); // SCK
1477+
MAKE_PIN(P4, 4); // INT
14771478
MAKE_PIN(P5, 5); // SS
1478-
MAKE_PIN(P17, 17); // INT
14791479

14801480
#endif
14811481

0 commit comments

Comments
 (0)