Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
v1.8.12 to add support to more AVR boards
Browse files Browse the repository at this point in the history
### Releases v1.8.12

1. Sync with [Arduino WiFiNINA Library v1.8.12](https://github.com/arduino-libraries/WiFiNINA/releases/tag/1.8.12). 
  - Update latest available nina-fw to v1.4.7

2. Add support to many AVR (328P, 32U4, 16U4, etc.) boards. Check [Add support to Arduino UNO board #9](#9)
  • Loading branch information
khoih-prog authored Jun 30, 2021
1 parent 6e73bef commit 51f79a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WiFiNINA_Pinout_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
#define SPIWIFI_SS 53 //PIN_SPI_SS //53
#define SPIWIFI_ACK 28 //NINA_ACK //28
#define SPIWIFI_RESET 27 //NINA_RESETN //27

#elif ( defined(ARDUINO_AVR_UNO_WIFI_REV2) )

#warning Use WiFiNINA for UNO WiFi Rev2
Expand Down Expand Up @@ -445,7 +445,7 @@
#define SPIWIFI_ACK (27u)
#define SPIWIFI_RESET (NINA_RESETN)

#elif defined(__AVR_ATmega2560__) || defined(__AVR_ATmega2561__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega1281__) || \
#elif defined(__AVR_ATmega1280__) || defined(__AVR_ATmega1281__) || \
defined(__AVR_ATmega640__) || defined(__AVR_ATmega641__) || defined(__AVR_ATmega644__) || defined(__AVR_ATmega644A__) || \
defined(__AVR_ATmega644P__) || defined(__AVR_ATmega644PA__) || defined(ARDUINO_AVR_UNO) || defined(ARDUINO_AVR_NANO) || \
defined(ARDUINO_AVR_MINI) || defined(ARDUINO_AVR_ETHERNET) || defined(ARDUINO_AVR_FIO) || defined(ARDUINO_AVR_BT) || \
Expand Down Expand Up @@ -477,7 +477,7 @@
#define SPIWIFI_ACK 8
#define SPIWIFI_RESET 7

#warning You have to modify pin usage according to actual connection for AVR boards
#warning You have to modify pin usage according to actual connection for AVR (328P, 32U4, 16U4, etc.) boards

#else

Expand Down

0 comments on commit 51f79a6

Please sign in to comment.