Scott Lahteine
0feeef2604
Update copyright in headers
6 years ago
Scott Lahteine
1bd9a63049
Add HAS_EXTRA_ENDSTOPS macro
6 years ago
Scott Lahteine
d4d1b28a06
Fix some include paths
6 years ago
Scott Lahteine
95223cb28e
Remove dead code from stepper.h
These values are always supplied by `Conditionals_post.h`.
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
31c28d0dd2
Drop pgm_read_*_near and let headers choose ( #12301 )
- Drop `pgm_read_*_near` and let headers choose.
- Define `USE_EXECUTE_COMMANDS_IMMEDIATE` as a conditional.
- Add `process_subcommands_now` for SRAM-based commands.
6 years ago
TheLongAndOnly
5536228359
G34 Auto-align multi-stepper Z axis ( #11302 )
6 years ago
AnHardt
f56968ba0b
New Continuous Filament Mixer ( #12098 )
6 years ago
Scott Lahteine
45e738876a
Add stepper MS3 support
Co-Authored-By: TheLongAndOnly <thelongandonly@users.noreply.github.com>
6 years ago
Roxy-3D
0780913848
IDEX Improvements ( #11848 )
6 years ago
Holger Müller
1a6f2b29b8
Add support for Triple-Z steppers/endstops
6 years ago
Scott Lahteine
215eee4fe5
Use 'friend' to access set_directions
6 years ago
Cassiano Leal
ff51e7322d
Fix for Stepper::set_directions() compilation error ( #11838 )
6 years ago
Scott Lahteine
d882717d98
Save some PROGMEM with constexpr ( #11798 )
When possible, make `active_extruder` a `constexpr` to save some PROGMEM.
6 years ago
Scott Lahteine
a4b0148365
Easier to find 'static inline'
6 years ago
Scott Lahteine
aa4cd2e861
Eliminate stepper.* signed/unsigned warnings
6 years ago
Eduardo José Tagle
edb21f349a
Fix stepper/planner block handling, race conditions ( #11098 )
- Allow planner to alter the deceleration phase of the currently executing block.
- Remove BUSY flag, as it is NON ATOMIC to set bits in the Stepper ISR and Planner at the same time.
6 years ago
Eduardo José Tagle
48a15d1c7e
[2.0.x] Fix stepper/planner race condition and Stepper pulse timer ( #11081 )
* Planner: Removal of some race conditions between Stepper ISR and Planner, some of them pointed out by @AnHardt , some of my own findings
* Fixing timing on stepper pulses adding a compensation for the non-null time required to set ports.
6 years ago
Scott Lahteine
7406f04029
Use MAX (not max) in stepper.h
6 years ago
Scott Lahteine
0d79128c8d
Localize stepper-specific defines
7 years ago
Scott Lahteine
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
7 years ago
Scott Lahteine
43bdd0bfe4
Fix indent in stepper.h
7 years ago
etagle
39a7e7720d
Adaptive multiaxis step smoothing
- Stepper bugs fixed
- Support MIXING_EXTRUDER with Linear Advance
- Miscellaneous cleanup
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
6919e87656
Minor cleanup of multi-stepping logic
7 years ago
Scott Lahteine
aaaf09bda2
BEZIER_JERK_CONTROL => S_CURVE_ACCELERATION
7 years ago
Scott Lahteine
3e3789da85
Regression: Endstops Core compatibility ( #10823 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
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
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
883b0c9880
Convert custom maths to inlines ( #10728 )
7 years ago
Scott Lahteine
8f8c6a9bc4
Move get_axis_position_mm to Planner ( #10718 )
7 years ago
Scott Lahteine
306f0f2135
Move Stepper::synchronize to Planner ( #10713 )
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine
d1b619be52
Standardize some hexadecimals
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
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
9515e5aefb
Fix LA_active_extruder (static)
7 years ago
Scott Lahteine
ca0def766e
LIN_ADVANCE single stepper optimization
7 years ago
Scott Lahteine
2bd252b501
[2.0.x] LIN_ADVANCE v1.5 ( #9712 )
7 years ago
Scott Lahteine
c241da32e8
stepper.h parity with 1.1.x
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
Thomas Moore
f7efac57b7
Multi-host support
7 years ago
Scott Lahteine
8df5955da4
Revert "Reset timer count before first block step"
This reverts commit 5cf6a062e3
.
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
4fa65a5c25
TCNT0 => HAL_timer_get_current_count
Fix #8710
7 years ago