ソースを参照

Add sanity checks for EMERGENCY_PARSER

Scott Lahteine 6年前
コミット
a3ce8a3fcd

+ 4
- 0
Marlin/src/HAL/HAL_LPC1768/SanityCheck.h ファイルの表示

@@ -74,3 +74,7 @@
74 74
     ||  MB(RAMPS_14_RE_ARM_SF))
75 75
   #error "Re-ARM with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER and TMC2130 require TMC_USE_SW_SPI"
76 76
 #endif
77
+
78
+#if ENABLED(EMERGENCY_PARSER)
79
+  #error "EMERGENCY_PARSER is not yet implemented for LPC1768. Disable EMERGENCY_PARSER to continue."
80
+#endif

+ 1
- 1
Marlin/src/HAL/HAL_LPC1768/SoftwareSerial.cpp ファイルの表示

@@ -66,7 +66,7 @@ typedef struct _DELAY_TABLE {
66 66
 static const DELAY_TABLE table[] = {
67 67
   //baud    |rxcenter|rxintra |rxstop  |tx { 250000,   2,      4,       4,       4,   }, //Done but not good due to instruction cycle error { 115200,   4,      8,       8,       8,   }, //Done but not good due to instruction cycle error
68 68
   //{ 74880,   69,       139,       62,      162,  }, // estimation
69
-//  { 57600,   100,       185,      1,       208,  }, // Done but not good due to instruction cycle error
69
+  //{ 57600,   100,       185,      1,       208,  }, // Done but not good due to instruction cycle error
70 70
   //{ 38400,   13,      26,      26,      26,  }, // Done
71 71
   //{ 19200,   26,      52,      52,      52,  }, // Done { 9600,    52,      104,     104,     104, }, // Done
72 72
   //{ 4800,    104,     208,     208,     208, },

+ 4
- 0
Marlin/src/HAL/HAL_STM32F1/SanityCheck.h ファイルの表示

@@ -66,3 +66,7 @@
66 66
     #endif
67 67
   #endif
68 68
 #endif // SPINDLE_LASER_ENABLE
69
+
70
+#if ENABLED(EMERGENCY_PARSER)
71
+  #error "EMERGENCY_PARSER is not yet implemented for STM32F1. Disable EMERGENCY_PARSER to continue."
72
+#endif

+ 4
- 0
Marlin/src/HAL/HAL_STM32F4/SanityCheck.h ファイルの表示

@@ -64,3 +64,7 @@
64 64
     #endif
65 65
   #endif
66 66
 #endif // SPINDLE_LASER_ENABLE
67
+
68
+#if ENABLED(EMERGENCY_PARSER)
69
+  #error "EMERGENCY_PARSER is not yet implemented for STM32F4. Disable EMERGENCY_PARSER to continue."
70
+#endif

+ 4
- 0
Marlin/src/HAL/HAL_STM32F7/SanityCheck.h ファイルの表示

@@ -64,3 +64,7 @@
64 64
     #endif
65 65
   #endif
66 66
 #endif // SPINDLE_LASER_ENABLE
67
+
68
+#if ENABLED(EMERGENCY_PARSER)
69
+  #error "EMERGENCY_PARSER is not yet implemented for STM32F7. Disable EMERGENCY_PARSER to continue."
70
+#endif

+ 3
- 3
Marlin/src/HAL/HAL_TEENSY35_36/SanityCheck.h ファイルの表示

@@ -24,6 +24,6 @@
24 24
  * Test TEENSY35_36 specific configuration values for errors at compile-time.
25 25
  */
26 26
 
27
-/**
28
- * Require gcc 4.7 or newer (first included with Arduino 1.6.8) for C++11 features.
29
- */
27
+#if ENABLED(EMERGENCY_PARSER)
28
+  #error "EMERGENCY_PARSER is not yet implemented for Teensy 3.5/3.6. Disable EMERGENCY_PARSER to continue."
29
+#endif

読み込み中…
キャンセル
保存