Show a warning message when Arduino IDE is prior to 1.5

This commit is contained in:
jbrazio 2016-03-27 03:26:57 +01:00 committed by João Brázio
parent 4b697938e6
commit 0880fecbd4

View file

@ -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
*/