diff options
author | Craig Link <craigl@zillowgroup.com> | 2021-02-25 18:02:52 +0300 |
---|---|---|
committer | Craig Link <craigl@zillowgroup.com> | 2021-02-25 18:02:52 +0300 |
commit | b779b04f36e95eb74b0f5614af4786a47ce3d02c (patch) | |
tree | 70d724a574ae8eb7b4d2c1996f95431b066c2851 | |
parent | 1fb0d7b2afd87695eb5f3c4af27c286b5e9f5fe0 (diff) |
enable hahardware support for Ardunio Nano Every
-rw-r--r-- | src/platforms/avr/fastpin_avr.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/platforms/avr/fastpin_avr.h b/src/platforms/avr/fastpin_avr.h index 99a78958..8087e2a2 100644 --- a/src/platforms/avr/fastpin_avr.h +++ b/src/platforms/avr/fastpin_avr.h @@ -231,11 +231,10 @@ _FL_DEFPIN(12, 1, E); _FL_DEFPIN(13, 2, E); _FL_DEFPIN(14, 3, D); _FL_DEFPIN(15, _FL_DEFPIN(16, 1, D); _FL_DEFPIN(17, 0, D); _FL_DEFPIN(18, 2, A); _FL_DEFPIN(19, 3, A); _FL_DEFPIN(20, 4, D); _FL_DEFPIN(21, 5, D); -// To confirm for the SPI interfaces -//#define SPI_DATA 18 -//#define SPI_CLOCK 13 -//#define SPI_SELECT 19 -//#define AVR_HARDWARE_SPI 1 +#define SPI_DATA 11 +#define SPI_CLOCK 13 +#define SPI_SELECT 8 +#define AVR_HARDWARE_SPI 1 #define HAS_HARDWARE_PIN_SUPPORT 1 //#define SPI_UART0_DATA 1 |