From 4f901eb2ccf923d2fdc313a228189c3e7c72fa9d Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Sun, 29 Dec 2019 10:59:01 -0800 Subject: [PATCH] Add AVR sanity check to error when MONITOR_DRIVER_STATUS is used with SW Serial --- Marlin/src/HAL/HAL_AVR/inc/SanityCheck.h | 4 ++++ buildroot/share/tests/megaatmega2560-tests | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Marlin/src/HAL/HAL_AVR/inc/SanityCheck.h b/Marlin/src/HAL/HAL_AVR/inc/SanityCheck.h index a6bff05ce747..a9b0af5b9959 100644 --- a/Marlin/src/HAL/HAL_AVR/inc/SanityCheck.h +++ b/Marlin/src/HAL/HAL_AVR/inc/SanityCheck.h @@ -59,3 +59,7 @@ #if HAS_TRINAMIC && ENABLED(ENDSTOP_INTERRUPTS_FEATURE) #error "TMCStepper includes SoftwareSerial.h which is incompatible with ENDSTOP_INTERRUPTS_FEATURE. Disable ENDSTOP_INTERRUPTS_FEATURE to continue." #endif + +#if TMC_HAS_SW_SERIAL && ENABLED(MONITOR_DRIVER_STATUS) + #error "MONITOR_DRIVER_STATUS causes performance issues when used with SoftwareSerial-connected drivers. Disable MONITOR_DRIVER_STATUS or use hardware serial to continue." +#endif diff --git a/buildroot/share/tests/megaatmega2560-tests b/buildroot/share/tests/megaatmega2560-tests index f5929237d775..32703d20f40b 100755 --- a/buildroot/share/tests/megaatmega2560-tests +++ b/buildroot/share/tests/megaatmega2560-tests @@ -328,7 +328,7 @@ use_example_configs SCARA/Morgan opt_set LCD_LANGUAGE es opt_enable USE_ZMIN_PLUG FIX_MOUNTED_PROBE AUTO_BED_LEVELING_BILINEAR PAUSE_BEFORE_DEPLOY_STOW \ MKS_12864OLED EEPROM_SETTINGS EEPROM_CHITCHAT M114_DETAIL \ - MONITOR_DRIVER_STATUS STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD SENSORLESS_HOMING SQUARE_WAVE_STEPPING + STEALTHCHOP_XY STEALTHCHOP_Z STEALTHCHOP_E HYBRID_THRESHOLD SENSORLESS_HOMING SQUARE_WAVE_STEPPING opt_set X_MAX_ENDSTOP_INVERTING false opt_set X_DRIVER_TYPE TMC2209 opt_set Y_DRIVER_TYPE TMC2130