Browse Source

Add sanity checks for EMERGENCY_PARSER

pull/1/head
Scott Lahteine 7 years ago
parent
commit
a3ce8a3fcd
  1. 4
      Marlin/src/HAL/HAL_LPC1768/SanityCheck.h
  2. 2
      Marlin/src/HAL/HAL_LPC1768/SoftwareSerial.cpp
  3. 4
      Marlin/src/HAL/HAL_STM32F1/SanityCheck.h
  4. 4
      Marlin/src/HAL/HAL_STM32F4/SanityCheck.h
  5. 4
      Marlin/src/HAL/HAL_STM32F7/SanityCheck.h
  6. 6
      Marlin/src/HAL/HAL_TEENSY35_36/SanityCheck.h

4
Marlin/src/HAL/HAL_LPC1768/SanityCheck.h

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

2
Marlin/src/HAL/HAL_LPC1768/SoftwareSerial.cpp

@ -66,7 +66,7 @@ typedef struct _DELAY_TABLE {
static const DELAY_TABLE table[] = {
//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
//{ 74880, 69, 139, 62, 162, }, // estimation
// { 57600, 100, 185, 1, 208, }, // Done but not good due to instruction cycle error
//{ 57600, 100, 185, 1, 208, }, // Done but not good due to instruction cycle error
//{ 38400, 13, 26, 26, 26, }, // Done
//{ 19200, 26, 52, 52, 52, }, // Done { 9600, 52, 104, 104, 104, }, // Done
//{ 4800, 104, 208, 208, 208, },

4
Marlin/src/HAL/HAL_STM32F1/SanityCheck.h

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

4
Marlin/src/HAL/HAL_STM32F4/SanityCheck.h

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

4
Marlin/src/HAL/HAL_STM32F7/SanityCheck.h

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

6
Marlin/src/HAL/HAL_TEENSY35_36/SanityCheck.h

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

Loading…
Cancel
Save