949 Commits (67e0238c89736ab653429a2774e9183feb1a2b60)

Author SHA1 Message Date
Scott Lahteine 49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
6 years ago
Ludy 59353546e8 Fix BUTTON_EXISTS and misplaced comma (#13411)
Fixes #13410 and redeclaration of `BUTTON_EXISTS`
6 years ago
InsanityAutomation 09eb30dc05 IDEX Mirror mode based on Formbot / Vivedino Symmetric mode (#13404) 6 years ago
Scott Lahteine 5c1aa5162d Adjust M206 output in M503 for DELTA 6 years ago
Scott Lahteine 9a515cbd32
Fix Pause Print message and behavior (#13394) 6 years ago
Scott Lahteine f5bcc00570
Unify debugging output with debug_out.h (#13388) 6 years ago
Scott Lahteine 67bee06e43 No patch needed for non-libmaple analogWrite
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
6 years ago
Scott Lahteine f89b375fb9
Fixes and improvements for PWM pins (#13383) 6 years ago
Scott Lahteine 87162658c4
Fix and improve software endstops (#13386) 6 years ago
Scott Lahteine a5ea3e2f15 Fix hotend offset on switching toolhead change
See commentary at #11623
6 years ago
InsanityAutomation 050eac03af Single X Duplication Extension (#13373)
* Multi-nozzle selective duplication
* Use a bit-mask, reduce stepper_indirection.h size
* Tweak the multi-nozzle duplication description
* Use 'S' as a bool in M605
* Add HAS_DUPLICATION_MODE conditional
* Remove '_MODE' from the option name
* M605 in the style of Stacker M280
* Also include direct mask style (P)
6 years ago
Scott Lahteine 11d6a939df Always define axis_unhomed_err 6 years ago
Scott Lahteine 0375e92847 Followup to serial rework
As mentioned in #13370
6 years ago
Scott Lahteine e52bcc9408 Limit top bed temp to BED_MAXTEMP - 10
The chances of a 10° overshoot is pretty minimal.
6 years ago
Scott Lahteine 1f7e220387 Make HAL ISR macros function-like 6 years ago
Scott Lahteine 3419099f0a Clean up whitespace 6 years ago
Michiel Baird b824a517aa Add G38.4 and G38.5 (#13348) 6 years ago
MoellerDi c36989c39e Fix chamber temperature measurement (#13350) 6 years ago
Scott Lahteine 33a08fc6f7 Fix typos from temperature rework
Followup to #12201
6 years ago
Marcio Teixeira 00fc43144a Follow up fixes to various PRs. (#13334)
- Ensure `MarlinUI:get_progress` is defined for `ExtUI`.
- Fix for `BACKLASH_SMOOTHING` with small segments.
  `BACKLASH_SMOOTHING` with extremely small segments failed to fully correct due to the correction factor being rounded down. Rounding up ensures the entire backlash will converge to zero even for small segments.
- Add pinout for the beta revision `EINSY_RETRO`.
- Update soft endstops with tool offsets (for toolchange et. al. move clamping) (#12568)
6 years ago
Reece Kibble dbead66988 Allows user to set (almost) any PWM frequency (#12638) 6 years ago
3dlabsio 645ca7af7a M141 Heated Chamber, Temperature rework (#12201) 6 years ago
Scott Lahteine 44571775bd Further support for 6 extruders 6 years ago
Scott Lahteine cfdb38eda4
Allow SERIAL_ECHOPAIR to take up to 12 pairs (#13311) 6 years ago
Scott Lahteine 15738ea506 Update a motion comment 6 years ago
Scott Lahteine bc87e97357 Prevent a tool change move out of bounds 6 years ago
Scott Lahteine 2212da453a
Distinguish between analog/digital auto fans (#13298) 6 years ago
Chris Pepper 38bef9da91 Report auto temp to both serial ports, if available (#13301) 6 years ago
Robert Mendon 367d392880 Init stepper current after stepper pins are set up (#13302) 6 years ago
Scott Lahteine 599cdc3f0f Remove dead code from get_pid_output
See #12981
6 years ago
Vasily Evseenko 71773b128d Fix stepper use before init. Add Ultimaker2+ Extended clone config (#13284) 6 years ago
kAdonis 05c2f80826 Fix bug in wait-for-heatup (#13290) 6 years ago
Scott Lahteine fa236e9718 General cleanup ahead of L64XX 6 years ago
Scott Lahteine 2f1e1dcb42 Gradual step towards EXTRUDERS 0 support 6 years ago
Scott Lahteine 99d0022fae
Drop the Z_MIN_PROBE_ENDSTOP option (#13276) 6 years ago
Scott Lahteine a2e3226597 Init XYZ to configured home position 6 years ago
InsanityAutomation e2e2a55d9b Add thermistor type 67 SliceEng (#13275) 6 years ago
Scott Lahteine 7fde3ed915 Skip hysteresis check when temp is already close to target
To eliminate a long delay during pause, park, and filament change
6 years ago
InsanityAutomation eb4bf93ea4 Add more Babystep options (#13262) 6 years ago
Bob Kuhn ddbe4cfa20 Printrboard G2 support (#13116) 6 years ago
Giuliano Zaro 2616e4d4d9 Remove duplicated 'chitchat' defines (#13258) 6 years ago
Scott Lahteine 5d28575d4d Clean up some motion code 6 years ago
Scott Lahteine 808b076000 Update some ABL/UBL conditionals 6 years ago
Scott Lahteine 64253e1a58 Followup to serial reform
Reference #13250
6 years ago
Scott Lahteine e15354e387
Simplify serial port redirect (#13234) 6 years ago
Scott Lahteine 02fec89a0d Turn fans off in zero_fan_speeds
Addressing #13231
6 years ago
Scott Lahteine 3c9a7926c2 Fix compile error with JUNCTION_DEVIATION
See #13000
6 years ago
LinFor ba39186364 TMC_DEBUG optimization and improvements (#13135) 6 years ago
Roman Moravčík 208ab8b366 Fix compilation with one service interval (#13185) 6 years ago
Scott Lahteine be9a409980 Fix M125 XY parameters, export get_homing_bump_feedrate 6 years ago
Scott Lahteine ce40c2e87c Use do_blocking_move_to(ref, fr) 6 years ago
Scott Lahteine 7cf9b93f26 Add HAS_FILAMENT_SENSOR ahead of 12962 6 years ago
revilor e56c13670d Service interval watchdog (#13105) 6 years ago
InsanityAutomation 7f1b69b0c8 Add HOST_PROMPT_SUPPORT (#13039) 6 years ago
Scott Lahteine 0feeef2604 Update copyright in headers 6 years ago
Scott Lahteine 894f5c24a8 Fix trailing whitespace 6 years ago
Giuliano Zaro 773fa5c40f Fix define used when PID is off (#13119)
Replaced `PID_MAX` with `BANG_MAX` since it should be the correct define to be used when PID is not enabled.
6 years ago
Simon Jouet 5cd0fa3ce1 Basic GPIO expander using the ESP32 I2S peripheral (#12959) 6 years ago
Scott Lahteine 6de3d34378
M166 Gradients, LCD Menu for 2-channel Mixer (Geeetech A10M/A20M) (#13022) 6 years ago
LinFor 7ee35c2611 PID_MENU option to save PROGMEM in LCD menus (#13095) 6 years ago
AnHardt 0e37fe8776 Apply minimum C in M303 (#13113)
Apply minimum `C` in `M303`. `PID_autotune()` needs to be called with a 'C'ycles-parameter >2 to give meaningful (different from 0) PID-factors. Therefore silently raise C to 3. Fixing one aspect of #13104
6 years ago
Marcio Teixeira e1604198ff G425 — Auto-calibrate Backlash and Nozzle Offsets (#13050) 6 years ago
InsanityAutomation 413e303ad5 More Advanced Pause options (#12984) 6 years ago
teemuatlut d81342254a Support new TMC drivers (#13026) 6 years ago
Rolf Werum 524c6c10bf MAGNETIC_PARKING_EXTRUDER (#12351) 6 years ago
Scott Lahteine 1bd9a63049 Add HAS_EXTRA_ENDSTOPS macro 6 years ago
Scott Lahteine 3c49396370
Fix compile error with DUE + MAX6675 (#13086) 6 years ago
Sam Lane b35a7c2c87 Fixed closed-loop planner stall (#13005) 6 years ago
Nathan df1043516e Fix the delta homing issue (#12974) 6 years ago
Scott Lahteine 4200bd2fc1
Report on M92 with no arguments (#12833) 6 years ago
Scott Lahteine d4d1b28a06 Fix some include paths 6 years ago
Marcio Teixeira 5cfc1cdacc Support SWITCHING_NOZZLE with 2 servos (#13054) 6 years ago
Nicolas G 6fb4001b58 Add option to disable fan speed slowing in M303 (#13066) 6 years ago
Mark Zachmann 4d1093b386 Fix init of last_direction_bits (#13067) 6 years ago
Scott Lahteine 4fa1c52688 Tweak serial output code 6 years ago
Scott Lahteine a5e3384691 Pre-apply cosmetic changes to mixing 6 years ago
Scott Lahteine 0358ffcd4c Drop E element from `homing_feedrate_mm_s` 6 years ago
Scott Lahteine 95223cb28e Remove dead code from stepper.h
These values are always supplied by `Conditionals_post.h`.
6 years ago
mattfredwill c3cb449990 TMC2130 dual-stepper Sensorless Homing (#13061) 6 years ago
revilor 6a57d0b381 Prusa MMU2 (#12967) 6 years ago
jeffstaley 0da636e1a3 Set correct stepper direction on reset (#13032)
On a reset steppers were being initialized to incorrect direction. Original code wasn't respecting `INVERT_Z_DIR` define.
6 years ago
Jiri 24fffb8d93 Fix undefined lcd_tmpfan_speed on NO_LCD_MENUS (#13006) 6 years ago
InsanityAutomation f4d1f13358 Warn on cold extrusion, dont error 6 years ago
Bob Kuhn 2f35747f29 L6470 SPI daisy chain support (#12895) 6 years ago
Ludy dc65d96aca Fix TMC compile error (#12965) 6 years ago
Scott Lahteine 0495fcd475 Minor spacing fix 6 years ago
teemuatlut 8a3f1d6932 Fix chopper timing struct and initialization (#12943) 6 years ago
Ludy acf266fe78 Fix a compile warning, etc. (#12955) 6 years ago
Scott Lahteine 712e23c383 Fix up some whitespace 6 years ago
teemuatlut e6805582a6 M569 to change stepping mode. Add new TMC section to LCD. (#12884) 6 years ago
mikeshub 7fde8d9d1e Add CreatorPro / Makerbot / QIDI / etc and Mightboard RevE support (#12855)
- Fix a bug in MAXxxxx thermocouple temp reporting.
- Add support for 3-wire HD44780.
- Add support for PCA9533 RGB driver.
- Add configuration examples for FlashForge CreatorPro.
6 years ago
InsanityAutomation 082f6a27de ADAPTIVE_FAN_SLOWING extension to hotend thermal protection (#12853) 6 years ago
Scott Lahteine 459f4fef60 Fix Temperature::init bug with HEATER_4_PIN 6 years ago
Scott Lahteine 19fea772e5 Use E_AXIS_N where it makes sense 6 years ago
HackingGulliver 1fd8e2c649 Fix: Junction Deviation calculates wrong cos(theta) on CoreXY (#12879) 6 years ago
Marcio Teixeira 6a8fb0f25f Simplify backlash compensation code. (#12813)
- Use `TEST(dm,axis)` to determine directions instead of doing comparisons.
- Remove recomputation of `millimeters` and `delta_mm` since backlash compensation should not affect the distance over which material is extruded.
6 years ago
Marcio Teixeira 81e753064a Fix ExtUI compile warnings and error (#12799) 6 years ago
TheLongAndOnly cb643d87df Adding missing code for triple Z-stepper auto-align (#12786) 6 years ago
Marcio Teixeira 60cb36bef3 Misc. improvements (#12747)
* Make ExtUI respect MAXTEMP limits
  - Temperatures are now clamped by MAXTEMP limits rather than arbitrary values.
* Speed up USB init, add status
  - Speed up USB initialization
  - Show status message if init failed
* Enable status messages for EXTENSIBLE_UI
* Adjust max limit to MAX_TEMP - 15
* Misc. tweaks to formatting, const, etc.
6 years ago
Scott Lahteine 371d9a1acf Fix line-endings, formatting, whitespace
Followup to #12770
6 years ago
Ludy 135c74017c Fix compile DEBUG_EEPROM_READWRITE error (#12746) 6 years ago
Ludy 3877bf9704 Fix compile error with delta and sensorless homing (#12740) 6 years ago
Ludy cfc5e96b4b Move JD to Config.h (and fix jerk->eeprom bug) (#12720) 6 years ago
Roman Moravčík 594898aea7 Limit hotend / bed temperature to maxtemp-15 (#12713) 6 years ago
InsanityAutomation 367a9f65aa Add Formbot 350c Thermistor (#12661) 6 years ago
Scott Lahteine 9d59a9c840 Followup to #12691 (typo) 6 years ago
Roman Moravčík 98cf546771 Limit set hotend temperature to maxtemp. (#12690) 6 years ago
Roman Moravčík 4dad489a50 [2.0.x] Limit PID autotune target to maxtemp-15 (#12691) 6 years ago
Marcio Teixeira 8dcc28c9ae Squelch warning mentioned in #11061 (#12676) 6 years ago
Luc Van Daele c6e09c2689 [2.0.x] G33 clean up (#12648)
Remove obsolete workarounds in G33 for the now fixed zprobe_zoffset bug
6 years ago
teemuatlut 55144284c2 TMC connection test, spreadCycle parameters, improved debugging (#12616) 6 years ago
Scott Lahteine 6cf8d40f41 Fix some serial echos of pin states 6 years ago
Scott Lahteine e8bda62d2a Followup to servo angles patch
Fix #12594
6 years ago
Marcio Teixeira b22716e938 M425 Backlash Correction (#11061) 6 years ago
teemuatlut 50b2fbd031 Trinamic: Split stealthChop, improve driver monitoring, etc. (#12582) 6 years ago
Scott Lahteine e874f9664c Tweaks to endstops code 6 years ago
Scott Lahteine 3c58b16c9f
Move stepper enable/disable to stepper_indirection.h (#12562) 6 years ago
Scott Lahteine aaf862aef2
Fix angles for disabled EDITABLE_SERVO_ANGLES (#12559) 6 years ago
Scott Lahteine c986239837
A single SERIAL_ECHO macro type (#12557) 6 years ago
Jacob Jordan 8be91677df Fix Skew factors (#12555)
- Ensure Skew factors are calculated from test square measurements
6 years ago
Scott Lahteine 03ef2d6c82
Fix "paused" message and M125 called by M25 (#12551) 6 years ago
Scott Lahteine 95d154a91f Fans loop macro 6 years ago
Scott Lahteine 09d6db491a Fix wait_for_bed compile error 6 years ago
Scott Lahteine 29c53f2402 Hide some compile warnings 6 years ago
Scott Lahteine caca3c8503 Use wait_for_bed with WAIT_FOR_BED_HEATER
Addressing #12517
6 years ago
Sinisa Culic 8a0992d921 Fast PWM for controller fan (#12485) 6 years ago
Marcio Teixeira 4bcb63b705 Fix for #12482 (#12483)
Fix Z-move to uninitialized position in SWITCHING_EXTRUDERS tool_change (no_move=true)
6 years ago
Ludy 90a58488b5 Corrected unused var, default switch, Travis tests (#12477) 6 years ago
Ludy 1f93d2bcf7 Fix LCD compile error, etc. (#12472) 6 years ago
Marcio Teixeira c1e17037e5 Various fixes for MarlinUI and ExtUI (#12439) 6 years ago
Giuliano Zaro d3605cfc26 Don't start watching heaters when target is 0 (#12453) 6 years ago
Ludy 22d7fed60a Fix compile error with SD_FIRMWARE_UPDATE (#12462) 6 years ago
Scott Lahteine d97e31db4c
Optimize Power-Loss Recovery (#12440) 6 years ago
Mateusz Krawczuk ca21ac6b9b Support two MAX6675 thermocouples (#8686) 6 years ago
Scott Lahteine 7a075a5dc9 Tweak extruder errors 6 years ago
Scott Lahteine d2bb53702a
Optimize target_extruder, ignore T with mixing (#12432)
* Optimize target_extruder, ignore T with mixing
* Give G-code Tn parity with tool_change
6 years ago
Scott Lahteine d82c350de7
Miscellaneous LCD code renaming, reordering (#12430)
* Move special characters to language.h
* Apply some naming standards
* Clean up menu item draw functions
* Rename some Temperature methods
* UI => ExtUI
6 years ago
Scott Lahteine edfd106bc5
Rejigger Filament Runout class (#12428) 6 years ago
Ryan 052d102ded UltiMachine Archim 1 support (#12404) 6 years ago
Giuliano Zaro 98c2fc4e42 Endstops fix followup (#12423)
Followup to #12413
6 years ago
AnHardt 9ad3aed0ef Fix tool-change for MIXING_EXTRUDER with < 2 virtual tools (#12417)
Fix #12416

Better handling of `ENABLED(MIXING_EXTRUDER) && !MIXING_VIRTUAL_TOOLS > 1` -  to not fall through to the general case. Fix compiler warnings for `#elif EXTRUDERS < 2`.
6 years ago
Giuliano Zaro d631267548 Refine endstops fixes (#12413)
When endstops/probe are enabled `ENDSTOP_NOISE_THRESHOLD` calls to `update` are required to properly re-sync endstops/probe status.
6 years ago
Scott Lahteine a0c795b097
Encapsulate common display code in a singleton (#12395)
* Encapsulate common LCD code in a singleton
* Depend more UBL code on UBL_DEVEL_DEBUGGING
  - Since most users don't need the debugging on at all times, this helps reduce the default build size for UBL by over 2K, a little closer to fitting on 128K boards.
6 years ago
Scott Lahteine 9da6809ac3 Adjust some comment spacing 6 years ago
Scott Lahteine 6093df11dc
Allow G26 to use the active extruder (#12387)
* Make lcd_quick_feedback argument optional
* Add click_to_cancel option to wait_for_hotend/bed
* Have G26 use the active nozzle and wait_for_hotend/bed
* Use wait_for_release in UBL G29
* Add 'T' parameter to G26 for an initial tool-change
6 years ago
Giuliano Zaro fd7fd55662 Solve endstops issues (#12382)
- Partially reverts #11900 and tries to solve #12336
6 years ago
InsanityAutomation 7665dff58b No error on T0 with single-extruder and fix MIXING_EXTRUDER virtual tools (#12375) 6 years ago
Scott Lahteine 525ea554a1 Remove obsolete comments 6 years ago
Scott Lahteine ef724edd80 Apply HAS_LCD_MENU in EEPROM code 6 years ago
Scott Lahteine 81b1e9d272 Fix up xdiff, ydiff, zdiff in tool change
Followup to #12137
6 years ago