419 Commits (0a7ea7063f82bc914e5cbfb55f0db400d0c3c936)

Author SHA1 Message Date
Scott Lahteine e4389f7d23
Standard methods to wait for heating (#11949) 6 years ago
Scott Lahteine 1667ed9d1c Pause should use ECHOLNPGM 6 years ago
Victor Tseng 93839e2f73 Add option to enable/disable autoretract altogether (#11904) 6 years ago
Roxy-3D d3d6be8210 Add MAX7219 reverse units option (#11860) 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
AnHardt 54bd124665 2.0.x: Fix normalize_mix() (#11856)
Mix factors needed to be updated consistent with the recent Stepper/Planner code refactor.
6 years ago
Scott Lahteine 65045ba54b tmc_util fix part 2
Followup to 115abf9
6 years ago
Scott Lahteine 115abf9c53 Fix syntax error in front of `tmc_axes` 6 years ago
Roxy-3D 0780913848 IDEX Improvements (#11848) 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
Scott Lahteine d882717d98
Save some PROGMEM with constexpr (#11798)
When possible, make `active_extruder` a `constexpr` to save some PROGMEM.
6 years ago
Sam Lane 1b6bc19427 Add external closed loop controller support 6 years ago
Karl Andersson 69d0ed5791 [2.0.x] Fix ambiguous function call (SERIAL_PROTOCOL_F) when using Arduino_Core_STM32 (#11747) 6 years ago
Scott Lahteine 0c01099f17 hop_amount => current_hop 6 years ago
Scott Lahteine 2a61c9a939 Various fixups to configs, spacing, etc. 6 years ago
Roxy-3D 8d5bea073b
Assume one Max7219 unit if not specified 6 years ago
Scott Lahteine 32e38fee74 Update Controller Fan for Y2,Z2 6 years ago
Jeonghwan Roh 59cf217e77 Fix 5 mixing steppers 6 years ago
Scott Lahteine 0987ed2a18 Use American English 6 years ago
Scott Lahteine ad12b9b46b Fix indentation, whitespace, spelling, formbot pins... 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
InsanityAutomation c2553f9888 2.0.x - Idex match119 (#11556)
* Update ubl_G29.cpp

* Update ultralcd.cpp
6 years ago
Roxy-3D e9de321ac0
declare void Max7219_register_setup(); 6 years ago
Nils Hasenbanck b37bfeffeb [2.0.x] Use the new const functions of the persistentStore api (#11544) 6 years ago
Dave Johnson c64199941e Compile only selected PIO environment (#11519) 6 years ago
Scott Lahteine a4b0148365 Easier to find 'static inline' 6 years ago
Nils Hasenbanck 577aeb4aa9 All EEPROM access uses persistentStore 6 years ago
Chris Pepper 66d2b48b59 Update PersistentStore api (#11538)
- Clean up the API to use a `static` class instance to adhere to Marlin convention
- Add `const` position data access for read/write
- Add Storage capacity to the interface
6 years ago
Scott Lahteine 1b921b246b Fix pca9632_set_led_color
…when used with an I2C screen.

Co-Authored-By: soimy <soimy@163.com>
6 years ago
Scott Lahteine e4ecade8d4 Fix AUTO_POWER_CONTROL compile error
Counterpart to #11467

Co-Authored-By: lsellens <lsellens@users.noreply.github.com>
6 years ago
Giuliano eee1b7c50c [2.0.x] Fix compile error (#11465)
Address #11463
6 years ago
Scott Lahteine e05e95cf97 Clean trailing whitespace 7 years ago
teemuatlut fbcdf5eaeb Simplify stepper driver per-axis selection 7 years ago
Roxy-3D 62fa028155
Handle dual gantry machines better 7 years ago
Roxy-3D 09485f63e9
add missing ')' 7 years ago
Roxy-3D a35abce1ac
Fix missing ')' 7 years ago
Scott Lahteine 76d4cfb064 Tweak some Max7219 code 7 years ago
Scott Lahteine 4195757585
Merge pull request #11309 from thinkyhead/bf2_manual_probe_start_z
[2.0.x] Manual Z Start Height
7 years ago
Roxy-3D db85ca93c4
Change Max7219_idle_task() to use a column instead of row if Y-Axis as 16 LED's 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
Scott Lahteine 2106fa26b1 Add MANUAL_PROBE_START_Z for manual probing 7 years ago
Scott Lahteine 17ed0f815c Fix tool_change call in UBL G29
Fix #11279, #11252
7 years ago
Scott Lahteine 665ac1e4d0 Add POWER_LOSS_PIN support 7 years ago
Giuliano 8f686aa449 [2.0.x] Fix change filament crash (#11269)
Prevent crash, on filament change, when printer is not homed
7 years ago
Scott Lahteine 63f4c9bdb9 Followup to float maths patch 7 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Scott Lahteine 1a0f4dedad
Fix and improve POWER_LOSS_RECOVERY (#11187) 7 years ago
Scott Lahteine 4b2af6ab48 Minor patches to POWER_LOSS_RECOVERY 7 years ago
Scott Lahteine fbf1c9b496
Fix and tweak POWER_LOSS_RECOVERY (#11151) 7 years ago
Scott Lahteine 229b26b02c Clear LED matrix without startup test 7 years ago
Roxy-3D 1d7dd0edfd
Add the move_z_after_probing() functionality to UBL's G29 J 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 d4795e5b8e
[2.0.x] Tweaks and additions for MAX7219 (#11034) 7 years ago
Scott Lahteine f3fed52348 Fix coolstep_min_speed / sensorless homing
Fix #8890
7 years ago
Scott Lahteine 2ba198a624 Tweak M122 report spacing 7 years ago
Scott Lahteine 21d812d502 Fix the Z un-hop on G11
Co-Authored-By: zarthcode <anthony.clay@zarthcode.com>
7 years ago
Scott Lahteine 6919e87656 Minor cleanup of multi-stepping logic 7 years ago
Eduardo José Tagle 6f330f397e [2.0.x] Buffer overflow and scroll fix, UTF8 cleanup (#10844) 7 years ago
etagle a11eb50a3e Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago
etagle 0566badcef Add memory barrier, optimal interrupt on-off
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/)
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 836b0bbeee Fix MBL line_to_destination
Fix #10708
7 years ago
Scott Lahteine ba4c32eec5 Followup to _AXIS patch 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 a1062eec5b
Better handling of DELAY_NS and DELAY_US (#10716)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 306f0f2135
Move Stepper::synchronize to Planner (#10713)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine b76344c080 More Trinamic cleanup 7 years ago
Scott Lahteine 62e7a9c671 Fix up fwretract handling 7 years ago
Scott Lahteine bfe223e120 Adjust usage of stepper.synchronize 7 years ago
Roxy-3D c2c02bdc67
Change Max7219 coordinates to traditional (X,Y) 7 years ago
Scott Lahteine b337698f96 Additional patch for no heated bed 7 years ago
Scott Lahteine d7b699ec34 Fewer includes of vector_3.h 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 8db7fb226a Fix M420 C for UBL 7 years ago
Scott Lahteine f83361a814 Apply const to tmc_sensorless_homing 7 years ago
Scott Lahteine 212e52e485 Basic delay for Max7219 on ARM 7 years ago
Karl Andersson 58ca3be1ec delayMicroseconds() cannot be called in critical section (#10535)
on the STM32 platform
7 years ago
Scott Lahteine 2578996631
[2.0.x] Emergency parser for multiple serial ports (#10524) 7 years ago
Scott Lahteine 8cc31d1b2e Cleanup to emergency parser
Followup to #10516
7 years ago
Chris Pepper 2242b98248 [LPC176x] Emergency Parser Feature (#10516) 7 years ago
Scott Lahteine eef0248a1c
Add M420 C to adjust the whole mesh (#10522) 7 years ago
Scott Lahteine c82dd5129f Revert potentially-not-redundant UBL test
Response to #10435
7 years ago
Scott Lahteine cb46cb8480
Add HAS_HEATED_BED conditional (#10495) 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
Roxy-3D 23635c2b64
Update ubl_motion.cpp
Restore necessary and needed loop termination logic.
7 years ago
Scott Lahteine ad6baa5c9d Fix for UBL set_bed_leveling_enabled 7 years ago
Scott Lahteine f57a008c58
Merge pull request #10443 from thinkyhead/bf2_fix_and_improve
[2.0.x] Improve UBL mesh report, M420 V T, M421 N, and…
7 years ago
Scott Lahteine 89b1580587 Fix compile error in tmc_status 7 years ago
Scott Lahteine 01b01f6dfd Tweak fwretract.retract debug, comments 7 years ago
Scott Lahteine e05c825a05 Update position for UBL non-segmented activate/deactivate 7 years ago
Scott Lahteine 0746aff595 Improve UBL mesh report. Add M420 T, M421 N 7 years ago
Scott Lahteine 3c826e5d05 Prevent delay when power is already on
Fix #10410
7 years ago
Scott Lahteine 0945674ba2
Use H0 by default with UBL_MESH_EDIT_MOVES_Z (#10428) 7 years ago
Roxy-3D 21f13f9e57
Stow Probe at end of G29 J3 7 years ago
Scott Lahteine 3bc179a16f Compress/update comments ubl_motion
…to fit more code on the screen and correct outdated commentary contrasting ABL.
7 years ago
Luc Van Daele 646aa20b43 Overhaul of G33 Delta Calibration (#8822) 7 years ago
Sean 2d9b0a66fe Add Filament Change accelerations 7 years ago
Roxy-3D 26cc12eaa4 Resolve corruption of Max7219 Debug LED Matrix 7 years ago
Sean 2fa0a73c2c Implement filament change continuous purge 7 years ago
Scott Lahteine 241996d5d6
Merge pull request #10257 from thinkyhead/bf2_tool_change_debug 7 years ago
Scott Lahteine 9ec2c03c5b Fix likely error in retract/recover
Addressing #10200
7 years ago
Scott Lahteine 1a75165f35 For set_z_fade_height use set_bed_leveling_enabled 7 years ago
Scott Lahteine 53f0c7522a Symmetrical FWRETRACT Z Hop
Do the Z lift normally before setting Z back to its prior value. But do the Z lower using spoofing. This should produce proper symmetrical movement.
7 years ago
Scott Lahteine ea1a83ce41 Use pgm_read_ptr for tables of pointers 7 years ago
teemuatlut daf643e1ce [2.0.x] TMC: Match axis label order (#10188) 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
Roxy-3D c3c264978f
correct truncated comment 7 years ago
Scott Lahteine 9fd1016bb1 Trust the bootloader to clear globals 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 8dfaf1539e
Merge pull request #10102 from thinkyhead/bf2_eeprom_M913
[2.0.x] More complete Trinamic driver options
7 years ago
teemuatlut b5b39af531 [2.0.x] TMC: Fix CURRENT_STEP_DOWN (#10170) 7 years ago
Scott Lahteine cfc13ed7f3 Quiet M906/M913/M914 with axes. Patch for DISTINCT_E_FACTORS. 7 years ago
Scott Lahteine c95450016b Improve Trinamic support in the EEPROM 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 1d22609473 MIN_PROBE_EDGE replaces DELTA_PROBEABLE_RADIUS 7 years ago
Scott Lahteine 978f342392 Reduce some tmc_util strings 7 years ago
Scott Lahteine c0d694d5d3 Squash UBL postscript comment 7 years ago
Scott Lahteine 1e946d681d Update Marlin for newest TMC libraries
- TMC2130Stepper v2.2.0
- TMC2208Stepper v0.0.4
7 years ago
teemuatlut e6dcfa64b0 Cast SERIAL_CHAR to void in M122 (#10086) 7 years ago
Studiodyne e7a61de8af [2.0] FWRetract Reset (Best way) (#10083) 7 years ago
Scott Lahteine 34f656decd Add TMC2208 include in tmc_util.h 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 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 d0ac0151b6 Fix typo in ubl.prepare_segmented_line_to 7 years ago
Scott Lahteine 239902f861 Fix E2END and add EEPROM to Smart RAMPS
Reference #9983
7 years ago
Roxy-3D 26dc594ebb prevent steppers from turning off during manual probes 7 years ago
Scott Lahteine cc59ac4603 Fix _tmc_say_axis string address
Fixes #10003
7 years ago
Scott Lahteine 3c2bfa5e53
Update powersupply_on in power_on/off (#10015)
Fix #10004
7 years ago
Scott Lahteine ca577c1638 Fix up various spacing, comments, and typos 7 years ago
Scott Lahteine 9515e5aefb Fix LA_active_extruder (static) 7 years ago
Scott Lahteine 1d604be671 Suspend auto-report during UBL map output 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 b08ec22fe1
Show E0-E4 in monitor_tmc_driver output (#9969)
Fix #9966
7 years ago
Scott Lahteine eb867817b5
Prevent filament runout false positives (#9946) 7 years ago
Scott Lahteine beeed580b8
Implement digipots for MKS SBASE (#9927)
Fix #9477
7 years ago