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
Scott Lahteine
cf2193c07f
Comment, fix filament width sensor
7 years ago
Scott Lahteine
73e32925e4
References are better for array args
7 years ago
Scott Lahteine
5cf6a062e3
Reset timer count before first block step
7 years ago
Scott Lahteine
82ef6b5242
Add an option to specify "pulse" timer
7 years ago
Scott Lahteine
4fa65a5c25
TCNT0 => HAL_timer_get_current_count
Fix #8710
7 years ago
Scott Lahteine
85c6ffbe0d
Discard all "continued" blocks on interrupted move
7 years ago
Scott Lahteine
9898b96992
No lcd_map_control flag in quick_stop
7 years ago
Scott Lahteine
840289e7cc
Use block cleaning instead of split flag
7 years ago
Scott Lahteine
2fde60da12
Changes for parity with 1.1.x
7 years ago
Scott Lahteine
6040d4080e
Cleanup stepper ISR. Allow cleaning for endstops.
7 years ago
Scott Lahteine
000b3b3117
Comment/cleanup of motion code
7 years ago
Scott Lahteine
1d4571b88d
Dependency adjustments
7 years ago
Scott Lahteine
2246316605
Fix name collision. timer_t => hal_timer_t
7 years ago