594 Commits (2d2d9da9f2d142f9d5ac35ab39404903860b27ac)

Author SHA1 Message Date
Ludy bd4160dbaf Unused CS_ACTUAL_sb (#13282) 6 years ago
Scott Lahteine 2f1e1dcb42 Gradual step towards EXTRUDERS 0 support 6 years ago
Scott Lahteine f37df28d17 UBL G29 T current position fix
Counterpart to #12845
6 years ago
Scott Lahteine 5d28575d4d Clean up some motion code 6 years ago
Scott Lahteine e15354e387
Simplify serial port redirect (#13234) 6 years ago
Scott Lahteine a43e892fb5 Use 8-bit i2c address on LPC platform
Fix #9799 — hopefully not a unicorn
6 years ago
LinFor ba39186364 TMC_DEBUG optimization and improvements (#13135) 6 years ago
Scott Lahteine 3a1b6fe8c1 Coding standards 6 years ago
InsanityAutomation 52665f54ad Fix bad Purge More logic (#13193) 6 years ago
Scott Lahteine e00aad84af Add M240 parameters D I J R S 6 years ago
Scott Lahteine 7cf9b93f26 Add HAS_FILAMENT_SENSOR ahead of 12962 6 years ago
Scott Lahteine a0dadc8c62 Smaller I2CPositionEncoder strings 6 years ago
InsanityAutomation 7f1b69b0c8 Add HOST_PROMPT_SUPPORT (#13039) 6 years ago
Scott Lahteine 0feeef2604 Update copyright in headers 6 years ago
Giuliano Zaro f7efe6f6c5 [2.0.x] Fix TEMP_STAT_LED startup init (#13120) 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
Scott Lahteine f269766408 Put the MMU2 menu with the others 6 years ago
InsanityAutomation 413e303ad5 More Advanced Pause options (#12984) 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
Roxy-3D ab6908a513
Fix Probe Offset bug... 6 years ago
revilor 69aaf5d096 MMU2 fixes (#13082) 6 years ago
Scott Lahteine d4d1b28a06 Fix some include paths 6 years ago
Scott Lahteine 0d720a6ff4 Tweak to emergency_parser.h 6 years ago
Scott Lahteine afe79ba22b Minor code cleanup 6 years ago
Scott Lahteine 38c2ca9281 Clean up trailing whitespace 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
raTmole ddeca7a358 Fix resume from power loss G-Code. (#13035) 6 years ago
Giuliano Zaro a79d80c78e Minor cleanup of pause code (#13030) 6 years ago
Scott Lahteine 3845baf398 Followup to #12982 6 years ago
InsanityAutomation 48a3502656 Remote streamer improvements (#12982) 6 years ago
Scott Lahteine 621fbe99de Followup to #12817 6 years ago
Marcio Teixeira f214118e45 Action to notify host of filament runout. (#12817) 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
teemuatlut e5801b75f8 Fix TMC-related compile issues. (#12971)
- `STEALTHOP_[XYZE]` configuration options now set the default state.
6 years ago
Marcio Teixeira f4c16e683b Follow up fixes to #12884 (#12940) 6 years ago
Giuliano Zaro 7bb5d4bfe8 Small LED code reorganization (#12929) 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
InsanityAutomation a403d9a50c Improve menu pause / resume (#12876) 6 years ago
teemuatlut 7a5e637a37 Add spreadCycle parameter sets (#12645) 6 years ago
teemuatlut 55144284c2 TMC connection test, spreadCycle parameters, improved debugging (#12616) 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 261c6f4b96 Fix pause/resume SD print
Followup to #12551, addressing #12566
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 95d154a91f Fans loop macro 6 years ago
Scott Lahteine 929a513a6b
Add poll_runout_states, which returns 1 for runouts (#12547) 6 years ago
Scott Lahteine cd88ea2106 Fix runout debug output
Followup to #12544
6 years ago
Scott Lahteine cecc238f68 Save recovery info on SD pause 6 years ago
Marcio Teixeira 439a3e8463 Improve runout sensor, fix LIGHTWEIGHT_UI screen size (#12544) 6 years ago
Ludy 730f223100 Correct FANMUX2_PIN (#12538) 6 years ago
Scott Lahteine 1fcc13b011 Allow Serial Overrun Protection to be disabled 6 years ago
Scott Lahteine 29c53f2402 Hide some compile warnings 6 years ago
Scott Lahteine 643e0066a0 Followup to #12451 6 years ago
Scott Lahteine a4c15dc54f
Modify MBL to use IJ instead of XY (#12478) 6 years ago
Roman Moravčík 5fbe5cabc8 Fixed displaying of kill MSG_OUTAGE_RECOVERY string. (#12470) 6 years ago
Ludy c0b75f49b6 Fix "no effect" and "unused variable" compile warnings (#12473) 6 years ago
Marcio Teixeira c1e17037e5 Various fixes for MarlinUI and ExtUI (#12439) 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
Marcio Teixeira 5e586a6b39 Fix to runout sensor code. (#12431)
- "old_state" is no longer a class static variable.
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
Scott Lahteine df907a905f Update UBL comments for debug change 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 c239131ff5 Use 'serial_spaces' in 'print_2d_array' 6 years ago
Scott Lahteine 56150ec030 Add reference comments to MeshLevelingState 6 years ago
Scott Lahteine 488a17b3f5 Use IS_SD_PRINTING() more 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 b779b42ffd Prevent current step-down going negative
Addressing #11348
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 f5b31e218d Followup to #12082 6 years ago
Scott Lahteine fce150f094 inline static => static inline 6 years ago
Giuliano Zaro 323c088356 Restore LED light color after pid tuning (#12082) 6 years ago
Scott Lahteine f319087372 Followup to #12293 6 years ago
AnHardt 74bbb13008 Fix Mixer calculations for 32-bit processors (#12293) 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 9cd5471202 Move Job Recovery Menu to its own file 6 years ago
Scott Lahteine 2bf18950ab Refactor LCD menus 6 years ago
Roman Moravčík e48cbff10d Fixed redefinition warnings of MSG_HOTEND_TOO_COLD. (#12203) 6 years ago
Scott Lahteine b641571098 Replace types.h with millis_t.h 6 years ago
Scott Lahteine eeef4e630a Fix compile error in leds.h 6 years ago
InsanityAutomation 55ac2f4c23 Fix filament runout for idex duplication modes (#12168) 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
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
Marcio Teixeira 056561df93 [2.0.x] Enhancements to FILAMENT_RUNOUT_SENSOR (#12069)
- Added FILAMENT_RUNOUT_DISTANCE_MM option
- Added FILAMENT_MOTION_SENSOR option
6 years ago
Scott Lahteine 9bf5d4331c Clear up some compiler warnings 6 years ago
AnHardt f56968ba0b New Continuous Filament Mixer (#12098) 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
InsanityAutomation d332fcb8fa Fix firmware-retract compile errors (#12061) 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
Marcio Teixeira 906a24fa81 Extensible user interface API (#11193) 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
teemuatlut dffb4c63dc [2.0.x] TMC2660 followup (#12029)
* Don't react to s2g on TMC2660. False positives
* Init with sensorless probing as well
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 cf0b9eb37c no need to use destination in do_pause_e_move 6 years ago
Scott Lahteine 8daadd2c8c
Fix TMC_DEBUG undefined report_tmc_status (#11993) 6 years ago
teemuatlut c3229e1b34 Migrate to a new TMC library (#11943) 6 years ago
Scott Lahteine ee53f7d813 Revert header reorg. 6 years ago
Scott Lahteine 0dedb3e139
Reorganize some core headers (#11983) 6 years ago
Thomas Moore ab4549d2bc [2.0.x] Add simultaneous retraction for mixing extruder (#11941) 6 years ago
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers (#11977) 6 years ago
InsanityAutomation 4d5566a6b7 Add filament runout sensor menu item (#11971) 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
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