Parcourir la source

Show a warning message when Arduino IDE is prior to 1.5

jbrazio il y a 9 ans
Parent
révision
0880fecbd4
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. 10
    0
      Marlin/SanityCheck.h

+ 10
- 0
Marlin/SanityCheck.h Voir le fichier

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)

Chargement…
Annuler
Enregistrer