File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 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;
123123static const uint8_t A6 = PIN_A6 ;
124124static const uint8_t A7 = PIN_A7 ;
125125
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+
126137#ifdef ARDUINO_MAIN
127138
128139// 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) {
8282 /* Check if TWI is operating on double bonded pin (Master Enable is high
8383 in both Master and Slave mode for bus error detection, so this can
8484 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;
8686
8787 /* Special check for SPI_SS double bonded pin -- no action if SPI is active
8888 (Using SPI Enable bit as indicator of SPI activity) */
You can’t perform that action at this time.
0 commit comments