Scott Lahteine
334341c632
Hephestos config updates ( #10960 )
7 years ago
Scott Lahteine
55aedf036b
Fix M503 ABL mesh report. (Zero-based IJ indices)
7 years ago
Scott Lahteine
d8b983f624
More concise M503 output for M906, M913, M914 ( #10947 )
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
2deff0d9b9
Fix/Improve junction deviation
- Respect axis max acceleration limits instead of forcing a fixed acceleration value.
- The `junction_unit_vec` ensures proper handling of entry and exit speeds even when the axes involved have different limits.
7 years ago
Scott Lahteine
d259070980
Clean up trailing spaces from vim, etc.
7 years ago
Scott Lahteine
b90f54b0fc
Improve probe logging
7 years ago
Scott Lahteine
4299e5dc8b
Modify E-stepping macros for use in LINEAR_ADVANCE ( #10885 )
7 years ago
Scott Lahteine
8f14ef855d
More concise commentary in planner.cpp
7 years ago
Scott Lahteine
6919e87656
Minor cleanup of multi-stepping logic
7 years ago
Scott Lahteine
853a9056ac
Long thermistor tables need special consideration
7 years ago
Scott Lahteine
a4f9c3373f
Tweak thermistor spacing
7 years ago
Scott Lahteine
1ce97f1f6d
Faster (bisect) search in thermistor tables ( #10883 )
7 years ago
Scott Lahteine
0ca9db7051
Correct HOTENDS for SWITCHING_EXTRUDER
7 years ago
Eduardo José Tagle
7b9f0302d4
Fix Bresenham rounding errors, add link to article ( #10871 )
7 years ago
Scott Lahteine
2566342979
Adjust some commentary
7 years ago
Scott Lahteine
6775a16c97
Fix switching extruder stepping with LA
7 years ago
Scott Lahteine
931ab4ec40
Rename Junction Deviation options
7 years ago
Scott Lahteine
aaaf09bda2
BEZIER_JERK_CONTROL => S_CURVE_ACCELERATION
7 years ago
Scott Lahteine
01d37e00af
Fix up stepper ISR with linear advance timing ( #10853 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
7261f48872
Fix reset of endstops and move state
7 years ago
Scott Lahteine
50fa8e01c1
Minor optimization of axis_did_move bits
7 years ago
Scott Lahteine
f28e366b77
Followup for core endstops
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
d2647c1f19
Fix G1 behaviour after tool unpark
Fix #10777 for 2.0.x
Co-Authored-By: Ante Vukorepa <o.orcinus@gmail.com>
7 years ago
Scott Lahteine
0c3773d724
Cleanup in stepper_indirection.h
7 years ago
Scott Lahteine
4b2f6e3b2b
[2.0.x] Add endstop noise filter ( #10796 )
7 years ago
Scott Lahteine
65a004564c
Stepper::set_position needed for some applications
7 years ago
Scott Lahteine
435ecb6b67
Followup to stepper/planner refactor
7 years ago
Bob Kuhn
d557c84a71
[2.0.x] Error for FAST_PWM_FAN with 32 bit CPU ( #10798 )
7 years ago
etagle
569df3fc0c
Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 years ago
etagle
a4af975873
Fix planner block optimization
- Fixed the planner incorrectly avoiding optimization of the block following the active one.
- Added extra conditions to terminate planner early and avoid redundant computations.
7 years ago
etagle
e0ca627033
Planner block HOLD flag
Allows the Stepper ISR to wait until a given block is free for use. Allows Planner to plan the first move, which is split into two.
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
7dc03ce721
Simplified fix for babystep pulse width
Alternative to the apparently superfluous double delay
7 years ago
Scott Lahteine
65270d6a96
Fix LIN_ADVANCE + SWITCHING_EXTRUDER
Followup to #10656
7 years ago
Bob Kuhn
9ad42d6617
add delay between pulse edges ( #10778 )
7 years ago
Scott Lahteine
83d42f33e1
Add HAS_HOTEND_OFFSET_Z conditional
7 years ago
GMagician
3c76bda2d8
Fix switching extruder
`DONT_SWITCH` got lost along the way. Replace it with `DO_SWITCH_EXTRUDER` and adjust the code.
7 years ago
Giuliano
e1d9046efc
[2.0.x] Temperature reading fix ( #10774 )
7 years ago
Scott Lahteine
50270b53a0
Clear up some more compile warnings
7 years ago
Jiri Jaburek
43ddb29f9e
Add FAN_MAX_PWM for M106-controlled fans
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
d9154ebdf6
Followup to math patch
7 years ago
Scott Lahteine
883b0c9880
Convert custom maths to inlines ( #10728 )
7 years ago