30 Commits (01e4b0c067c23defa78a7c68bef872f132728875)

Author SHA1 Message Date
Scott Lahteine c80eda073f M119 => report_states 5 years ago
teemuatlut d4974ea719 TMC SPI Endstops and Improved Sensorless Homing (#14044) 5 years ago
Scott Lahteine 1088846cae Cosmetic updates from 14044 6 years ago
Scott Lahteine 93cd66ac11 Tweaky change from (C) to (c) 6 years ago
Scott Lahteine 0feeef2604 Update copyright in headers 6 years ago
Marcio Teixeira e1604198ff G425 — Auto-calibrate Backlash and Nozzle Offsets (#13050) 6 years ago
Scott Lahteine 1bd9a63049 Add HAS_EXTRA_ENDSTOPS macro 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 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 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
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
etagle fb4e0b105b Fix endstops compilation error 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
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 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
Scott Lahteine f10c87b442 Update Endstops class for 1.1.x parity 7 years ago
Scott Lahteine 2057177184 Make enums into implicit char 7 years ago
Scott Lahteine b27bc67271 Set initial endstops state 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
Scott Lahteine 3d8a0ab4b2 Module updates 7 years ago
Scott Lahteine 0c9231fd04 Move 'module' files 7 years ago