Browse Source

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

Show a warning message when Arduino IDE is prior to 1.5
Scott Lahteine 8 years ago
parent
commit
0f835c0c4e
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      Marlin/SanityCheck.h

+ 10
- 0
Marlin/SanityCheck.h View File

29
 #define SANITYCHECK_H
29
 #define SANITYCHECK_H
30
 
30
 
31
 /**
31
 /**
32
+ * Due to the high number of issues related with old versions of Arduino IDE
33
+ * we are now warning our users to update their toolkits. In a future Marlin
34
+ * release we will stop supporting old IDE versions and will require user
35
+ * action to proceed with compilation in such environments.
36
+ */
37
+#if !defined(ARDUINO) || ARDUINO < 10500
38
+  #warning Versions of Arduino IDE prior to 1.5 are no longer supported, please update your toolkit.
39
+#endif
40
+
41
+/**
32
  * Dual Stepper Drivers
42
  * Dual Stepper Drivers
33
  */
43
  */
34
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS) && ENABLED(Y_DUAL_STEPPER_DRIVERS)
44
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS) && ENABLED(Y_DUAL_STEPPER_DRIVERS)

Loading…
Cancel
Save