Scott Lahteine
435ecb6b67
Followup to stepper/planner refactor
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
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
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
Scott Lahteine
08e36e264e
Apply _AXIS macro
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
3614e6ce0f
Fix Switching Extruder with Linear Advance
7 years ago
Scott Lahteine
306f0f2135
Move Stepper::synchronize to Planner ( #10713 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
722aba77f3
Fix LIN_ADVANCE + SWITCHING_EXTRUDER stepper directions ( #10656 )
7 years ago
Scott Lahteine
0436e16fb2
Apply shorthand Assembler macros
7 years ago
Scott Lahteine
af1950a63e
Improve sync of stepper positions
7 years ago
Scott Lahteine
0c23792344
Apply int32_t to stepper
7 years ago
Eduardo José Tagle
0c428a66d9
Proper AVR preemptive interrupt handling ( #10496 )
Also simplify logic on all ARM-based interrupts. Now, it is REQUIRED to properly configure interrupt priority. USART should have highest priority, followed by Stepper, and then all others.
7 years ago
Scott Lahteine
36b97bde9f
clear_block_buffer, kill_current_block in quick_stop
7 years ago
Eduardo José Tagle
57a899a412
[2.0.x] 6th-order jerk-controlled motion planning in real-time for AVR ( #10373 )
7 years ago
etagle
a29adde5c0
Implement BEZIER_JERK_CONTROL
Enable 6th-order jerk-controlled motion planning in real-time.
Only for 32bit MCUs. (AVR simply does not have enough processing power for this!)
7 years ago
Scott Lahteine
7d8a46519f
Output ABC for delta stepper counts
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
Scott Lahteine
48d7036874
Consolidate smart stepper driver initialization
7 years ago
Scott Lahteine
eaefc1e410
Add CorePQ support for BABYSTEPPING ( #10155 )
7 years ago
Scott Lahteine
51bf3c9503
Fix E direction for MK2_MULTIPLEXER with LIN_ADVANCE
7 years ago
Scott Lahteine
e7570f3195
Improve TMC config organization, naming
7 years ago
Scott Lahteine
751785fc97
Followup to recent patches
- `M666` is static, not inline
- Disambiguate some stepper macros
7 years ago
Scott Lahteine
16a8edc5f0
Add more delay before pulse off in Linear Advance ISR
A capital idea from https://github.com/MarlinFirmware/Marlin/pull/9914#issuecomment-371614153
7 years ago
Scott Lahteine
98d48fc731
Followup to HAL_timer_restrain
Followup to #9985
7 years ago
Chris Pepper
a1a88ebabc
HAL function to ensure min stepper interrupt interval ( #9985 )
7 years ago
Scott Lahteine
e5ec793f7e
Wrap stepper indirection macros
7 years ago
Sebastianv650
5b85464791
Fix for LA ( #9964 )
Missed in the original LA 1.5 PR: eISR has to use a local copy of
current_block->use_advance_lead because it might still run wenn the last
block has been set to NULL.
7 years ago
Scott Lahteine
ca0def766e
LIN_ADVANCE single stepper optimization
7 years ago
Scott Lahteine
8291ae34f2
Support duplication mode in LIN_ADVANCE
7 years ago
Scott Lahteine
0dd1c4458d
Put more code between pulse start and stop ( #9959 )
7 years ago
Scott Lahteine
07ae23fe14
No pulse delay on last e_steps in advance isr
7 years ago
Scott Lahteine
ed758de80d
tweak comment in stepper.cpp
7 years ago
Scott Lahteine
6d7f4f84e2
Add board MKS_BASE_HEROIC ( #9926 )
Followup to #9008
- Don't define micro-stepping pins for boards that lack them.
- Allow setting of 128 microsteps with `M350`.
7 years ago
Sebastianv650
cb4cb86d80
Useless line removed ( #9814 )
nextAdvanceISR is set in the next if structure in every possible
situation, so it's useless to set it once more before.
7 years ago
UtterlyD
813f9f3082
[bugfix_2.0.x] - LIN_ADVANCE V1.5 stepper.cpp ( #9797 )
Removal of obsolete (i) from port of LIN_ADVANCE from V1.1.x to V2..0.x.
7 years ago
Scott Lahteine
2bd252b501
[2.0.x] LIN_ADVANCE v1.5 ( #9712 )
7 years ago
Scott Lahteine
3d1692d1fd
Fix X2 enable with X_DUAL_STEPPER_DRIVERS
From #9286
7 years ago
Scott Lahteine
03d790451f
[2.0.x] HAL timer set/get count => set/get compare ( #9581 )
To reduce confusion over the current timer count vs. the compare (aka "top") value. Caution: this re-uses the function name, changing its meaning.
7 years ago
Scott Lahteine
d168ee9bed
Drop leveling include from steppers.cpp
7 years ago
Scott Lahteine
887664aa61
Restore broken Dual X Carriage
7 years ago
Scott Lahteine
50366b00d5
Tweak cleaning buffer / SD finished command
7 years ago
Scott Lahteine
8df5955da4
Revert "Reset timer count before first block step"
This reverts commit 5cf6a062e3
.
7 years ago
teemuatlut
0cd1e91056
[2.0.x] TMC driver update ( #8769 )
7 years ago