575 Commits (5a470d4a494cfb4704d73cfedbcfc8ee9ffc4e60)

Author SHA1 Message Date
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
Scott Lahteine f003173752 Fixup M666
Followup to d6df032
7 years ago
Bob-the-Kuhn bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h" 7 years ago
Sebastianv650 fd1d590726 [2.0.x] Silence M204 (#10037)
`M204` is often used by slicers to set acceleration depending on perimeter, infill, etc., so Marlin's answers are flooding the serial windows. Silence `M204` according to the philosophy that setter commands should only send a reply if no parameter is given.
7 years ago
Scott Lahteine d6df0322c2 Update M666 for XYZ dual endstops 7 years ago
Scott Lahteine fbc41c0e98 Update Marlin G-code summary 7 years ago
Scott Lahteine ddce486360
Merge pull request #10032 from thinkyhead/bf2_unknown_z_no_raise
[2.0.x] Add UNKNOWN_Z_NO_RAISE to prevent Z grinding
7 years ago
Scott Lahteine 419d12ca1b Add UNKNOWN_Z_NO_RAISE option
With this option enabled, Z won't ever be raised until after `G28` has been completed, and it won't raise if Z becomes unknown. This is good for machines whose beds fall when Z is powered off.
7 years ago
Bob-the-Kuhn 914bb80bde removed SDSS init
added device & comm drivers for shared SPI LCDs

mistyped some updates in ultralcd_impl_DOGM.h

remove unwanted changes in onfiguration.h

still can't type

Update HAL_LCD_class_defines.h

include USB mass storage & misc
7 years ago
Scott Lahteine 49ca67202f Patch configuration_store for extra serial port
Fix #9948
7 years ago
Scott Lahteine 3c2bfa5e53
Update powersupply_on in power_on/off (#10015)
Fix #10004
7 years ago
Scott Lahteine 42608b1925 Init old_red to 127 to ensure initial change
Fix #10012
7 years ago
Scott Lahteine ffbf63e6af Add HAS_TEMP_SENSOR conditional 7 years ago
Scott Lahteine 920d92aa46
Merge pull request #9974 from thinkyhead/bf2_tmc_util_progmem
[2.0.x] Move tmc_util.* extended_axis_codes to PROGMEM
7 years ago
Scott Lahteine b198b49d15 Followup to AUTO_REPORT_SD_STATUS
Followup to #9832
7 years ago
Scott Lahteine 2057177184 Make enums into implicit char 7 years ago
Scott Lahteine e28e3bb532 Move extended_axis_codes to PROGMEM 7 years ago
Scott Lahteine bf9fc8ac0e M851 - report only without parameters 7 years ago
Scott Lahteine 61620cbd15 Tweak M211 7 years ago
Scott Lahteine 6e08ddce6e Correct M401 / M402 description 7 years ago
Scott Lahteine 88b6a15b47 Update M900 verbiage 7 years ago
Scott Lahteine 91db7930dc Drop SCARA_FEEDRATE_SCALING
The updated planner takes the length of the move, so this pre-calculation is no longer needed.
7 years ago
Scott Lahteine 118899357d
Add sanity checks to Linear Advance 1.5 (#9873) 7 years ago
Scott Lahteine a446433c87
Fix SENSORLESS_HOMING for Core Kinematics (#9868) 7 years ago
TheSFReader eb079959fb Report sd card progress [FR] #9751 (#9832)
* SD Status auto-report feature
Feature Request #9751
7 years ago
Scott Lahteine 3f89bbeab5 Drop a conditional only used once 7 years ago
Scott Lahteine b2cf253a13 Add RESTORE_LEVELING_AFTER_G28 option 7 years ago
Scott Lahteine 65519263f4 Fix broken LEVEL_BED_CORNERS
Fix #8805
7 years ago
Scott Lahteine 2bd252b501
[2.0.x] LIN_ADVANCE v1.5 (#9712) 7 years ago
Scott Lahteine 1d7f5be0ff quick_home_xy sensorless homing 7 years ago
Scott Lahteine d4e4fe40e0 Add SENSORLESS_HOMING delay to quick_home_xy
Fix #9471
7 years ago
Scott Lahteine 3af988a7f3 Add sensorless homing delay to home_z_safely
Based on #9705
7 years ago
Scott Lahteine 8ffa0b24a4 Strip excess G28 debug logging 7 years ago
Kevin 9019ea0fce Option to force X or Y to home first when homing the other axis 7 years ago
Scott Lahteine 241e55ef3b Apply SERIAL_FLUSH macro 7 years ago
Scott Lahteine 6a70a4fbb3
Fix G26 circles (#9627)
Easier to configure. Catch an odd divisor.
7 years ago
Roxy-3D c78e1c0f23
Fix G26 Circles... (#9641)
* Fix G26 Circles...
7 years ago
AnHardt 133b38b93b Complete M48 description (#9631) 7 years ago
Scott Lahteine 8d71ad37cb flush comment to match 1.1.x 7 years ago
Scott Lahteine 377108619b Fix plan_arc clockwise (G2)
Fix #9482
7 years ago
Scott Lahteine e3043d7ac7 Fix #8744 7 years ago
Scott Lahteine da693a636e Fix handling of escapes in serial input 7 years ago
Scott Lahteine c30a8067ab Prevent watchdog reset due to many comments
Addressing #7449
7 years ago
Scott Lahteine b7053156fe Minor comment/condition cleanup 7 years ago
Thomas Moore 1541224a81 Enable Z axis and delta sensorless homing (#9516) 7 years ago
Scott Lahteine 09c8807a36 Minor formatting in queue.cpp 7 years ago
Scott Lahteine ca8fdff1af Comment G26 properly 7 years ago
Scott Lahteine b5e92f4f90
[2.0.x] Enable / disable PSU automatically (#9503) 7 years ago
Scott Lahteine a8c4174a13 M100 comment 7 years ago
GMagician 338dac258b [2.0.x] Fix compiler error when G26 is enabled (#9492) 7 years ago
Scott Lahteine 4ddb6a3a1f
Merge pull request #9470 from thinkyhead/bf2_malyan_clueless
[2.0.x] Malyan M200 LCD
7 years ago
Scott Lahteine 03bfc0d7c8
Merge pull request #9439 from thinkyhead/bf2_fix_G26_circle_bumps
[2.0.x] Change G26 circle angles
7 years ago
Scott Lahteine e5ee0b6f6c Implement MALYAN_LCD 7 years ago
Scott Lahteine 2ea4e74ed3 Misc. comments 7 years ago
GMagician 6ace57e1b0 [2.0.x] remove duplicated include (#9445)
This was present in #9357 but lost
7 years ago
Scott Lahteine e6cdc438fd Change G26 circle angles
To prevent the nozzle from colliding with the printed pattern.
7 years ago
Scott Lahteine a8764ac5d5 G26 parity with 1.1.x 7 years ago
GMagician e1117a8492 [2.0.x] fix compile errors when CNC_COORDINATE_SYSTEMS is enabled (#9380) 7 years ago
Bob-the-Kuhn 21179f8300 Fix the "slow" version of the G-code parser 7 years ago
Scott Lahteine 34160806c0 Fix broken G29 W I J 7 years ago
Scott Lahteine f5cfdf6efe Use _BV32 to avoid name conflict 7 years ago
Scott Lahteine fc5c1a28d8 Fix M118 parameter parsing 7 years ago
Scott Lahteine 399bca316a Fix has_value with FASTER_GCODE_PARSER 7 years ago
Scott Lahteine 80d3ded895 Change parser codebits from array to int32_t 7 years ago
Scott Lahteine 053b1371c7 Simplify G-code debug option 7 years ago
Scott Lahteine 608f8b10da Parser val method parity with 1.1.x 7 years ago
Scott Lahteine 2bea1bda56 Move more strings to PROGMEM 7 years ago
Scott Lahteine 1dcfe193ac Optimize some serial strings 7 years ago
Scott Lahteine 9644fe1839 Lightly optimize arc length calculation 7 years ago
Scott Lahteine c9bda932fe
Patch M114 D logical output 7 years ago
Scott Lahteine e5ca60acf5 Patch G29 no_action for A and Q 7 years ago
Thomas Moore 3db35ba9be [2.0.x] Fix change filament for delta machines (#9295) 7 years ago
Scott Lahteine b1cd012aa6 Clean up and document load/unload/pause/resume 7 years ago
GMagician 9b519864bf [2.0.x] Relative movements fix (#9259) 7 years ago
Roxy-3D bfd9728cf4
Serial buffer over run work around for v2.0.0 (#9236)
* Work around for serial buffer over run

PronterFace sends a lot of M105 commands.  During long operations such
as UBL's G29 P1, G29 P2, G29 P4 and G26 this can over run the serial
buffer.   This results (very often) in a M1 (actually a M1M105) ending
up in the command queue.

Until we figure out a better way to resolve this issue, this will keep
the UBL commands from experiencing bogus commands at thier completion.
7 years ago
Roxy-3D f5f1b069ad
Convert UBL mesh tilting to all use the same algorithm (#9204)
A number of regressions were patched also. The UBL G29 P2 and P4 Press and Hold had stopped working. It is very possible this is broken in the bugfix_v1.1.x branch also.

The main purpose of the Pull Request is to get the 3-Point mesh tilting to use the LSF algorithm just like the grid based mesh tilt. This simplifies the logic and reduces the code size some what. But the real reason to do it is the 3-Point case can be solved exactly. And by feeding these numbers into the LSF algorithm it provides a way to check all that code for 'correctness'.
7 years ago
Scott Lahteine d178d6e921 M503 patch for EEPROM_CHITCHAT off
Fix #9155
7 years ago
Scott Lahteine 2c18faf3e4 General cleanups for HAL 7 years ago
Scott Lahteine 6a043eee55 Various updates for TMC support 7 years ago
Thomas Moore f7efac57b7 Multi-host support 7 years ago
Scott Lahteine a94104dbb5
Merge pull request #9113 from teemuatlut/TMC_followup
[2.0.x]TMC followup
7 years ago
Dave Johnson 554e577676 SERIAL_STATS_* features not supported on USBCON targets (#9127) 7 years ago
teemuatlut 9d923c6c03 Fix TMC gcode commands 7 years ago
Scott Lahteine 60d07f20e7 Make mbl.has_mesh() a method 7 years ago
Scott Lahteine 86818c9a89 Move MBL functions into the class 7 years ago
Unknown bbb8d4c802 Set has_mesh if user issues G9 S3
Prevents user from having to manually run through entire manual leveling process only to enable mesh so they can manually restore their offline mesh backup
7 years ago
Scott Lahteine cf2922f164 Laser/spindle PWM off on M5 7 years ago
Scott Lahteine b91ca168fb Add a struct defining EEPROM storage 7 years ago
Scott Lahteine 51e0f2bee3 Add MarlinSettings::validate() 7 years ago
Scott Lahteine 1c41de16d4 Trailing whitespace clean 7 years ago
Scott Lahteine 1746a7352e
Merge pull request #9042 from thinkyhead/bf2_M701_M702
[2.0.x] Improved Pause/Load/Unload, M701-M702
7 years ago
Roxy-3D a5dfe08a81
Add precision to planner.xy_skew_factor so it doesn't print as 0.00 7 years ago
Scott Lahteine 4fb60e1562 M702.cpp => M701_M702.cpp 7 years ago
Scott Lahteine 7541316bb4 Add M701/M702 Filament Load/Unload, M603 7 years ago
Scott Lahteine 4af3d436b2 M303 pid autotune cleanup, commentary 7 years ago
Scott Lahteine fc67c64b8f
Merge pull request #8989 from tcm0116/2.0.x_ubl
[2.0.x] Fix UBL compilation warnings
7 years ago
Thomas Moore 8afc4f8d9d Fix UBL compilation warnings 7 years ago
Bob-the-Kuhn adb9ecf3cc copy of PR #8990 7 years ago
Scott Lahteine 3dd04736c0
Update M17_M18_M84.cpp 7 years ago
Scott Lahteine 6d94bbf618 Apply some PGM_P pointers 7 years ago
Scott Lahteine 427df8792d Fix Capabilities Report 7 years ago
Scott Lahteine db32c185ae
Merge pull request #8860 from Bob-the-Kuhn/2.0.x-DUE-RRDFGSC
[2.0.x] DUE - update for Reprap Discount Full Graphic Smart Controller
7 years ago
Scott Lahteine 9ecdd1f4c7 Multi extruder support for M600 and LCD 7 years ago
Scott Lahteine 1a827d5b68 Opening brace tweaks 7 years ago
Scott Lahteine 4ef965cc40 Fix compiler warnings 7 years ago
Scott Lahteine 9e8008c49c Fixes for G29, esp. 3POINT 7 years ago
Scott Lahteine 026e301307 lcd_map_control deps on ULTIPANEL 7 years ago
Scott Lahteine f2731c9f93 Allow consecutive uses of G29 7 years ago
Scott Lahteine 4b49ea1e92 General cleanup of config-store, reset_bed_level 7 years ago
Scott Lahteine c6354fa153 Tweak M125 code 7 years ago