Merge pull request #776 from CapeLeidokos/pr_version_fix
Added a compiler/Arduino version checkpull/777/head
commit
133d9e6227
@ -0,0 +1,11 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define KALEIDOSCOPE_AVR_GCC_MINIMAL_VERSION 5
|
||||||
|
#define KALEIDOSCOPE_AVR_GCC_MINIMAL_MINOR 4
|
||||||
|
|
||||||
|
#if (__GNUC__ < KALEIDOSCOPE_AVR_GCC_MINIMAL_VERSION) \
|
||||||
|
|| ( (__GNUC__ == KALEIDOSCOPE_AVR_GCC_MINIMAL_VERSION) \
|
||||||
|
&& (__GNUC_MINOR__ < KALEIDOSCOPE_AVR_GCC_MINIMAL_MINOR) \
|
||||||
|
)
|
||||||
|
#error Kaleidoscope requires Arduino version >= 1.8.6 to build. Please upgrade.
|
||||||
|
#endif
|
Loading…
Reference in new issue