etagle
e0ca627033
Planner block HOLD flag
...
Allows the Stepper ISR to wait until a given block is free for use. Allows Planner to plan the first move, which is split into two.
2018-05-20 06:23:58 -05:00
etagle
a11eb50a3e
Refactor and optimize Stepper/Planner
...
Better encapsulation and considerably reduce stepper jitter
2018-05-20 06:23:58 -05:00
etagle
0566badcef
Add memory barrier, optimal interrupt on-off
...
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/ )
2018-05-20 02:39:34 -05:00
Scott Lahteine
7dc03ce721
Simplified fix for babystep pulse width
...
Alternative to the apparently superfluous double delay
2018-05-19 21:00:08 -05:00
Scott Lahteine
65270d6a96
Fix LIN_ADVANCE + SWITCHING_EXTRUDER
...
Followup to #10656
2018-05-19 18:32:00 -05:00
Bob Kuhn
9ad42d6617
add delay between pulse edges ( #10778 )
2018-05-19 17:12:16 -05:00
Scott Lahteine
83d42f33e1
Add HAS_HOTEND_OFFSET_Z conditional
2018-05-19 17:05:15 -05:00
GMagician
3c76bda2d8
Fix switching extruder
...
`DONT_SWITCH` got lost along the way. Replace it with `DO_SWITCH_EXTRUDER` and adjust the code.
2018-05-19 17:05:15 -05:00
Giuliano
e1d9046efc
[2.0.x] Temperature reading fix ( #10774 )
2018-05-19 15:39:36 -05:00
Scott Lahteine
50270b53a0
Clear up some more compile warnings
2018-05-17 18:40:49 -05:00
Jiri Jaburek
43ddb29f9e
Add FAN_MAX_PWM for M106-controlled fans
2018-05-15 21:18:46 -05:00
Scott Lahteine
836b0bbeee
Fix MBL line_to_destination
...
Fix #10708
2018-05-13 16:50:39 -05:00
Scott Lahteine
ba4c32eec5
Followup to _AXIS patch
2018-05-13 10:43:35 -05:00
Scott Lahteine
d9154ebdf6
Followup to math patch
2018-05-13 09:30:27 -05:00
Scott Lahteine
883b0c9880
Convert custom maths to inlines ( #10728 )
2018-05-13 08:10:08 -05:00
Scott Lahteine
08e36e264e
Apply _AXIS macro
2018-05-13 06:51:01 -05:00
Scott Lahteine
99ecdf59af
Smarter MIN, MAX, ABS macros
...
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-13 04:52:56 -05:00
Scott Lahteine
083ec9963e
Tweaks to heater / lcd conditions
2018-05-13 04:52:56 -05:00
Scott Lahteine
8f8c6a9bc4
Move get_axis_position_mm to Planner ( #10718 )
2018-05-12 09:59:11 -05:00
Scott Lahteine
a1062eec5b
Better handling of DELAY_NS and DELAY_US ( #10716 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 08:34:04 -05:00
Scott Lahteine
f5aaa2d6c0
Fix some compiler warnings
2018-05-12 05:28:12 -05:00
Scott Lahteine
3614e6ce0f
Fix Switching Extruder with Linear Advance
2018-05-12 02:26:14 -05:00
Scott Lahteine
625035a9ce
Fix M301 access to lpq_len ( #10714 )
...
Co-Authored-By: Zwaubel
2018-05-12 02:13:40 -05:00
Scott Lahteine
306f0f2135
Move Stepper::synchronize to Planner ( #10713 )
...
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 01:38:02 -05:00
Giuliano
d99f1b2245
[2.0.x] EEPROM code cleanup ( #10710 )
2018-05-11 18:06:04 -05:00
Scott Lahteine
325bbbc8c2
[2.0.x] Enable AD595 and AD8495 in concert ( #10693 )
...
* Allow both AD595 and AD8495 in concert
* General temperature code tweaks
2018-05-11 01:01:51 -05:00
Scott Lahteine
23a876b08d
Update a comment in motion.cpp
2018-05-10 15:03:37 -05:00
Scott Lahteine
439e0cdd0f
Patch up reverse_pass_kernel (and other planner code) ( #10674 )
2018-05-10 01:30:55 -05:00
Scott Lahteine
57c2f8d2f6
Trailing whitespace cleanup
2018-05-10 00:17:10 -05:00
Scott Lahteine
b76344c080
More Trinamic cleanup
2018-05-10 00:12:10 -05:00
Scott Lahteine
722aba77f3
Fix LIN_ADVANCE + SWITCHING_EXTRUDER stepper directions ( #10656 )
2018-05-09 14:36:09 -05:00
Scott Lahteine
a225d2e99e
Fix compilation with UBL and Arc/Bézier
...
Fix #10660
2018-05-09 00:40:37 -05:00
Scott Lahteine
6d9ec1852a
Fix compilation of say_units
...
Fixes #10663
2018-05-09 00:30:29 -05:00
Scott Lahteine
19f189b4e5
Add UBL support for G2/G3 and G5 ( #10648 )
2018-05-08 11:10:45 -05:00
Scott Lahteine
4d4bf7897d
Junction Deviation jerk limiting option
2018-05-08 10:08:54 -05:00
Scott Lahteine
0436e16fb2
Apply shorthand Assembler macros
2018-05-08 10:08:54 -05:00
Scott Lahteine
d1b619be52
Standardize some hexadecimals
2018-05-08 09:19:18 -05:00
Scott Lahteine
55f1f8446b
Show correct current units in M503
2018-05-08 06:29:53 -05:00
Scott Lahteine
1f11b0f612
Fully init planner sync block
2018-05-06 08:16:54 -05:00
Scott Lahteine
bfe223e120
Adjust usage of stepper.synchronize
2018-05-06 01:24:14 -05:00
Scott Lahteine
af1950a63e
Improve sync of stepper positions
2018-05-06 01:24:14 -05:00
Scott Lahteine
0c23792344
Apply int32_t to stepper
2018-05-05 18:21:03 -05:00
Scott Lahteine
81b632c255
Additional temp-oriented improvements
2018-05-02 08:43:22 -05:00
nightdemonx
e911635fb1
Add thermocouple with AD8495 support
2018-05-02 08:43:16 -05:00
Scott Lahteine
d7b699ec34
Fewer includes of vector_3.h
2018-05-01 07:05:18 -05:00
Scott Lahteine
2c1205d8b1
Improve debug of homing move feedrate
2018-04-30 23:49:51 -05:00
Scott Lahteine
c8e4b7c8a6
Fix XY homing move away rate
2018-04-30 23:49:07 -05:00
MagoKimbra
1f92b9a4ed
Fix do_probe_move with fr_mm_s ( #10576 )
2018-04-30 16:28:20 -05:00
Scott Lahteine
4dfc011d86
Fix homing with probe feedrates
2018-04-30 03:35:07 -05:00
Scott Lahteine
59fda986ea
Allow Z_AFTER_PROBING to be 0
2018-04-30 03:25:47 -05:00