Selaa lähdekoodia

Add sanity checks for EMERGENCY_PARSER

Scott Lahteine 7 vuotta sitten
vanhempi
commit
a3ce8a3fcd

+ 4
- 0
Marlin/src/HAL/HAL_LPC1768/SanityCheck.h Näytä tiedosto

74
     ||  MB(RAMPS_14_RE_ARM_SF))
74
     ||  MB(RAMPS_14_RE_ARM_SF))
75
   #error "Re-ARM with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER and TMC2130 require TMC_USE_SW_SPI"
75
   #error "Re-ARM with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER and TMC2130 require TMC_USE_SW_SPI"
76
 #endif
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 Näytä tiedosto

66
 static const DELAY_TABLE table[] = {
66
 static const DELAY_TABLE table[] = {
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
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
   //{ 74880,   69,       139,       62,      162,  }, // estimation
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
   //{ 38400,   13,      26,      26,      26,  }, // Done
70
   //{ 38400,   13,      26,      26,      26,  }, // Done
71
   //{ 19200,   26,      52,      52,      52,  }, // Done { 9600,    52,      104,     104,     104, }, // Done
71
   //{ 19200,   26,      52,      52,      52,  }, // Done { 9600,    52,      104,     104,     104, }, // Done
72
   //{ 4800,    104,     208,     208,     208, },
72
   //{ 4800,    104,     208,     208,     208, },

+ 4
- 0
Marlin/src/HAL/HAL_STM32F1/SanityCheck.h Näytä tiedosto

66
     #endif
66
     #endif
67
   #endif
67
   #endif
68
 #endif // SPINDLE_LASER_ENABLE
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 Näytä tiedosto

64
     #endif
64
     #endif
65
   #endif
65
   #endif
66
 #endif // SPINDLE_LASER_ENABLE
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 Näytä tiedosto

64
     #endif
64
     #endif
65
   #endif
65
   #endif
66
 #endif // SPINDLE_LASER_ENABLE
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 Näytä tiedosto

24
  * Test TEENSY35_36 specific configuration values for errors at compile-time.
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

Loading…
Peruuta
Tallenna