From 59540c8d2d4808ef14dd4811407c3bb8a7e54e87 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 19 Aug 2020 21:59:48 +0200 Subject: [PATCH] wip: version.h: Only do the check if building for AVR Signed-off-by: Gergely Nagy --- src/kaleidoscope/version.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kaleidoscope/version.h b/src/kaleidoscope/version.h index 333d5bae..efbec7ed 100644 --- a/src/kaleidoscope/version.h +++ b/src/kaleidoscope/version.h @@ -1,5 +1,7 @@ #pragma once +#if defined(__AVR__) + #define KALEIDOSCOPE_AVR_GCC_MINIMAL_VERSION 5 #define KALEIDOSCOPE_AVR_GCC_MINIMAL_MINOR 4 @@ -9,3 +11,5 @@ ) #error Kaleidoscope requires Arduino version >= 1.8.6 to build. Please upgrade. #endif + +#endif