From 455519ce934d9c1d622c2a13fda86f445d3a1f05 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Mon, 29 Oct 2018 17:44:57 +0100 Subject: [PATCH] Add support for UNO WiFi rev2 --- src/utility/Sd2PinMap.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/utility/Sd2PinMap.h b/src/utility/Sd2PinMap.h index 3e2df43..67b4db4 100644 --- a/src/utility/Sd2PinMap.h +++ b/src/utility/Sd2PinMap.h @@ -31,6 +31,20 @@ uint8_t const SCK_PIN = SCK; #endif // Sd2PinMap_h +#elif defined(__AVR_ATmega4809__) // Arduino UNO WiFI Rev2 follows + +#ifndef Sd2PinMap_h +#define Sd2PinMap_h + +#include + +uint8_t const SS_PIN = SS; +uint8_t const MOSI_PIN = MOSI; +uint8_t const MISO_PIN = MISO; +uint8_t const SCK_PIN = SCK; + +#endif // Sd2PinMap_h + #elif defined(__AVR__) // Other AVR based Boards follows // Warning this file was generated by a program.