71773b128d
Fix stepper use before init. Add Ultimaker2+ Extended clone config ( #13284 )
2019-03-02 17:29:02 -06:00
0feeef2604
Update copyright in headers
2019-02-12 15:30:11 -06:00
1bd9a63049
Add HAS_EXTRA_ENDSTOPS macro
2019-02-06 05:10:05 -06:00
d4d1b28a06
Fix some include paths
2019-02-04 03:57:15 -06:00
95223cb28e
Remove dead code from stepper.h
...
These values are always supplied by `Conditionals_post.h`.
2019-02-02 15:35:05 -06:00
f5eab912ed
Apply #pragma once, misc cleanup ( #12322 )
...
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
2018-11-04 02:25:55 -06:00
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.
2018-11-02 00:42:16 -05:00
5536228359
G34 Auto-align multi-stepper Z axis ( #11302 )
2018-10-29 14:01:36 -05:00
f56968ba0b
New Continuous Filament Mixer ( #12098 )
2018-10-16 03:38:57 -05:00
45e738876a
Add stepper MS3 support
...
Co-Authored-By: TheLongAndOnly <thelongandonly@users.noreply.github.com >
2018-10-11 01:10:11 -05:00
0780913848
IDEX Improvements ( #11848 )
2018-09-17 01:06:22 -05:00
1a6f2b29b8
Add support for Triple-Z steppers/endstops
2018-09-16 00:35:58 -05:00
215eee4fe5
Use 'friend' to access set_directions
2018-09-15 20:11:10 -05:00
ff51e7322d
Fix for Stepper::set_directions() compilation error ( #11838 )
2018-09-15 19:31:51 -05:00
d882717d98
Save some PROGMEM with constexpr ( #11798 )
...
When possible, make `active_extruder` a `constexpr` to save some PROGMEM.
2018-09-10 23:09:26 -05:00
a4b0148365
Easier to find 'static inline'
2018-08-13 23:55:33 -05:00
aa4cd2e861
Eliminate stepper.* signed/unsigned warnings
2018-06-27 23:10:51 -05:00
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.
2018-06-27 18:11:16 -05:00
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.
2018-06-22 09:15:37 -05:00
7406f04029
Use MAX (not max) in stepper.h
2018-06-19 20:51:07 -05:00
0d79128c8d
Localize stepper-specific defines
2018-06-12 21:16:54 -05:00
4dbec774b5
HAL_*_TIMER_RATE => *_TIMER_RATE
2018-06-12 16:39:12 -05:00
43bdd0bfe4
Fix indent in stepper.h
2018-06-11 19:17:46 -05:00
39a7e7720d
Adaptive multiaxis step smoothing
...
- Stepper bugs fixed
- Support MIXING_EXTRUDER with Linear Advance
- Miscellaneous cleanup
2018-06-10 16:02:47 -05:00
ad8d3150aa
Cleanup for dual endstops homing
2018-06-03 00:34:29 -05:00
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
2018-06-01 19:02:22 -05:00
6919e87656
Minor cleanup of multi-stepping logic
2018-05-28 17:44:33 -05:00
aaaf09bda2
BEZIER_JERK_CONTROL => S_CURVE_ACCELERATION
2018-05-26 18:33:51 -05:00
3e3789da85
Regression: Endstops Core compatibility ( #10823 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com >
2018-05-23 03:45:25 -05:00
65a004564c
Stepper::set_position needed for some applications
2018-05-21 15:21:33 -05:00
435ecb6b67
Followup to stepper/planner refactor
2018-05-20 23:13:38 -05:00
569df3fc0c
Fix interrupt-based endstop detection
...
- Also implemented real endstop reading on interrupt.
2018-05-20 07:10:24 -05:00
a11eb50a3e
Refactor and optimize Stepper/Planner
...
Better encapsulation and considerably reduce stepper jitter
2018-05-20 06:23:58 -05:00
883b0c9880
Convert custom maths to inlines ( #10728 )
2018-05-13 08:10:08 -05:00
8f8c6a9bc4
Move get_axis_position_mm to Planner ( #10718 )
2018-05-12 09:59:11 -05:00
306f0f2135
Move Stepper::synchronize to Planner ( #10713 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com >
2018-05-12 01:38:02 -05:00
d1b619be52
Standardize some hexadecimals
2018-05-08 09:19:18 -05:00
af1950a63e
Improve sync of stepper positions
2018-05-06 01:24:14 -05:00
0c23792344
Apply int32_t to stepper
2018-05-05 18:21:03 -05:00
57a899a412
[2.0.x] 6th-order jerk-controlled motion planning in real-time for AVR ( #10373 )
2018-04-11 18:13:42 -05:00
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!)
2018-04-07 21:03:28 -05:00
9515e5aefb
Fix LA_active_extruder (static)
2018-03-07 05:49:20 -06:00
ca0def766e
LIN_ADVANCE single stepper optimization
2018-03-06 19:26:54 -06:00
2bd252b501
[2.0.x] LIN_ADVANCE v1.5 ( #9712 )
2018-02-23 00:53:29 -06:00
c241da32e8
stepper.h parity with 1.1.x
2018-02-18 22:50:38 -06:00
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.
2018-02-10 20:42:00 -06:00
f7efac57b7
Multi-host support
2018-01-10 00:14:47 -06:00
8df5955da4
Revert "Reset timer count before first block step"
...
This reverts commit 5cf6a062e3
.
2017-12-17 02:37:35 -06:00
73e32925e4
References are better for array args
2017-12-11 00:27:06 -06:00
5cf6a062e3
Reset timer count before first block step
2017-12-10 18:38:53 -06:00