From 0880fecbd40717fe55c276c65ff62edf8932ea93 Mon Sep 17 00:00:00 2001 From: jbrazio Date: Sun, 27 Mar 2016 03:26:57 +0100 Subject: [PATCH] Show a warning message when Arduino IDE is prior to 1.5 --- Marlin/SanityCheck.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Marlin/SanityCheck.h b/Marlin/SanityCheck.h index 728320c31a..8244a76bfd 100644 --- a/Marlin/SanityCheck.h +++ b/Marlin/SanityCheck.h @@ -28,6 +28,16 @@ #ifndef SANITYCHECK_H #define SANITYCHECK_H +/** + * Due to the high number of issues related with old versions of Arduino IDE + * we are now warning our users to update their toolkits. In a future Marlin + * release we will stop supporting old IDE versions and will require user + * action to proceed with compilation in such environments. + */ +#if !defined(ARDUINO) || ARDUINO < 10500 + #warning Versions of Arduino IDE prior to 1.5 are no longer supported, please update your toolkit. +#endif + /** * Dual Stepper Drivers */