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

Add support to Arduino UNO board #9

Merged
merged 1 commit into from
Jun 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/WiFiNINA_Pinout_Generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,21 @@
#define SPIWIFI_SS (26u)
#define SPIWIFI_ACK (27u)
#define SPIWIFI_RESET (NINA_RESETN)
#elif defined(ARDUINO_AVR_UNO)
// To define pin out for WiFiNINA here
//#define PIN_SPI_SS (4)
//#define PIN_SPI_MOSI (11)
//#define PIN_SPI_MISO (12)
//#define PIN_SPI_SCK (13)

#define PINS_COUNT (60u)
//NINA
#define NINA_GPIO0 (2u)
#define NINA_RESETN (7u)
#define NINA_ACK (8u)
#define SPIWIFI_SS 4
#define SPIWIFI_ACK 8
#define SPIWIFI_RESET 7
#else
#warning You have to modify pin usage according to actual connection for your unknown board
#define PINS_COUNT (60u)
Expand Down