File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,17 @@ static const uint8_t A5 = PIN_A5;
123
123
static const uint8_t A6 = PIN_A6 ;
124
124
static const uint8_t A7 = PIN_A7 ;
125
125
126
+ #define PINS_COUNT (38u)
127
+
128
+ //NINA
129
+ #define NINA_GPIO0 (28u)
130
+ #define NINA_RESETN (29u)
131
+ #define NINA_ACK (36u)
132
+
133
+ #define SPIWIFI_SS (35u)
134
+ #define SPIWIFI_ACK NINA_ACK
135
+ #define SPIWIFI_RESET (~NINA_RESETN)
136
+
126
137
#ifdef ARDUINO_MAIN
127
138
128
139
// On the Arduino board, digital pins are also used
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ FORCE_INLINE bool isDoubleBondedActive(uint8_t pin) {
82
82
/* Check if TWI is operating on double bonded pin (Master Enable is high
83
83
in both Master and Slave mode for bus error detection, so this can
84
84
indicate an active state for Wire) */
85
- if (((pin == PIN_A4 ) || (pin == PIN_A5 )) && (TWI0 .MCTRLA & TWI_ENABLE_bm )) return true;
85
+ // if(((pin == PIN_A4) || (pin == PIN_A5)) && (TWI0.MCTRLA & TWI_ENABLE_bm)) return true;
86
86
87
87
/* Special check for SPI_SS double bonded pin -- no action if SPI is active
88
88
(Using SPI Enable bit as indicator of SPI activity) */
You can’t perform that action at this time.
0 commit comments