Merge pull request #3259 from jbrazio/bugfix/old-ide-warning

Show a warning message when Arduino IDE is prior to 1.5
This commit is contained in:
Scott Lahteine 2016-03-30 12:15:51 -07:00
commit 0f835c0c4e

View File

@ -28,6 +28,16 @@
#ifndef SANITYCHECK_H #ifndef SANITYCHECK_H
#define 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 * Dual Stepper Drivers
*/ */