소스 검색

Show a warning message when Arduino IDE is prior to 1.5

jbrazio 9 년 전
부모
커밋
0880fecbd4
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10
    0
      Marlin/SanityCheck.h

+ 10
- 0
Marlin/SanityCheck.h 파일 보기

@@ -29,6 +29,16 @@
29 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 42
  * Dual Stepper Drivers
33 43
  */
34 44
 #if ENABLED(Z_DUAL_STEPPER_DRIVERS) && ENABLED(Y_DUAL_STEPPER_DRIVERS)

Loading…
취소
저장