Skip to content

Commit d6ade02

Browse files
committed
Fix: T2TOS rev.2 nRESET moved from uno form factor D4 to D6.
This fixes #9.
1 parent 19029cc commit d6ade02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Arduino_10BASE_T1S.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@
3434
#if defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_MINIMA) || defined(ARDUINO_UNOWIFIR4) || defined(ARDUINO_AVR_UNO_WIFI_REV2) || defined(ARDUINO_GIGA)
3535
/* Those are all boards with the Arduino Uno form factor for the T1S shield. */
3636
static int const CS_PIN = 9;
37-
static int const RESET_PIN = 4;
37+
static int const RESET_PIN = 6;
3838
static int const IRQ_PIN = 2;
3939
#elif defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_PORTENTA_H7_M4)
4040
/* Pro Demo kit on MID carrier, UNO form factor */
4141
#include "pinDefinitions.h"
4242
static int const CS_PIN = PinNameToIndex(PH_6);
43-
static int const RESET_PIN = PinNameToIndex(PJ_11);
43+
static int const RESET_PIN = PinNameToIndex(PH_15); /* D6 (Uno form factor) -> PWM6 (Mid carrier headers) = PH15 (Portenta H7 high-density connectors) */
4444
static int const IRQ_PIN = PinNameToIndex(PC_7);
4545
#elif defined(ARDUINO_PORTENTA_C33)
4646
/* Pro Demo kit on MID carrier, UNO form factor */
4747
static int const CS_PIN = 25;
48-
static int const RESET_PIN = 4;
48+
static int const RESET_PIN = 6; /* D6 (Uno form factor) -> PWM6 (Mid carrier headers) = P601 (Portenta C33 high-density connectors) = D6 */
4949
static int const IRQ_PIN = 2;
5050
#else
5151
# error "No pins defined for your board"

0 commit comments

Comments
 (0)