984 Commits (01e4b0c067c23defa78a7c68bef872f132728875)

Author SHA1 Message Date
InsanityAutomation 19af90face Fix a host action compile error (#13208) 6 years ago
Scott Lahteine e00aad84af Add M240 parameters D I J R S 6 years ago
Marcio Teixeira 31c240a8db Enhancements to G425 (#13159)
- Turn off bed leveling prior to calibrating.
    - This prevents lateral probes from having a Z component that
      triggers the Z endstop and causes the motion to be aborted.
- Got rid of static const float arrays "dimension" and "true_center"
    - Frees up 24 bytes of SRAM
- Changed incorrect use of "bool" for float in backlash macros.
    - Replaced arguments with 0.0f and 1.0f for clarity.
- Now only disables soft endstops (since calibration cube is outside of bed)
    - Not necessary to disable global endstops
6 years ago
Scott Lahteine ab2816c870 Patch for M240 6 years ago
Scott Lahteine d2bdb71c13
Add PHOTO_GCODE option, photo trigger physical move (#13168) 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
Roman Moravčík bace52afd7 Fixed compilation with MMU2_MENUS disabled (#13140) 6 years ago
Scott Lahteine 9737608f0a Enable gradient when alias is cleared 6 years ago
Scott Lahteine 6de3d34378
M166 Gradients, LCD Menu for 2-channel Mixer (Geeetech A10M/A20M) (#13022) 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
Scott Lahteine f269766408 Put the MMU2 menu with the others 6 years ago
Marcio Teixeira e1604198ff G425 — Auto-calibrate Backlash and Nozzle Offsets (#13050) 6 years ago
Mark Zachmann 19cf72e057 Support individual solenoid disable with M381 (#13008) 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 1497fb388a
M29 match logic was reversed (#13013)
* M29 logic was reversed 

If in card-saving mode generate errors line errors for anything that's *NOT* "M29 ?"

* Update queue.cpp

* Update queue.cpp
6 years ago
Scott Lahteine b5fd2fb58b Allow M29 to be processed late 6 years ago
Scott Lahteine c03bac9ad4
Update queue.cpp 6 years ago
Scott Lahteine a49f0205ea
Update queue.cpp 6 years ago
jeffstaley 2f176d6fb8 Flush RX buffer on G-code line errors to prevent hang (#13018) 6 years ago
Scott Lahteine 4200bd2fc1
Report on M92 with no arguments (#12833) 6 years ago
Scott Lahteine 433518de74 Prevent M420 error from disconnecting OctoPrint
Just echo the error instead of labeling it `Error:`.
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
mattfredwill c3cb449990 TMC2130 dual-stepper Sensorless Homing (#13061) 6 years ago
revilor 6a57d0b381 Prusa MMU2 (#12967) 6 years ago
InsanityAutomation a1d03fe7ba Fix single nozzle fan (#13038) 6 years ago
Scott Lahteine 97da6c1da5 Use MIN/MAX for min/max 6 years ago
Giuliano Zaro a79d80c78e Minor cleanup of pause code (#13030) 6 years ago
InsanityAutomation 48a3502656 Remote streamer improvements (#12982) 6 years ago
jeffstaley 3f91233f6d
M29 logic was reversed
If in card-saving mode generate errors line errors for anything that's *NOT* "M29 ?"
6 years ago
jeffstaley 0e0cc13650 Fix M29 for Pronterface SD card upload (#13010) 6 years ago
Scott Lahteine 8f9b246d0e Tweak some formatting, replace tabs 6 years ago
Bob Kuhn 2f35747f29 L6470 SPI daisy chain support (#12895) 6 years ago
Scott Lahteine 6453b82a5e Clean up trailing whitespace 6 years ago
InsanityAutomation a1cf49935d Add laser control menu (#12883) 6 years ago
InsanityAutomation 75f2665f2e LCD SD Card items near top when not using wheel (#12926) 6 years ago
Scott Lahteine 0495fcd475 Minor spacing fix 6 years ago
Ludy acf266fe78 Fix a compile warning, etc. (#12955) 6 years ago
Scott Lahteine ce563d7c2e Various general cleanups
Mostly from the L6470-oriented PR
6 years ago
teemuatlut e6805582a6 M569 to change stepping mode. Add new TMC section to LCD. (#12884) 6 years ago
Marcio Teixeira f11c6d5d02 Fix M107 when dual-nozzles share fan (#12819) (#12909) 6 years ago
InsanityAutomation 59b18aaeef Allow resume from pause with parking enabled (#12893)
Currently, Pause of an SD-Memory card print does not work.    This has been verified to resolve the issue by multiple people.   

I understand more work needs to be done to resolve some of the concerns...
6 years ago
Giuliano Zaro 85f149befe Save some progmem (#12913) 6 years ago
teemuatlut 1a79878dff Remove TMC_Z_CALIBRATION in favor of Z_STEPPER_AUTO_ALIGN 6 years ago
Scott Lahteine 7cfce20cd3 Update comments on M125 6 years ago
InsanityAutomation ed3ab5e212 Fix M24 not starting new job (#12887) 6 years ago
InsanityAutomation 082f6a27de ADAPTIVE_FAN_SLOWING extension to hotend thermal protection (#12853) 6 years ago
InsanityAutomation a403d9a50c Improve menu pause / resume (#12876) 6 years ago
Scott Lahteine fb8111553e getStatus => report_status 6 years ago
Giuliano Zaro 709a6356f7 Remove obsolete test conditions (#12829) 6 years ago
Luu Lac bcf347403b Fix M106 extruder & fan count (#12820) 6 years ago
Marcio Teixeira 81e753064a Fix ExtUI compile warnings and error (#12799) 6 years ago
Ludy 14a7faf087 Fix compile warning comparison uint and int (#12788) 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
InsanityAutomation 4f2473053c Fix M106 with SINGLENOZZLE 6 years ago
Ludy 814d93c7cf Fix G33 sprintf output warning (#12738) 6 years ago
InsanityAutomation 530ef5846f Make nomove=false for toolchange on filament swap (#12739) 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
Marcio Teixeira 902d5b0f8b Allow ExtUI to use LCD_SET_PROGRESS_MANUALLY (#12628) 6 years ago
teemuatlut 55144284c2 TMC connection test, spreadCycle parameters, improved debugging (#12616) 6 years ago
MasterPIC 3bb8b3529a Center ABL grid on bed with H parameter. (#12610) 6 years ago
Marcio Teixeira b22716e938 M425 Backlash Correction (#11061) 6 years ago
Scott Lahteine b7e38ea249 Signal an invalid mesh for M420 enable / load 6 years ago
teemuatlut 50b2fbd031 Trinamic: Split stealthChop, improve driver monitoring, etc. (#12582) 6 years ago
Scott Lahteine 261c6f4b96 Fix pause/resume SD print
Followup to #12551, addressing #12566
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
Scott Lahteine 03ef2d6c82
Fix "paused" message and M125 called by M25 (#12551) 6 years ago
Scott Lahteine 5b24ce9024 Hide M217 compile warning 6 years ago
Scott Lahteine 1fcc13b011 Allow Serial Overrun Protection to be disabled 6 years ago
Scott Lahteine d29cb09b3e Fix a minor compile warning 6 years ago
Scott Lahteine 817a37169a Apply/unapply const here and there 6 years ago
Scott Lahteine a4c15dc54f
Modify MBL to use IJ instead of XY (#12478) 6 years ago
kAdonis 4ae9a06c60 Update M303.cpp (#12471) 6 years ago
Marcio Teixeira c1e17037e5 Various fixes for MarlinUI and ExtUI (#12439) 6 years ago
Giuliano Zaro 43ecdb606f Fix a compile warning (#12452) 6 years ago
Ludy 56a94c2a26 Use 'target_extruder' in M104 as with M109 (#12448) 6 years ago
Scott Lahteine 66580f32c2
Make CardReader class static (#12451)
* Make CardReader a static class
* Make CardReader flags into bitfields
6 years ago
Scott Lahteine d97e31db4c
Optimize Power-Loss Recovery (#12440) 6 years ago
Scott Lahteine 0e610815e4 No need for Cap:PAREN_COMMENTS 6 years ago
Scott Lahteine 7a075a5dc9 Tweak extruder errors 6 years ago
Scott Lahteine 2d92f333f5 Fix GcodeSuite::T active_extruder reference 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 54ec5528a0 hasstatus => has_status 6 years ago
Roxy-3D cda5ef08fa
Debug of G2-G3 for UBL (#12386)
Changes only affect UBL.  Everything else is left alone.
6 years ago
Scott Lahteine 143b2896e0
Add M412 to enable/disable filament runout detection (#12406) 6 years ago
Scott Lahteine a163c89c6a Followup to 50af1d1 6 years ago
Scott Lahteine 50af1d1e08 Differentiate translated On/Off from Serial ON/OFF 6 years ago
Scott Lahteine da17f8ad37 For now (!) don't synchronize in M204 and M205
See if this has any deleterious effect on motion planning by slicers that inser their own jerk and acceleration controls. The problem I see is that these settings can take effect on blocks already in the planner, and the only way around this would be to shadow these settings in planner blocks and use the shadowed settings in the planner.
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 471f403a67 Reduce code size with plain inlines 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
Scott Lahteine bed15fcd81 Tweak 'echo_not_entered' used by MBL's G29 6 years ago
Scott Lahteine 78ccedd6a8 Fix M91x sanity-check to permit TMC2660
Fix #12362
6 years ago
revilor b60abc7c37 [2.0.x] Macro G-codes (#9365) 6 years ago
InsanityAutomation 6471a75a22 Combine more tool-change variables (#12137) 6 years ago
Scott Lahteine 812f6a7dd7 Fix Resume from SD Pause
In reference to https://github.com/MarlinFirmware/Marlin/pull/12098#issuecomment-436231690
6 years ago
Scott Lahteine 488a17b3f5 Use IS_SD_PRINTING() more 6 years ago
Marcio Teixeira 4dbaa6369f Fix const pointer assignment compile error (#12350) 6 years ago
Scott Lahteine e574f01568
More advanced pause tweaks (#12356)
* Followup to LCD_TIMEOUT_TO_STATUS=0
* Make continuous purge screen fit 20x4
* Unify purge message modes
* Preserve last-set pause header mode
6 years ago
Scott Lahteine 4c5ca89d8c
Show the appropriate pause message (#12348) 6 years ago
Scott Lahteine b3b4e6dc45
Change Marlin debug flag names to fix conflicts (#12340)
In reference to #11000
6 years ago
Scott Lahteine 04f173790f Remove trailing whitespace 6 years ago
Scott Lahteine 486f2a66a9 Fix MBL XY parameter error messages
Fix #11522
6 years ago
Scott Lahteine 2613ddf61c Fix "circle" 6 years ago
Scott Lahteine 427bc64ba1 G28 O respects HOME_AFTER_DEACTIVATE
Addressing #11271
6 years ago
Scott Lahteine 498dfa291e Update and fix CHDK 6 years ago
Scott Lahteine 3cbc3ecdd7 Fix 'M43 T' to use 'L' as last pin
- The documentation is correct. The code was wrong.
6 years ago
Scott Lahteine 07a0822ebe M420 support in MARLIN_DEV_MODE 6 years ago
Scott Lahteine 44fa7fb18c Cleanups for leveling-related code 6 years ago
Scott Lahteine cc2bc67440 ENABLED(NEWPANEL) => HAS_LCD_MENU 6 years ago
Scott Lahteine f5eab912ed
Apply #pragma once, misc cleanup (#12322)
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
6 years ago
Scott Lahteine d1ff22b983 Revive SCARA's home offset (unimplemented) 6 years ago
Scott Lahteine e4cf175163
Synchronize on M204, M205 (#12302)
* Add parser.seen for multiple parameters
* Fix M666, use !seen for report
* Synchronize on M204, M205
6 years ago
Ludy 5ba6607181 Fix keypad-related compile error (#12306) 6 years ago
Scott Lahteine 3eb9838dca Simplify TMC sanity-checks 6 years ago
Scott Lahteine 31c28d0dd2
Drop pgm_read_*_near and let headers choose (#12301)
- Drop `pgm_read_*_near` and let headers choose.
- Define `USE_EXECUTE_COMMANDS_IMMEDIATE` as a conditional.
- Add `process_subcommands_now` for SRAM-based commands.
6 years ago
Ludy 9f77df2590 Followup to menu refactor. TMC warnings, sanity. (#12288)
- Followup fixes for menu refactor
- Fix TMC sanity checks, unused var warnings
6 years ago
Scott Lahteine 42f8b6c530
Make M125 work with SDSUPPORT (#12289) 6 years ago
Scott Lahteine 44f2a82a56 Move axis_homed, axis_known_position to motion.* 6 years ago
Chris Pepper 66d44c72c3 Add fast binary file transfer to SD card option (#12249) 6 years ago
Scott Lahteine 3583e2b449
Followup to Menu Refactor (#12275) 6 years ago
TheLongAndOnly 5536228359 G34 Auto-align multi-stepper Z axis (#11302) 6 years ago
Scott Lahteine 2bf18950ab Refactor LCD menus 6 years ago
MasterPIC 6fbc87301f 'G29 H' to set a centered square probe area (linear, bilinear) (#12242) 6 years ago
TheSFReader a07ac6312f G0 feedrate may be fixed or variable (#12172) 6 years ago
Ludy a93e9e6e9b Use preheat labels in place of PLA/ABS (#12194) 6 years ago
Scott Lahteine b381cad399 Clean up trailing whitespace 6 years ago
TheSFReader 1fb9b299d4 Add M524 to abort SD printing (#12155) 6 years ago
Scott Lahteine c6a5c74208 Add parentheses to SD macros 6 years ago
Marcio Teixeira 71e19baf69 Fix kill => disable_all_heaters => print_job_timer.stop (#12146)
- Remove `print_job_timer.stop()` from `disable_all_heaters`
- Call `print_job_timer.stop()` for relevant `disable_all_heaters()`.
- Split up `kill()` for watchdog interrupt safety
6 years ago
InsanityAutomation 3ec3872730 Single Z raise value for all tool-changing / parking (#12090)
* Universal tool-change Z lift
* Add TOOLCHANGE_ZRAISE to example configs
* Park/unpark changes to example configs
* Implement DEBUG_DXC_MODE
6 years ago
Marcio Teixeira f98f4ac7ea Fix and improve EXTENSIBLE_UI (#12117)
- Add methods to access print counter data
- Clean up some inconsistent method names
- Clear lcd status after filament change
- Implement `lcd_reset_status` so it works like UltraLCD
6 years ago
Scott Lahteine 8bf596bd4c RETRACT_ZLIFT => RETRACT_ZRAISE 6 years ago
Scott Lahteine bf0c809ff2 Update M165 comment 6 years ago
AnHardt 9ac9649183 Mixer - update descriptions (#12108) 6 years ago
AnHardt f56968ba0b New Continuous Filament Mixer (#12098) 6 years ago
Scott Lahteine 84b59d58fb Clean up whitespace 6 years ago
TheSFReader af939c158a Option for G0 to have a separate feedrate (#12089) 6 years ago
Scott Lahteine 951b25163e
Extend M217 with configurable park/raise (#12076) 6 years ago
Scott Lahteine 45e738876a Add stepper MS3 support
Co-Authored-By: TheLongAndOnly <thelongandonly@users.noreply.github.com>
6 years ago
Giuliano Zaro d43d4e4219 Refactor PRINTER_EVENT_LEDS, apply to M303 (#12038)
Co-Authored-By: Giuliano Zaro <gmagician@users.noreply.github.com>
6 years ago
Scott Lahteine d556dc1865
Fix and improve EEPROM storage (#12054)
* Clean up Temperature PID
* Improve EEPROM read/write/validate
* Group `SINGLENOZZLE` saved settings
* Group planner saved settings
* Group filament change saved settings
* Group skew saved settings
* Group `FWRETRACT` saved settings
6 years ago
Scott Lahteine 07d33849b0 Fix unused var warning, apply ENABLED 6 years ago
Scott Lahteine ce82015d5f Fix include in G80 6 years ago
Scott Lahteine 5f6aabccbe Tweak M48 spacing 6 years ago
Marcio Teixeira 906a24fa81 Extensible user interface API (#11193) 6 years ago
InsanityAutomation ee253991d4 Various fixups for single-nozzle filament swap (#12036) 6 years ago
Scott Lahteine 55e810d512 Fix G80 compilation 6 years ago
Scott Lahteine 7db0113b53 Improve E_AXIS_N macro 6 years ago
Sam Lane f2ecf8d510 Add option to control Solenoids under PARKING_EXTRUDER (#12028) 6 years ago
InsanityAutomation 74cd6cb4fc Single nozzle filament change (#11994) 6 years ago
Scott Lahteine d6b0fbd771
Use uint8_t for all fan speeds (#12032) 6 years ago
teemuatlut c447d75916 Add support for TMC2660 (#11998) 6 years ago
Scott Lahteine 52a37913c1 Extend and apply some corrections 6 years ago
thesfreader e09c144674 Add CNC-like G-code options 6 years ago
Scott Lahteine 3e58b3a5d4 Followup to #11943 6 years ago
teemuatlut c3229e1b34 Migrate to a new TMC library (#11943) 6 years ago
Eduardo José Tagle d6955f25b2 Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988) 6 years ago
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers (#11977) 6 years ago
AnoNymous b30ca652ae Replace MIN# / MAX# with variadic MIN / MAX (#11960) 6 years ago
Thomas Moore 3286325044 Add TMC2130 sensorless probing 6 years ago
Giuliano Zaro 70e7a465d8 [2.0.x] Fix compile error (#11951)
Fix compile error intruduced with M109 modification
6 years ago
Scott Lahteine 1410e79e7f Ensure M109 handles autotemp 6 years ago
Scott Lahteine e4389f7d23
Standard methods to wait for heating (#11949) 6 years ago
Victor Tseng 93839e2f73 Add option to enable/disable autoretract altogether (#11904) 6 years ago
Scott Lahteine cb6454118c Workaround for Pronterface M29 6 years ago
Scott Lahteine cee34f7290
Followup for BABYSTEP_HOTEND_Z_OFFSET (#11916) 6 years ago
InsanityAutomation 1104054d73 2.0 IDEX Independent z offset and other fixes (#11862)
* Add Formbot Raptor board

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Add a second Z probe Z offset

Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>

* Modify method to utilize live adjustment of hotend z offset

Should probably move config option to babystepping and rename as it may now apply to all multiextruder systems

* Move config item and catchup other code to current method
6 years ago
Marcio Teixeira c411e7eb0d [2.0.x] Squelch compiler warnings seen with -Wall (#11889) 6 years ago
Scott Lahteine e4ee607fc8 Fix Dual X FRS in M600
Co-Authored-By: InsanityAutomation <insanityautomation@users.noreply.github.com>
6 years ago
Scott Lahteine bae8f82ba8
[2.0] Fix Mixing Extruder mixing factors (#11861) 6 years ago
Scott Lahteine c5e5cc5e9f Fix some trailing whitespace, macros 6 years ago
Roxy-3D 0780913848 IDEX Improvements (#11848) 6 years ago
Scott Lahteine 53bd0b55cb Followup for 6 extruders 6 years ago
Scott Lahteine 1718eff54a Code changes supporting up to 6 extruders 6 years ago
Thomas Moore c437bb08f1 Overhaul of the planner (#11578)
- Move FWRETRACT to the planner
- Combine leveling, skew, etc. in a single modifier method
- Have kinematic and non-kinematic moves call one planner method
6 years ago
Holger Müller 1a6f2b29b8 Add support for Triple-Z steppers/endstops 6 years ago
Sam Lane 4f883d5971 [2.0.x] Extruder-Distinct Linear Advance K Factors (#11789) 6 years ago
Sam Lane 1b6bc19427 Add external closed loop controller support 6 years ago
Alexander Amelkin bc1ba998b2 [2.0.x] Fix undefined symbol 'g29_in_progress' (#11781) 6 years ago
InsanityAutomation bad225dc04 Fix mesh leveling compile errors (#11768) 6 years ago
Scott Lahteine 2a61c9a939 Various fixups to configs, spacing, etc. 6 years ago
Scott Lahteine d10f29ae2e Pass segment length in G2-G3 6 years ago
Roxy-3D d5379ee9d6
Fix search for white space in enqueued commands 6 years ago
Scott Lahteine d1ceaf5550
[2.0.x] Followup to IDEX changes (#11707) 6 years ago
Scott Lahteine 8e18e48d49
Merge pull request #11610 from Freeviv/bugfix-2.0.x
[2.0.x] Editable servo angles
6 years ago
Roxy-3D 7680b64aa6
IDEX clean up (#11690) 6 years ago
scott0122 607c1e58d9 Improve HOTEND OFFSET Z display precision to 3 (#11685) 6 years ago
Scott Lahteine 3e81745e81 Fix issues, make optional 6 years ago
Jan aa80e448e2 Store servo angles in EEPROM 6 years ago
Scott Lahteine 2a2e8c314e Suppress emergency parser G-code errors
Co-Authored-By: srieche <srieche@users.noreply.github.com>
6 years ago
Scott Lahteine d1c9517903 Followup to hotend_offset[Z] patch 6 years ago
Colin Gilgenbach 593d5375ea Fix G28 resetting DUAL_NOZZLE_DUPLICATION_MODE (#11605)
There's no reason for G28 to reset DUAL_NOZZLE_DUPLICATION_MODE, because it only affects the E stepper, unlike DUAL_X_CARRIAGE which affects the X steppers as well.
6 years ago
Scott Lahteine 8f0bbdcc9b
Fix up Max7219 orientations (#11596) 6 years ago
Scott Lahteine 56f1e17a25
[2.0.x] Max7219 cleanup, simplify, and extend (#11575) 6 years ago
Roxy-3D aae4c67e5d
Max7219 Clean Up (#11563)
Some of the Rotations did not do the right thing with setting and clearing pixels.
I think it is correct now.   But if not...  It is much closer to being correct.
6 years ago
Scott Lahteine a4b0148365 Easier to find 'static inline' 6 years ago
Roxy-3D 65c5227c29
Change M7219 I to setup Max7219 registers, but not do initialization pattern 6 years ago
Roxy-3D 60f1376798
Make M7219 I more robust and nice to look at
Make M2719 initialize the Max7219 registers and then run the initialization pattern (if one is specified).
6 years ago
Roxy-3D fd15b1495a add I parameter to M42 to allow access to sensitive pins 6 years ago
Scott Lahteine 0af22549a6 Allow G33 to compile with no LCD 6 years ago
Giuliano 4237c3d9f8 [2.0.x] different bltouch init (#11135) 7 years ago
Scott Lahteine e05e95cf97 Clean trailing whitespace 7 years ago
teemuatlut fbcdf5eaeb Simplify stepper driver per-axis selection 7 years ago
Scott Lahteine 4685c7d59f Followup to M91x I patch 7 years ago
Roxy-3D 9660996cc3
Add Multi Unit Support for Max7219 to bugfix_2.0.0 (#11285)
* Add Multi Unit Support for Max7219 to bugfix_2.0.0

* Apply multi-MAX7219 to example configs

* Tweak some spacing, macros
7 years ago
Giuliano aed1d17a2d Initialize default units (#11295)
When `INCH_MODE_SUPPORT` is enabled no default unit is set. This fixes it.
7 years ago
Scott Lahteine fd8a76493b
Unify M91x parameter I meaning, simplify reports (#11249) 7 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Scott Lahteine d960d448fa Optimize calculations with LROUND 7 years ago
Scott Lahteine 9c058091e9 No M914 or SGT set for non-sensorless axes 7 years ago
Scott Lahteine 1a0f4dedad
Fix and improve POWER_LOSS_RECOVERY (#11187) 7 years ago
Scott Lahteine e0ab8acf19 Add "Marlin Dev Mode" option 7 years ago
Scott Lahteine c51e27d11d
Do a hard kill for failed homing moves (#11161) 7 years ago
Scott Lahteine 90ba77ea0f Lose the old HOMEAXIS macro 7 years ago
Scott Lahteine 8eaac0dab3
Add delta feedrate scaling (#11153) 7 years ago
Scott Lahteine 05518d6add Add newline to end of file 7 years ago
Scott Lahteine a431013eb7 Fix G33 compile warning 7 years ago
Colin Gilgenbach 0fff79c24b Fixes G29_with_retry behavior (#11045)
* Fix G29 (ABL) retry behavior
7 years ago
Scott Lahteine a264030526 Fix "G29" G29_MAX_RETRIES handling 7 years ago
Andy Shaw 3b3029c4bf Make max_e_jerk an array to reduce CPU usage (#11118) 7 years ago
Scott Lahteine 229b26b02c Clear LED matrix without startup test 7 years ago
Scott Lahteine a2a30ff0ac Use Tool 0 for Dual X Axis G29
See https://github.com/MarlinFirmware/Marlin/issues/5597#issuecomment-397683325
7 years ago
Scott Lahteine e366d55bc2 Don't reset stepper timeout for all g-codes 7 years ago
Roxy-3D 7c54c4ed27
Tiny improvement to M7219
The registers within the Max7219 can get corrupted a number of ways.  This allows the Max7219 to be reset and fully initialized.
And...  it also allows the user to see the initialization pattern.
7 years ago
Scott Lahteine d4795e5b8e
[2.0.x] Tweaks and additions for MAX7219 (#11034) 7 years ago
Scott Lahteine e23677a7b2 Update some G-code comments 7 years ago
Giuliano cce0523a95 [2.0.x] reset bltouch on home (#11018)
Added reset bltouch instead. This ensure properly stow even when in error.
7 years ago
Karl Andersson e0276d2f32 Official STMicroelectronics Arduino Core STM32F4 HAL compatibility (#11006) 7 years ago
Scott Lahteine 9d04f47d98 Improvements for junction_deviation_mm
- Drop `max_jerk` with `JUNCTION_DEVIATION`
- Add `max_e_jerk_factor` for use by `LIN_ADVANCE`
- Recalculate `max_e_jerk_factor` when `junction_deviation_mm` changes
- Fix LCD editing of `junction_deviation_mm`
7 years ago
Scott Lahteine f2c3b0d476 Use bit flags for homed/known 7 years ago
Scott Lahteine 4832be52d7 Followup to G29 O 7 years ago
Robert Mendon 86170e6a66 [2.0.x] Add O (optional) flag to G28/G29 (#10913) 7 years ago
Scott Lahteine 117fd007a9 Followup to pin error change 7 years ago
Scott Lahteine 20a5db03bb Junction Deviation limit (0.01 to 0.3) 7 years ago
Scott Lahteine a2f521d34b
Add Junction Deviation mm runtime setting (#10990) 7 years ago
Scott Lahteine 590ce1c33e Fix serial debug ouput 7 years ago
Scott Lahteine 968a5d2e63 Protected pin err for M226 7 years ago
Giuliano f1cdfe3dfd [2.0.x] stow bltouch before start homing (#10987) 7 years ago
etagle 99af086cea Add hidden Serial overflow debug options 7 years ago
Scott Lahteine 3f2a062a57 Fix M914 value range (-64...+63)
Fix #10896
7 years ago
Eduardo José Tagle 6f330f397e [2.0.x] Buffer overflow and scroll fix, UTF8 cleanup (#10844) 7 years ago
Scott Lahteine 645df23eb0 Fix warning with FASTER_GCODE_PARSER disabled 7 years ago
Scott Lahteine a94506ada0 Fix K8400 Y min pos, M118 comment 7 years ago
Scott Lahteine 230ae6a143 Default G30 to engage / disengage 7 years ago
etagle a11eb50a3e Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago
Scott Lahteine 83d42f33e1 Add HAS_HOTEND_OFFSET_Z conditional 7 years ago
GMagician 3c76bda2d8 Fix switching extruder
`DONT_SWITCH` got lost along the way. Replace it with `DO_SWITCH_EXTRUDER` and adjust the code.
7 years ago
Scott Lahteine c173a31060 Fix some compile warnings 7 years ago
Scott Lahteine 50270b53a0 Clear up some more compile warnings 7 years ago
Scott Lahteine eb2eb72720
Modify UBL mesh_is_valid and use in leveling_is_valid (#10746) 7 years ago
Scott Lahteine 35258dd50b Consistent heating status and status reset
Fix #10699
7 years ago
Scott Lahteine 08e36e264e Apply _AXIS macro 7 years ago
Scott Lahteine 99ecdf59af Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 8f8c6a9bc4
Move get_axis_position_mm to Planner (#10718) 7 years ago
Scott Lahteine f5aaa2d6c0 Fix some compiler warnings 7 years ago
Scott Lahteine 625035a9ce
Fix M301 access to lpq_len (#10714)
Co-Authored-By: Zwaubel
7 years ago
Scott Lahteine 306f0f2135
Move Stepper::synchronize to Planner (#10713)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
ManuelMcLure 8679f671ed Remove dependency on PI. (#10701) 7 years ago
Scott Lahteine 6671c064cd
Use arc moves for G26 if enabled (#10696)
Co-Authored-By: ManuelMcLure <manuelmclure@users.noreply.github.com>
7 years ago
Scott Lahteine c43235dd39 Remove non-special comments 7 years ago
ManuelMcLure 613a3be167 Remove hidden dependencies on destination. Fixes #10686. (#10691) 7 years ago
Scott Lahteine b76344c080 More Trinamic cleanup 7 years ago
Giuliano 44f3a6dc3b [2.0.x] Add missing axes to M911, M912 (#10668) 7 years ago
Scott Lahteine 19f189b4e5
Add UBL support for G2/G3 and G5 (#10648) 7 years ago
Scott Lahteine bfe223e120 Adjust usage of stepper.synchronize 7 years ago
Scott Lahteine af1950a63e Improve sync of stepper positions 7 years ago
Scott Lahteine d7b699ec34 Fewer includes of vector_3.h 7 years ago
Scott Lahteine 05fca752d6 Clean up autostart handling 7 years ago
Scott Lahteine 05c33833e7
[2.0.x] Add NO_LCD_MENUS option (#10582) 7 years ago
Scott Lahteine 59fda986ea Allow Z_AFTER_PROBING to be 0 7 years ago
Scott Lahteine 9e0d99c0c6
Round all floats in string conversion functions (#10566) 7 years ago
Scott Lahteine cd08f01bb4 Fix M421 comment in gcode.h 7 years ago
Scott Lahteine 8db7fb226a Fix M420 C for UBL 7 years ago
Marcio Teixeira 724e9f56c8 Removed "const" to match parser. (#10548) 7 years ago
Giuliano 2e1939e85c [2.0.x] report error on unsupported commands (#10553)
Raise an error when an unknown/unsupported G/M command is requires.

This will address #10546
7 years ago
Scott Lahteine a51ba6e3f6 Fix ABL grid bounds test for Delta/SCARA
Addressing #10538
7 years ago
Scott Lahteine 63e0b36f8b Fix G29_RECOVER_COMMANDS typo 7 years ago
Scott Lahteine eef0248a1c
Add M420 C to adjust the whole mesh (#10522) 7 years ago
Marcio Teixeira 02a711c4d6 [2.0.x] Fix crash upon repeated calls to process_subcommands_now_P (#10509) 7 years ago
Scott Lahteine f06c3c38b9 Fix M0_M1 with no LCD 7 years ago
Scott Lahteine f423e54f77 Strip trailing spaces 7 years ago
Scott Lahteine cb46cb8480
Add HAS_HEATED_BED conditional (#10495) 7 years ago
Scott Lahteine 1c3d49afe0 Fix G28 with Z_AFTER_PROBING
Fix #10476
7 years ago
Scott Lahteine 023385ca59
Merge pull request #10479 from thinkyhead/bf2_creality_power_loss_resume
[2.0.x] Creality3D Power-Loss Recovery
7 years ago
Scott Lahteine 3396671011
[2.0.x] Reset LCD status to fallbacks (#10470)
* Remove obsolete strings
* Tweak some static consts
* Reset LCD status to fallbacks
7 years ago
Scott Lahteine 11ab017dd0 Creality3D Power-Loss Recovery 7 years ago
Scott Lahteine 7dcd0a1cff Add R parameter to G28 to specify pre-raise 7 years ago
Scott Lahteine a90cbc6339
[2.0.x] Wait for bed heaters between probing (#10472) 7 years ago
Scott Lahteine d8a8eec6ea Add THERMAL_PROTECTION capability
Based on #10465

In response to `M115` the firmware reports if Thermal Protection is enabled (1) or not (0). This information can be used by software such as OctoPrint (more precisely the Printer Safety Check plugin) to warn users when Thermal Protection is not enabled in the firmware.

Co-Authored-By: andrivet <sebastien@advtools.com>
7 years ago
Scott Lahteine 65a6a86d19 Don't report point 0 in MBL G29 7 years ago
Marcio Teixeira 5cc7916e69 Add G29_RETRY_AND_RECOVER feature
- Add an option to retry G29, optionally executing a G-code procedure after each failed probe.
7 years ago
Scott Lahteine 78ea4871f9 Fix up enqueue now functions
…and apply to MALYAN_LCD.
7 years ago
Scott Lahteine df2f24617b Use 0 as the bed position (not Z_MIN_POS) 7 years ago
Scott Lahteine 52c024e260 M221 with no parameters report flow 7 years ago
Scott Lahteine 0746aff595 Improve UBL mesh report. Add M420 T, M421 N 7 years ago
Scott Lahteine 99282a46e9 Make sure ABL (manual) starts close to the bed 7 years ago
Scott Lahteine 3c5c6d478a Prettify process_parsed_command 7 years ago
Scott Lahteine bb7064cc30 Tweak MBL move to bed code 7 years ago
Scott Lahteine daa712455b Make sure MBL starts close to the bed
Fix #10390
7 years ago
Scott Lahteine 4c8751727a Fix M118 parameter handling
Fix #10388
7 years ago
Luc Van Daele 646aa20b43 Overhaul of G33 Delta Calibration (#8822) 7 years ago
Luc Van Daele ac2e0afb62 Low Point for delta calibration (#10363) 7 years ago
Sean 2d9b0a66fe Add Filament Change accelerations 7 years ago
Scott Lahteine 8b8ad14178 Add Z_PROBE_LOW_POINT to prevent damage 7 years ago
Scott Lahteine cea398849e Tweak to gcode_line_error/return 7 years ago
Scott Lahteine e8e60263c8 Scale feedrate (mm/s to deg/s) for SCARA 7 years ago
Marcio Teixeira 8bc93c6f2b Improve heating/cooling LCD messages (#10293) 7 years ago
Scott Lahteine 241996d5d6
Merge pull request #10257 from thinkyhead/bf2_tool_change_debug 7 years ago
Scott Lahteine adcb87f0db Z Endstop Servo => Z Probe Servo 7 years ago
Scott Lahteine 1a75165f35 For set_z_fade_height use set_bed_leveling_enabled 7 years ago
Scott Lahteine 55e9b85ad6 Clear the "Wait for user" message set by M0/M1
See https://github.com/MarlinFirmware/Marlin/issues/10246#issuecomment-377146936
7 years ago
AnHardt c1f58a238d No delay in sensorless quick homing (#10254) 7 years ago
Scott Lahteine 1be955e52a Alert users about low Z jerk values 7 years ago
Scott Lahteine 9e4c037cef
Wait before turning off PRINTER_EVENT_LEDS at print end (#10248) 7 years ago
Scott Lahteine 7b8bb2519e Fix gcode_line_error call
Followup to 3007eee
7 years ago
Scott Lahteine aa20b3ef7c Fix linear/3-point manual leveling buffer overrun
Fixes #10137
7 years ago
Scott Lahteine 38378cd0e8 M218 with DELTA needs planner.h
Fix #10232
7 years ago
Scott Lahteine 3007eee22e Require a checksum when writing to SD
From #10204 by @adriancuzman
7 years ago
Bob-the-Kuhn 9656a82609 Fix G53/CNC_COORDINATE_SYSTEMS compilation, Travis testing (#10227) 7 years ago
Rob Power d1f14202a9 [2.0.x] NANODLP_Z_SYNC requires linear axes (#10240) 7 years ago
Scott Lahteine 1cb810ff1c
[2.0.x] Automatically reset stepper timeout (#10179)
* Automatically reset stepper timeout in manage_inactivity

Any code that adds moves to the planner can skip resetting the stepper timeout. We can let `idle` / `manage_inactivity` reset the timer whenever it detects any moves in the planner.

* blocks_queued => has_blocks_queued
7 years ago
Scott Lahteine 045ee28c50 Tweaks to M915 7 years ago
Scott Lahteine ff304d3767 Allow G53 to go back to native space 7 years ago
Scott Lahteine bc45fb6b13 Tweak use of move_z_after_probing 7 years ago
Scott Lahteine c352954882 Allow no raise after run_z_probe in probe_pt 7 years ago
Scott Lahteine ae39fbd646 Also suppress keepalive with suspend_auto_report 7 years ago
Scott Lahteine a46bac3100 Add 'I' parameter to M906/M913/M914; 'T' to M906/M913 7 years ago
Scott Lahteine cfc13ed7f3 Quiet M906/M913/M914 with axes. Patch for DISTINCT_E_FACTORS. 7 years ago
Scott Lahteine 48d7036874 Consolidate smart stepper driver initialization 7 years ago
Scott Lahteine dd2949922b Consolidate 3-point leveling point options 7 years ago
Scott Lahteine 8922b56b58 Fix some spelingz 7 years ago
Scott Lahteine a6feb58837
Delta support for multiple hotends with offsets (#10118) 7 years ago
TheSFReader 2e43438e0c Add C parameter to M27 to include the long filename
In answer to #10001

Add an option to retrieve the currently open file name (long filename if possible).
7 years ago
Scott Lahteine 14c03cb6f4
[2.0.x] Make MIN_PROBE_EDGE a general option (for electronic probes) (#10069)
Some probes don't work near the edges of the bed. This change promotes MIN_PROBE_EDGE to a general setting that applies to all probing functions.
7 years ago
Scott Lahteine 5b45aab262 M218: report with no parameters 7 years ago
Scott Lahteine 28f1276286
[2.0.x] Add Z_AFTER_PROBING option (#10058)
Some "fix-mounted" probes need manual stowing. And after probing some may prefer to raise or lower the nozzle. This restores an old option but tailors it to allow raise or lower as preferred.
7 years ago
Scott Lahteine bae1cb859c Patch flush_and_request_resend for 1.1.x parity 7 years ago
Bob-the-Kuhn 0d8c15c01f restore PR 9661 files & V1 fix 7 years ago
Scott Lahteine 751785fc97 Followup to recent patches
- `M666` is static, not inline
- Disambiguate some stepper macros
7 years ago