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
Scott Lahteine
de3d3b9cb1
Put FORCE_INLINE before static
7 years ago
Scott Lahteine
9898b96992
No lcd_map_control flag in quick_stop
7 years ago
Scott Lahteine
6040d4080e
Cleanup stepper ISR. Allow cleaning for endstops.
7 years ago
Scott Lahteine
2246316605
Fix name collision. timer_t => hal_timer_t
7 years ago
Scott Lahteine
723f2a77f6
Implement support for Dual X and Y endstops
7 years ago
Thomas Moore
9e699811d2
Make LPC1768 pinmapping not specific to Re-ARM ( #8063 )
...
* Merging early because of build failures. See #8105
* Make LPC1768 pinmapping not specific to Re-ARM
* Add HAL_PIN_TYPE and LPC1768 pin features
* M43 Updates
* Move pin map into pinsDebug_LPC1768.h
* Incorporate comments and M226
* Fix persistent store compilation issues
* Update pin features
* Update MKS SBASE pins
* Use native LPC1768 pin numbers in M42, M43, and M226
7 years ago
Bob-the-Kuhn
26bfae58d4
MPC4451 I2C support
7 years ago
Scott Lahteine
03f4891fb9
Remove legacy ADVANCE feature
7 years ago
Scott Lahteine
8315a8a716
Apply fixes for DUE
...
Alternative to #7882 . If F_CPU is greater than 1000 it can be evenly divided by 8. Over 10000, 16; over 100000, 32; over 1 million, 64; etc.
7 years ago
Scott Lahteine
dff2904c0f
Marlin code whitespace cleanup
7 years ago
Dave Johnson
f58ba3a64e
Improve AVR arch detection
...
Replace ARDUINO_ARCH_AVR with __AVR__ to better detect architecture for non-Arduino dev environments. Resolves compile failure in PIO for 8-bit Teensduino targets
More info:
https://forum.pjrc.com/threads/33234-Using-Teensyduino-Selecting-Teensy-3-2-3-1-board-has-incorrect-platform-define
http://www.atmel.com/webdoc/avrlibcreferencemanual/using_tools_1using_avr_gcc_mach_opt.html
7 years ago
Scott Lahteine
3d8a0ab4b2
Module updates
7 years ago
Scott Lahteine
0c9231fd04
Move 'module' files
7 years ago