984 Commits (01e4b0c067c23defa78a7c68bef872f132728875)

Author SHA1 Message Date
GMagician 82ecaa767e Remove unused code in M100
queue.buffer is in bss area, start_free_memory starts from heap then above of bss
6 years ago
Scott Lahteine d16954dc88
Make KEEPALIVE_STATE a scoped auto-restore (#14446) 6 years ago
Marcio Teixeira e6cf7860e8 Improve ExtUI, fix compiler errors, warnings (#14441) 6 years ago
Darsey Litzenberger 946f6bdeaa Disable leveling during G12 (#14385) 6 years ago
Scott Lahteine 4d5a1984e2 Simplified fan handling code 6 years ago
Scott Lahteine 93cd66ac11 Tweaky change from (C) to (c) 6 years ago
Scott Lahteine d7d80418ae
Singleton for cutting tools (#14429) 6 years ago
Tim Moore 81209f5310 'M105 R' to report redundant temp sensor (#14324) 6 years ago
InsanityAutomation ce656e2a26 Update G-code injection, sub-commands (#14418) 6 years ago
Scott Lahteine 2580104c8b Revert recent probe changes
- Revert "Fix FIX_MOUNTED_PROBE compile error (#14393)"
- Revert "Fix G28 with non-BLTouch probes (#14381)"
- Revert "Fix BLTOUCH deploy/stow in HS mode (#14352)"
- Revert "Apply needed BLTouch patch (#14233)"

Co-Authored-By: AnHardt <github@kitelab.de>
6 years ago
BigIronGuru 9f136a7c67 Low-priority homing in G34 (#14391) 6 years ago
Scott Lahteine 49627069a5 Shorthand for home-after-deactivate 6 years ago
Marcio Teixeira 8e23e9b16c Fix FIX_MOUNTED_PROBE compile error (#14393) 6 years ago
Scott Lahteine cf762d2c73 Fix enqueueing bug 6 years ago
BigIronGuru 12d21e642f Update G34 for non-BLTouch probes (#14380) 6 years ago
BigIronGuru 5986194c36 Fix G28 with non-BLTouch probes (#14381) 6 years ago
InsanityAutomation aa0383a83b Enhance IDEX toolchange auto-return w/ no park, full control (#14117) 6 years ago
Scott Lahteine 17778d1c2a Fix M916-918 subcommands 6 years ago
Tanguy Pruvot be69ec5b32 Fix PLR/M43 warnings (#14333) 6 years ago
BigIronGuru 9c83135d40 Only home Z at the end of G34 (#14353) 6 years ago
LinFor 0f6f5132c1 Fix variable conflict in ok_to_send (#14351) 6 years ago
InsanityAutomation a9acd2f497 G34 configurable angle limit (#14321) 6 years ago
Scott Lahteine 4df4c47994
Add TMC2209 support (#14249) 6 years ago
Scott Lahteine 4c872a01f2
G-code queue singleton, front injection (#14236) 6 years ago
InsanityAutomation bf64dd4db6 Improve G34, M422 (Z alignment) (#14142) 6 years ago
Scott Lahteine 3f6424076b Update M524 description 6 years ago
Scott Lahteine cf3631226b Document G-code M290 6 years ago
Scott Lahteine 903863dcb6 Suppress some warnings 6 years ago
mb300sd bf8bfb5c66 Add Coolant Control M7/M8/M9 (#10745) 6 years ago
Scott Lahteine bc2ff9b41f Fix M605 bugs
Fixes #14191
6 years ago
Scott Lahteine 04715e04ee Minor M100 cleanup 6 years ago
Scott Lahteine 356410dcfc Move crc16 function to libs 6 years ago
Scott Lahteine 1ef95013f0 Update Marlin.cpp includes, defines 6 years ago
Tanguy Pruvot 8cf5504a34 Redundant but faster recovery.enabled test (#14175) 6 years ago
Scott Lahteine 0ca2073625 ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED => SD_ABORT_ON_ENDSTOP_HIT 6 years ago
Robby Candra 5ca8d51e12 Ability to insert G-code in front of queue (#14229) 6 years ago
Ludy 8e8e48f900 Fix links in templates, gcode.h (#14160) 6 years ago
Minims 32afe1d102 Fix TOOLCHANGE_ZRAISE warning (#14156) 6 years ago
Scott Lahteine 3c179bbd47 Simpler G28 home axis conditions 6 years ago
Scott Lahteine 352734494b Reduce some M43 strings 6 years ago
Scott Lahteine b14cc0d7c5 Remove extra gcode. prefix 6 years ago
Scott Lahteine c6d39319de Fix some whitespace 6 years ago
InsanityAutomation 212860f090 Always change to Tool 0 on G29 (#14146) 6 years ago
Bryan 0ef5d667b6 Fixed M43 parameter bug (#14099) 6 years ago
teemuatlut 1c86fbc60b TMC updates, capture LCD changes (#14074) 6 years ago
Scott Lahteine fc52c43a26 Some documentation updates 6 years ago
Tanguy Pruvot 24b1818245 Secure STM32F1 servo code and M280 detach (#14085) 6 years ago
Scott Lahteine aeec9ef76b Update backlash code 6 years ago
Tanguy Pruvot 87e7193259 Fix M226 sign warning (for most platforms) (#14049) 6 years ago
FanDjango 85fb33a060 BLTOUCH tweaks, new v3.1 command (#14015) 6 years ago
Scott Lahteine 785c01f2bc Use US spelling of 'behavior' 6 years ago
Sam Lane 7f1e0c5670 Update EXTRA_LINADV_K with Marlin bit macros (#13993) 6 years ago
Robby Candra 7b78a20fb7 Fix: Debug Memory Dump size (#13957)
* Fix Memory Dump size

* Fix Compile error on Memory Dump
6 years ago
Giuliano Zaro f22c9a1ae1 Fix G-code parser with MMU2 (#13951) 6 years ago
Bob Kuhn fa3739aa23 M100: LPC1768 and DUE compatibility (#13962) 6 years ago
Scott Lahteine ad4ffa1d2f
Use C++ language supported 'nullptr' (#13944) 6 years ago
InsanityAutomation 6811e2921b BLTouch v3 / 3DTouch Interoperability & performance (#13814) 6 years ago
Ludy a504366138 Fix probe fan compiling error (#13930) 6 years ago
Stephan 483822f3aa Fix some THERMAL_PROTECTION_CHAMBER issues (#13678) 6 years ago
doggyfan 23a8707ef1 Configurable Thermistor (#13888) 6 years ago
Ludy f96eaad1ea Unused variable cleanup (#13917) 6 years ago
Giuliano Zaro e2a77ed881 Bring chamber temp to completion (#13837) 6 years ago
Marcio Teixeira 15357af67c Backlash cleanup (#13659)
…And save backlash, fil. sensor, ExtUI userdata to EEPROM.
6 years ago
Robby Candra c369477cb0 Fix bug: diveToFile breaks M23 (#13865) 6 years ago
Thomas Moore ee243e4edf Fix mixing extruder filament change (#13803) 6 years ago
InsanityAutomation 610fb46683 Fix some ExtUI issues (#13799) 6 years ago
Bob-the-Kuhn 73726d56b3 Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x 6 years ago
Scott Lahteine 5051909c3c
Update do_select_screen for general use (#13800) 6 years ago
Giuliano Zaro e2dd2268e8 Add a Z raise-between-probes to G34 (#13791) 6 years ago
Scott Lahteine 0c4d3e6622 Improve M906 description 6 years ago
Bob-the-Kuhn 520585c5ed Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x 6 years ago
Scott Lahteine 92ed9a2bb6 Fix is_M29
Followup for #13013
6 years ago
Scott Lahteine 9992c424f5 Patch G92.9 flags
Followup to #13703
6 years ago
Msq001 455ee23499 Fix, improve Power Loss Recovery (#13703)
- Save and restore workspace offsets
- Add retract and purge (hidden) options
- Always restore axis relative modes
- Use added `G92.9` to do position restores
6 years ago
InsanityAutomation aa0f7afbe6 Fix call to uninitialized PWM pin, heater 2 overlap (#13674) 6 years ago
Bob-the-Kuhn 9dd4252b39 Merge branch 'bugfix-2.0.x' of https://github.com/MarlinFirmware/Marlin into bugfix-2.0.x 6 years ago
Scott Lahteine 7e58d33a2e Update some headers 6 years ago
Jamie 509dc283f2 Restore declarations of G53-G59 (#13654) 6 years ago
InsanityAutomation 4900c28bf6 Fix IDEX tool-change, and more (#13614) 6 years ago
Scott Lahteine 5e38d70697 Fix M217 report label, general cleanup 6 years ago
Scott Lahteine fae2b7edc3 Update MMU2 code style 6 years ago
Scott Lahteine c8a83fb122 SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA 6 years ago
Bob Kuhn 9a56d90150 Fix M43 on LPC176x (#13587)
The real fix. PR #13568 was wrong.
6 years ago
Roxy-3D 9cee81d47e Option to show babysteps total since G28 (#13580) 6 years ago
Scott Lahteine cf12fc8366
Expand on serial debugging (#13577) 6 years ago
Marcio Teixeira bf7b28b456 Fix incorrect variable name (#13585) 6 years ago
Scott Lahteine cacec5764a Clean up whitespace 6 years ago
Marcio Teixeira 27a4927ed1 Add option to move away from endstop after homing. (#13557)
Add option to move away from endstop after homing.
- Add `ENDSTOP_BACKOFF` for printers with a recessed Z home button (Lulzbot TAZ 6).
- Also prevents chattering when sensorless homing with axes against bumpers.
6 years ago
Scott Lahteine af92ee9dd6 No PLR include needed in queue.cpp 6 years ago
Scott Lahteine 2aa35e95af More G26 arc cleanup
Followup to #13531
6 years ago
Scott Lahteine a0a5c31c05
Power-Loss initialization fix (#13553)
- Only save to PLR file on moves with E and X or Y
- Save to PLR after any long-ish Z downward move
6 years ago
InsanityAutomation fbc7b51a24 Use NO_FETCH for Dual X G28 (#13539) 6 years ago
InsanityAutomation 4961d8aa3e Update G28.cpp (#13539) 6 years ago
ManuelMcLure 04086fc455 Minor optimization to ARC_SUPPORT code (#13531) 6 years ago
Robby Candra a3f67acd6d Fix Power Loss Recovery file delete (#13522) 6 years ago
Marcio Teixeira 5679fae11e UltraLCD enhancements (lower fan resolution, backlash menu) (#13519) 6 years ago
Marcio Teixeira c6466c23fe Silence signed/unsigned comparison warning. (#13508) 6 years ago
InsanityAutomation 7240e3a68f Allow G26 with no heated bed (#13511) 6 years ago
Sam Lane e3ab54753b Add extra Linear Advance factors (#13490) 6 years ago
Thomas Moore 263f8edff8 Disable volumetric extrusion during G26 (#13479) 6 years ago
Chris Pepper aacc1148b0 Fix M106 for index > extruders (#13473) 6 years ago
7eggert d96f7d6068 Minimum segments for G2/G3. Better for small arcs. (#13466) 6 years ago
Sam Lane a8fa275dc6 Fix Fan 0 responding to all fan speeds (#13444) 6 years ago
InsanityAutomation 5b2c37d6c1 Followup to BLTouch (#13422) 6 years ago
InsanityAutomation 3fb8489ae3 EXTUI and UBL compilation fixes (#13420) 6 years ago
Scott Lahteine b376c7e374 Group DISABLED items 6 years ago
InsanityAutomation 691e5c3bb8 BLTouch V3.0 support (#13406) 6 years ago
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
InsanityAutomation 09eb30dc05 IDEX Mirror mode based on Formbot / Vivedino Symmetric mode (#13404) 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
Andrei Pozolotin cc8a871705 Add capability string CHAMBER_TEMPERATURE (#13391)
Reference: #13380
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
InsanityAutomation c03df89921 ExtUI Mesh Leveling Extensions (#13363) 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 d63da4592d Tweak to SCARA_move_to_cal 6 years ago
Scott Lahteine d94e077901 Apply HAS_HOTEND_OFFSET where needed 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
Michiel Baird b824a517aa Add G38.4 and G38.5 (#13348) 6 years ago
Tobias Frost 60e82e3929 Send notifications to ExtUI for M0/M1 (#13344)
- Send notifications to ExtUI for M0/M1

- wait_for_user can be non-volatile (not changed by interrupt)
  C / C++ compilers don't optimize away reads of non-volatile variables when a function call is used between accesses, because *any* variable could be changed by the function call. Since `wait_for_user` can't be changed without a function call, it should be non-volatile so the compiler can optimize away cases where it is read more than once without an intervening function call.
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
InsanityAutomation d54741eda8 Update some G26 plausible values. Add speed control. (#13330) 6 years ago
3dlabsio 645ca7af7a M141 Heated Chamber, Temperature rework (#12201) 6 years ago
Scott Lahteine cfdb38eda4
Allow SERIAL_ECHOPAIR to take up to 12 pairs (#13311) 6 years ago
Scott Lahteine 2e5a3b01fd Save Power Loss Recovery only on move commands 6 years ago
Scott Lahteine 2212da453a
Distinguish between analog/digital auto fans (#13298) 6 years ago
Chris Pepper 2513f6b550
Fix multiport G28 with Binary Transfer (#13308) 6 years ago
Scott Lahteine 35ae5daf2d Split up sdcard G-codes 6 years ago
Scott Lahteine 3f36a38512 Clean up some pre-serial-redirect includes 6 years ago
Scott Lahteine edc4e037c4 Add a note to G10 6 years ago
Chris Pepper b0553d2d97 Add M997 support and simple implementation for LPC176x (#13281) 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
Chris Pepper 7de6476b3d
Fix binary protocol error 6 years ago
Scott Lahteine 2c10222e87 card.transfer_port => transfer_port_index 6 years ago
Chris Pepper 4ab433d391 Fix binary protocol with one serial port (#13270)
- The `sdcard.transfer_port` variable is Marlin's internal serial port index, not the physical serial port number.
- Added packet number to "ok" response so hosts don't need to wait for the ACK.
- Renamed feature to `BINARY_FILE_TRANSFER`, as the speed up is only consequential to the ability to transfer binaries over serial.
6 years ago
Bob Kuhn ddbe4cfa20 Printrboard G2 support (#13116) 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
Minims 92a4984066 Fix G34 probe position (#13251) 6 years ago
Scott Lahteine e15354e387
Simplify serial port redirect (#13234) 6 years ago
Bruce j Beare 562f2321d2 Fix a G34 bug, allow negative Z corrections (#13240) 6 years ago
Marcio Teixeira 109e67169c Define G21 as NOOP w/o INCH_MODE_SUPPORT (#13229)
Ticket #13228

If `INCH_MODE_SUPPORT` is undefined, G20 is an unknown command as it should be (Marlin is, by default, operating in metric mode). G21, however, is found in many slicers and printer start gcode sections and should be accepted (as a NOOP) to avoid the unknown commands.
6 years ago
Scott Lahteine 80359c9937 Add more parameters to M240
Co-Authored-By: shitcreek <45380455+shitcreek@users.noreply.github.com>
6 years ago
Scott Lahteine 89bbc30a09 Fix init of power supply pin
Fix #13184
6 years ago
LinFor ba39186364 TMC_DEBUG optimization and improvements (#13135) 6 years ago
Scott Lahteine 3a1b6fe8c1 Coding standards 6 years ago
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