52 Commits (5a316664e54b8be68af82799817bcdb85f4d419a)

Author SHA1 Message Date
Marcio Teixeira e1604198ff G425 — Auto-calibrate Backlash and Nozzle Offsets (#13050) 6 years ago
Scott Lahteine d4d1b28a06 Fix some include paths 6 years ago
Scott Lahteine 4fa1c52688 Tweak serial output code 6 years ago
Scott Lahteine e874f9664c Tweaks to endstops code 6 years ago
Scott Lahteine c986239837
A single SERIAL_ECHO macro type (#12557) 6 years ago
Giuliano Zaro 98c2fc4e42 Endstops fix followup (#12423)
Followup to #12413
6 years ago
Giuliano Zaro d631267548 Refine endstops fixes (#12413)
When endstops/probe are enabled `ENDSTOP_NOISE_THRESHOLD` calls to `update` are required to properly re-sync endstops/probe status.
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
Giuliano Zaro fd7fd55662 Solve endstops issues (#12382)
- Partially reverts #11900 and tries to solve #12336
6 years ago
Scott Lahteine 4f72e041f2 Use card.stopSDPrint() for completeness 6 years ago
Scott Lahteine b7ca93ba37 Remove dead comment 6 years ago
Giuliano Zaro aa9202260d Fix endstop when no interrupt (#12158) 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
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers (#11977) 6 years ago
InsanityAutomation 23114aeb81 Fix garbled M119 output. Honor NUM_RUNOUT_SENSORS (#11948) 6 years ago
Giuliano Zaro dc11131656 [2.0.x] fix possible race condition (#11923)
Fix some commits done in #11900
6 years ago
Scott Lahteine d6b9327c11 Followup for Endstop Noise Threshold
Followup to #11912
6 years ago
Scott Lahteine 5490a664f5
Expose: Homing Validation and Endstop Noise Threshold (#11912) 6 years ago
Giuliano Zaro 18e456d38d [2.0.x] fix home endstop bug (DON'T MERGE, needs discussion) (#11900) 6 years ago
Roxy-3D 4163c1a514 Fix end stop and Z-probe reporting logic 6 years ago
Scott Lahteine 09a2bee8aa
Support more filament runout sensors in M119 (#11851) 6 years ago
Holger Müller 1a6f2b29b8 Add support for Triple-Z steppers/endstops 6 years ago
Scott Lahteine 79835590e3
Easier to disable homing validation (#11458) 6 years ago
Scott Lahteine 566d05006d report_state > event_handler
Make the endstop report method track endstop changes on its own.
7 years ago
Scott Lahteine c51e27d11d
Do a hard kill for failed homing moves (#11161) 7 years ago
Scott Lahteine 2421f3a47d Detect endstop hits in any direction 7 years ago
Scott Lahteine 42f9921482 Ignore Z min endstop with separate Z-probe
To allow for the case where a Z endstop (e.g., hall effect) is higher than the probe trigger point, don't check the Z min endstop during probe moves. See #11134
7 years ago
Scott Lahteine 053438a3aa
Poll all endstops, even when stationary (#11123) 7 years ago
Scott Lahteine 99591dc20c
Filter endstops state at all times (#11066) 7 years ago
Scott Lahteine 4c8d6df13c
Extra insurance against endstop false positives (#11013) 7 years ago
Scott Lahteine ad8d3150aa Cleanup for dual endstops homing 7 years ago
Eduardo José Tagle d3c02410a8 [2.0.x] Small assorted collection of fixes and improvements (#10911)
* Misc fixes and improvements

- Get rid of most critical sections on the Serial port drivers for AVR and DUE. Proper usage of FIFOs should allow interrupts to stay enabled without harm to queuing and dequeuing.
  Also, with 8-bit indices (for AVR) and up to 32-bit indices (for ARM), there is no need to protect reads and writes to those indices.
- Simplify the XON/XOFF logic quite a bit. Much cleaner now (both for AVR and ARM)
- Prevent a race condition (edge case) that could happen when estimating the proper value for the stepper timer (by reading it) and writing the calculated value for the time to the next ISR by disabling interrupts in those critical and small sections of the code - The problem could lead to lost steps.
- Fix dual endstops not properly homing bug (maybe).

* Set position immediately when possible
7 years ago
Scott Lahteine 7261f48872 Fix reset of endstops and move state 7 years ago
Scott Lahteine 9644d56b42 Patches for core motion tests 7 years ago
Scott Lahteine 3e3789da85
Regression: Endstops Core compatibility (#10823)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 4b610b333e Tweak G38 formatting 7 years ago
Scott Lahteine 4b2f6e3b2b
[2.0.x] Add endstop noise filter (#10796) 7 years ago
etagle 569df3fc0c Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 years ago
etagle a11eb50a3e Refactor and optimize Stepper/Planner
Better encapsulation and considerably reduce stepper jitter
7 years ago
Scott Lahteine ba4c32eec5 Followup to _AXIS patch 7 years ago
Scott Lahteine a5c6d3c7b8 Prevent null pointer crash in Endstops::update
Thanks to Evgeny Kotsuba!
7 years ago
Scott Lahteine f10c87b442 Update Endstops class for 1.1.x parity 7 years ago
Scott Lahteine 161ff9ff35 Fix UPDATE_ENDSTOP for CorePQ compatibility
Fixes #9939
7 years ago
Scott Lahteine ca55f2927a
Pulldown pin mode support (#9701)
Implemented for LPC1768.
7 years ago
Scott Lahteine c251601916 Simplified SET_BIT, moved to endstops.cpp 7 years ago
Øystein Krog 441517bbe1 Fix DUAL_X_CARRIAGE endstops
\#8170 fixed
7 years ago
Scott Lahteine 617993d0ea Patch for !!TEST (was _BV once?) 7 years ago
Scott Lahteine 723f2a77f6 Implement support for Dual X and Y endstops 7 years ago
Scott Lahteine 64dfb46461 Move z_endstop_adj to Endstops 7 years ago
Scott Lahteine 2e20c53c9d Move endstop debug to Endstops 7 years ago